From fe02f75ab7a593f33d60c15308ddf7a974962db4 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期五, 27 十二月 2024 17:32:44 +0800 Subject: [PATCH] 提交版本: 1.0.0 --- XQMuse/Root/Me/MeVC.swift | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/XQMuse/Root/Me/MeVC.swift b/XQMuse/Root/Me/MeVC.swift index 2b96f5d..908987b 100644 --- a/XQMuse/Root/Me/MeVC.swift +++ b/XQMuse/Root/Me/MeVC.swift @@ -35,6 +35,10 @@ @IBOutlet weak var label_phone: UILabel! @IBOutlet weak var label_vipInfo: UILabel! @IBOutlet weak var label_totalDay: UILabel! + @IBOutlet weak var view_otherGradient: GradientView! + @IBOutlet weak var view_loveRanking: GradientView! + @IBOutlet weak var btn_jump: UIButton! + var needLaunch:Bool = true @@ -47,6 +51,15 @@ getData() queryNotice() + + Services.getTurn(progress: false).subscribe(onNext: {[weak self]data in + guard let weakSelf = self else { return } + if let m = data.data,m == true{ + weakSelf.view_otherGradient.isHidden = false + weakSelf.view_loveRanking.isHidden = false + weakSelf.btn_jump.isHidden = false + } + }).disposed(by: disposeBag) } override func viewDidAppear(_ animated: Bool) { @@ -182,12 +195,14 @@ push(vc: vc) } + //消息 @IBAction func systemMessageAction(_ sender: UIButton) { guard sceneDelegate!.checkisLoginState() else {return} let vc = NoticeCenterVC() push(vc: vc) } + // 设置 @IBAction func settingAction(_ sender: UIButton) { let vc = SettingVC() push(vc: vc) -- Gitblit v1.7.1