From ace001e14dcd4b5a230d6a3f677a6cd43fa7bc9a Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期二, 20 八月 2024 17:51:23 +0800
Subject: [PATCH] fix UI

---
 XQMuse/Root/Me/MeVC.swift |   86 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 86 insertions(+), 0 deletions(-)

diff --git a/XQMuse/Root/Me/MeVC.swift b/XQMuse/Root/Me/MeVC.swift
index 5120832..cdf0925 100644
--- a/XQMuse/Root/Me/MeVC.swift
+++ b/XQMuse/Root/Me/MeVC.swift
@@ -7,9 +7,11 @@
 
 import UIKit
 import QMUIKit
+import JQTools
 
 class MeVC: BaseVC {
 
+				@IBOutlet weak var scrollView: UIScrollView!
 				@IBOutlet weak var btn_collect: QMUIButton!
 				@IBOutlet weak var btn_record: QMUIButton!
 				@IBOutlet weak var btn_history: QMUIButton!
@@ -26,6 +28,9 @@
 
 				override func setUI() {
 								super.setUI()
+								view.backgroundColor = UIColor(hexString: "#fafafa")
+								scrollView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 20, right: 0)
+								scrollView.showsVerticalScrollIndicator = false
 								btn_collect.imagePosition = .top
 								btn_record.imagePosition = .top
 								btn_history.imagePosition = .top
@@ -36,4 +41,85 @@
 								btn_setting.imagePosition = .top
 								btn_share.imagePosition = .top
 				}
+
+				@IBAction func vipCenterAction(_ sender: Any) {
+								 let vc = VIPCenterVC()
+								push(vc: vc)
+				}
+				
+
+				@IBAction func userProfileAction(_ sender: UIButton) {
+								let profileVC = UserProfileVC()
+								jq_push(vc: profileVC)
+				}
+
+				@IBAction func studyLevelAction(_ sender: TapBtn) {
+
+				}
+
+				@IBAction func systemMessageAction(_ sender: UIButton) {
+								let vc = NoticeCenterVC()
+								push(vc: vc)
+				}
+
+				@IBAction func settingAction(_ sender: UIButton) {
+								let vc = SettingVC()
+								push(vc: vc)
+				}
+				
+				//学习记录
+				@IBAction func studyAction(_ sender: UIButton) {
+								let vc = StudyListVC()
+								push(vc: vc)
+				}
+
+
+				//我的账户
+				@IBAction func myAccountAction(_ sender: QMUIButton) {
+
+				}
+
+				//观看历史
+				@IBAction func watchHistoryAction(_ sender: QMUIButton) {
+
+				}
+
+				//我的收藏
+				@IBAction func myColletAction(_ sender: QMUIButton) {
+
+				}
+
+				/// 我的已购
+				@IBAction func paymentCourseAction(_ sender: QMUIButton) {
+
+				}
+
+				/// 联系客服
+				@IBAction func customerAction(_ sender: QMUIButton) {
+
+				}
+				
+				///分享
+				@IBAction func shareAction(_ sender: QMUIButton) {
+
+				}
+}
+
+class GradientView:UIView{
+
+				override init(frame: CGRect) {
+								super.init(frame: frame)
+
+								jq_gradientColor(colorArr: [UIColor(hexString: "#F3FFF8 100%")!.cgColor,UIColor.white.cgColor])
+				}
+				
+				required init?(coder: NSCoder) {
+								super.init(coder: coder)
+
+				}
+				
+				override func awakeFromNib() {
+								super.awakeFromNib()
+								jq_gradientColor(colorArr: [UIColor(hexString: "#F3FFF8")!.cgColor,UIColor.white.cgColor], cornerRadius: 10, startPoint: CGPoint(x: 0, y: 0), endPoint: CGPoint(x: 0, y: 1), bounds: nil, locations: nil)
+				}
 }

--
Gitblit v1.7.1