修改了登录im的逻辑

This commit is contained in:
fengshuo
2024-02-29 23:49:12 +08:00
parent 70e6ca8204
commit 26d586290c
26 changed files with 1536 additions and 55 deletions

View File

@@ -71,7 +71,7 @@ class UserInfoVC: BaseViewController, HiddenNavigationBarProtocol {
}
@objc func logoutBtnAction() {
//TODO: 退
AuthViewModel.authVM.logout()
}
private lazy var backImgView: UIImageView = {
@@ -135,7 +135,7 @@ class UserInfoVC: BaseViewController, HiddenNavigationBarProtocol {
private lazy var logoutBtn: UIButton = {
let button = UIButton(type: .custom)
button.setBackgroundImage(UIImage.gradient([ThemeColor(hexStr: "#FFC926"), ThemeColor(hexStr: "#FFE784")], radius: 0), for: .normal)
button.setBackgroundImage(UIImage.gradient([ThemeColor(hexStr: "#FF60FD"), ThemeColor(hexStr: "#8974FF"), ThemeColor(hexStr: "#69EBFF")], radius: 0), for: .normal)
button.setTitle("退出登录", for: .normal)
button.setTitleColor(UIColor.white, for: .normal)
button.titleLabel?.font = UIFont.systemFont(ofSize: 16, weight: .medium)