| | |
| | | @IBOutlet weak var btn_customer: QMUIButton! |
| | | @IBOutlet weak var btn_setting: QMUIButton! |
| | | @IBOutlet weak var btn_share: QMUIButton! |
| | | @IBOutlet weak var view_rank: GradientView! |
| | | |
| | | override func viewDidLoad() { |
| | | super.viewDidLoad() |
| | | |
| | | let tap = UITapGestureRecognizer(target: self, action: #selector(rankAction)) |
| | | view_rank.isUserInteractionEnabled = true |
| | | view_rank.addGestureRecognizer(tap) |
| | | } |
| | | |
| | | override func setUI() { |
| | |
| | | btn_share.imagePosition = .top |
| | | } |
| | | |
| | | @objc func rankAction(){ |
| | | let vc = WebVC() |
| | | vc.title = "爱心榜单" |
| | | push(vc: vc) |
| | | } |
| | | |
| | | @IBAction func vipCenterAction(_ sender: Any) { |
| | | let vc = VIPCenterVC() |
| | | push(vc: vc) |
| | |
| | | } |
| | | |
| | | @IBAction func studyLevelAction(_ sender: TapBtn) { |
| | | |
| | | let vc = LevelVC() |
| | | push(vc: vc) |
| | | } |
| | | |
| | | @IBAction func systemMessageAction(_ sender: UIButton) { |
| | |
| | | |
| | | //我的账户 |
| | | @IBAction func myAccountAction(_ sender: QMUIButton) { |
| | | |
| | | let vc = WalletVC() |
| | | push(vc: vc) |
| | | } |
| | | |
| | | //观看历史 |
| | |
| | | override init(frame: CGRect) { |
| | | super.init(frame: frame) |
| | | |
| | | jq_gradientColor(colorArr: [UIColor(hexString: "#F3FFF8 100%")!.cgColor,UIColor.white.cgColor]) |
| | | jq_gradientColor(colorArr: [UIColor(hexString: "#F3FFF8")!.cgColor,UIColor.white.cgColor]) |
| | | } |
| | | |
| | | required init?(coder: NSCoder) { |