//
|
// SettingVC.swift
|
// XQMuse
|
//
|
// Created by 无故事王国 on 2024/8/20.
|
//
|
|
import UIKit
|
import JQTools
|
|
class SettingVC: BaseVC {
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "设置"
|
|
}
|
|
override func setUI() {
|
super.setUI()
|
view.backgroundColor = UIColor(hexString: "#fafafa")
|
}
|
|
@IBAction func bindPhoneAction(_ sender: TapBtn) {
|
let vc = BindAccountVC()
|
push(vc: vc)
|
}
|
|
@IBAction func cancelCacheAction(_ sender: TapBtn) {
|
JQTool.cleanCache {
|
alertSuccess(msg: "清理成功")
|
}
|
}
|
|
@IBAction func aboutUsAction(_ sender: TapBtn) {
|
let vc = WebVC(type: .aboutUs)
|
vc.title = "关于心泉"
|
push(vc: vc)
|
}
|
|
@IBAction func logoutAction(_ sender: TapBtn) {
|
let vc = LogoutAccountVC()
|
push(vc: vc)
|
}
|
|
@IBAction func treatyAction(_ sender: TapBtn) {
|
let vc = TreatyVC()
|
push(vc: vc)
|
}
|
|
@IBAction func exchangeAccountAction(_ sender: UIButton) {
|
sceneDelegate?.needLogin()
|
}
|
|
@IBAction func quitAccountAction(_ sender: UIButton) {
|
sceneDelegate?.needLogin()
|
}
|
}
|