| | |
| | | |
| | | if model.isVip == .yes{ |
| | | self.image_vipBg.image = UIImage(named: "bg_vip") |
| | | self.label_vipInfo.text = "您将享受所有会员专享音频,尽情畅游心泉·疗愈世界" |
| | | self.label_vipInfo.text = "您将享受所有会员专享音频,尽情畅游泉疗愈世界" |
| | | self.label_expirtTime.text = model.vipExpireTime.components(separatedBy: " ").first! + "到期" |
| | | }else{ |
| | | self.image_vipBg.image = UIImage(named: "bg_vip_u") |
| | |
| | | } |
| | | |
| | | @objc func rankAction(){ |
| | | guard sceneDelegate!.checkisLoginState() else {return} |
| | | let vc = WebVC(url: ShareUrl + "/ranking/ranking?userId=\(UserViewModel.getAvatarInfo().id)") |
| | | vc.title = "爱心榜单" |
| | | push(vc: vc) |
| | |
| | | } |
| | | |
| | | @IBAction func systemMessageAction(_ sender: UIButton) { |
| | | guard sceneDelegate!.checkisLoginState() else {return} |
| | | let vc = NoticeCenterVC() |
| | | push(vc: vc) |
| | | } |
| | |
| | | |
| | | /// 联系客服 |
| | | @IBAction func customerAction(_ sender: QMUIButton) { |
| | | guard sceneDelegate!.checkisLoginState() else {return} |
| | | let vc = ContactCustomerVC() |
| | | push(vc: vc) |
| | | } |
| | | |
| | | ///分享 |
| | | @IBAction func shareAction(_ sender: QMUIButton) { |
| | | guard sceneDelegate!.checkisLoginState() else {return} |
| | | let vc = InviteVC() |
| | | push(vc: vc) |
| | | } |