杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
//  PlanGuide_1_VC.swift
//  XQMuse
//
//  Created by 无故事王国 on 2024/8/29.
//
 
import UIKit
import JQTools
 
class PlanGuide_1_VC: BaseVC {
                @IBOutlet weak var label_title: UILabel!
                @IBOutlet weak var label_subTitle: UILabel!
                @IBOutlet weak var label_info: UILabel!
                @IBOutlet weak var btn_answer: UIButton!
                
    override func viewDidLoad() {
        super.viewDidLoad()
 
    }
 
                override func viewWillAppear(_ animated: Bool) {
                                super.viewWillAppear(animated)
                                let btn = navigationItem.leftBarButtonItem?.customView as! UIButton
                                btn.isHidden = true
                }
 
                override func setUI() {
                                label_title.font = Def_FlyFlowerSong(fontSize: 35)
                                label_title.textColor = UIColor(hexString: "#35662D")
 
                                label_subTitle.attributedText = AttributedStringbuilder.build().add(string: "请您遵从本心\n回答以下问题\n挑选您喜欢的空间环境\n为您定制专属您的\n泉疗愈空间", withFont: Def_SourceHanSerif_Regular(fontSize: 19), withColor: UIColor(hexString: "#404040")!, lineSpace: 23).mutableAttributedString
                                label_subTitle.textAlignment = .center
 
                                label_info.attributedText = AttributedStringbuilder.build().add(string: "懂您才可以更好的帮助您", withFont: Def_SourceHanSerif_Regular(fontSize: 18), withColor: UIColor(hexString: "#404040")!, lineSpace: 23).underLine(color: UIColor(hexString: "#404040")!).mutableAttributedString
                                label_info.textAlignment = .center
 
                                btn_answer.titleLabel?.font = Def_SourceHanSerif_Semibold(fontSize: 18)
 
                }
 
                @IBAction func backAction(_ sender: UIButton) {
                                NotificationCenter.default.post(name: PlantGuideQuit_Noti, object: nil)
                }
 
                @IBAction func answerAction(_ sender: UIButton) {
                                let vc = PlanGuide_2_VC()
                                jq_push(vc: vc)
                }
                
}