This commit is contained in:
2025-12-03 15:53:26 +08:00
parent 6556689c8f
commit 22e393e588
2 changed files with 12 additions and 6 deletions

View File

@@ -216,6 +216,8 @@
//
[self.scrollContentView addSubview:self.agreementTextView];
[self.agreementTextView mas_makeConstraints:^(MASConstraintMaker *make) {
// scrollContentView
make.top.equalTo(self.emailLoginButton.mas_bottom).offset(16);
make.bottom.equalTo(self.scrollContentView).offset(-KB_SAFE_BOTTOM - 16);
make.left.equalTo(self.scrollContentView).offset(30);
make.right.equalTo(self.scrollContentView).offset(-30);
@@ -266,12 +268,11 @@
KBLOG(@"onTapForgotPassword in KBEmailRegistVC");
}
- (void)onTapSwitchAccount {
// /
KBLOG(@"onTapSwitchAccount");
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
[KB_CURRENT_NAV pushViewController:vc animated:true];
}
//- (void)onTapSwitchAccount {
// // /
// KBLOG(@"onTapSwitchAccount");
//
//}
- (void)onTapTogglePassword:(UIButton *)sender {
sender.selected = !sender.selected;
@@ -322,6 +323,8 @@
- (void)onTapEmailLogin {
KBLOG(@"onTapEmailLogin in KBEmailRegistVC");
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
[KB_CURRENT_NAV pushViewController:vc animated:true];
}

View File

@@ -10,6 +10,7 @@
#import "KBLoginVM.h"
#import "AppDelegate.h"
#import "KBEmailRegistVC.h"
#import "KBEmailLoginVC.h"
@interface KBLoginVC () <UITextViewDelegate>
@@ -188,6 +189,8 @@
- (void)onTapEmailLogin {
//
KBLOG(@"onTapEmailLogin");
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
[KB_CURRENT_NAV pushViewController:vc animated:true];
}
- (void)onTapPolicy {