杨锴
2024-11-05 0fb7413df54760ac6bd15b90b738e0706de1629e
XQMuse/Root/Plans/PlanGuide_2_VC.swift
@@ -8,6 +8,8 @@
import UIKit
import JQTools
let AnswerAgain_Noti = Notification.Name.init("AnswerAgain_Noti")
class PlanGuide_2_VC: BaseVC {
            @IBOutlet weak var label_title: UILabel!
@@ -40,6 +42,13 @@
                        btn.isHidden = true
            }
    override func setRx() {
        NotificationCenter.default.rx.notification(AnswerAgain_Noti).take(until: self.rx.deallocated).subscribe(onNext: {[weak self] _ in
            self?.questionIndex = 0
            self?.nextQuestion()
        }).disposed(by: disposeBag)
    }
            override func setUI() {
                        btn_sure.tag = 1000