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

// 登录

parent 12635324
...@@ -185,7 +185,10 @@ extension YHLoginMethodManager { ...@@ -185,7 +185,10 @@ extension YHLoginMethodManager {
TXCommonHandler.sharedInstance().cancelLoginVC(animated: true) TXCommonHandler.sharedInstance().cancelLoginVC(animated: true)
} }
videoBgView.changeLoginBlock = { videoBgView.changeLoginBlock = {
// let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
let vc = YHPhoneLoginWithVideoBkgViewController()
// vc.modalPresentationStyle = .custom
UIViewController.current?.navigationController?.pushViewController(vc, animated:true)
} }
model.customViewBlock = { model.customViewBlock = {
superCustomView in superCustomView in
......
...@@ -49,6 +49,7 @@ class YHAutoLoginView: UIView { ...@@ -49,6 +49,7 @@ class YHAutoLoginView: UIView {
button.setTitle("其他登录方式", for: .normal) button.setTitle("其他登录方式", for: .normal)
button.setTitleColor(.white, for: .normal) button.setTitleColor(.white, for: .normal)
button.titleLabel?.font = .PFSC_R(ofSize: 14) button.titleLabel?.font = .PFSC_R(ofSize: 14)
button.addTarget(self, action:#selector(didChangeLoginButtonClicked), for: .touchUpInside)
return button return button
}() }()
...@@ -78,6 +79,10 @@ class YHAutoLoginView: UIView { ...@@ -78,6 +79,10 @@ class YHAutoLoginView: UIView {
self.closeBlock?() self.closeBlock?()
} }
@objc func didChangeLoginButtonClicked() {
self.changeLoginBlock?()
}
override init(frame: CGRect) { override init(frame: CGRect) {
super.init(frame: frame) super.init(frame: frame)
setupUI() setupUI()
......
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