Commit df5e593a authored by Steven杜宇's avatar Steven杜宇

// AI

parent 5c533f29
...@@ -138,8 +138,8 @@ class YHCardMessageCell: UITableViewCell { ...@@ -138,8 +138,8 @@ class YHCardMessageCell: UITableViewCell {
lazy var bottomBtn: UIButton = { lazy var bottomBtn: UIButton = {
let btn = UIButton() let btn = UIButton()
btn.setTitle("", for: .normal) btn.setTitle("", for: .normal)
btn.setTitleColor(UIColor.white, for: .normal) btn.setTitleColor(UIColor.brandMainColor, for: .normal)
btn.backgroundColor = .brandMainColor btn.backgroundColor = .init(UIColor(hex: 0xEBF0F9))
btn.titleLabel?.font = .PFSC_M(ofSize: 14) btn.titleLabel?.font = .PFSC_M(ofSize: 14)
btn.layer.cornerRadius = 6.0 btn.layer.cornerRadius = 6.0
btn.addTarget(self, action: #selector(didBottomButtonClicked), for: .touchUpInside) btn.addTarget(self, action: #selector(didBottomButtonClicked), for: .touchUpInside)
......
...@@ -498,7 +498,14 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate { ...@@ -498,7 +498,14 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
return false return false
} }
} }
if index == 2 { // AI 港小宝
if index == 2 { // AI港小宝
if !YHLoginManager.shared.isLogin() {
YHOneKeyLoginManager.shared.oneKeyLogin()
return false
}
let vc = YHAITabViewController()
UIViewController.current?.navigationController?.pushViewController(vc)
return false return false
} }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment