//
|
// 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)
|
}
|
|
}
|