2
This commit is contained in:
@@ -216,6 +216,8 @@
|
|||||||
// 协议文案
|
// 协议文案
|
||||||
[self.scrollContentView addSubview:self.agreementTextView];
|
[self.scrollContentView addSubview:self.agreementTextView];
|
||||||
[self.agreementTextView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[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.bottom.equalTo(self.scrollContentView).offset(-KB_SAFE_BOTTOM - 16);
|
||||||
make.left.equalTo(self.scrollContentView).offset(30);
|
make.left.equalTo(self.scrollContentView).offset(30);
|
||||||
make.right.equalTo(self.scrollContentView).offset(-30);
|
make.right.equalTo(self.scrollContentView).offset(-30);
|
||||||
@@ -266,12 +268,11 @@
|
|||||||
KBLOG(@"onTapForgotPassword in KBEmailRegistVC");
|
KBLOG(@"onTapForgotPassword in KBEmailRegistVC");
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)onTapSwitchAccount {
|
//- (void)onTapSwitchAccount {
|
||||||
// 注册页/登录页互跳逻辑后续接入
|
// // 注册页/登录页互跳逻辑后续接入
|
||||||
KBLOG(@"onTapSwitchAccount");
|
// KBLOG(@"onTapSwitchAccount");
|
||||||
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
|
//
|
||||||
[KB_CURRENT_NAV pushViewController:vc animated:true];
|
//}
|
||||||
}
|
|
||||||
|
|
||||||
- (void)onTapTogglePassword:(UIButton *)sender {
|
- (void)onTapTogglePassword:(UIButton *)sender {
|
||||||
sender.selected = !sender.selected;
|
sender.selected = !sender.selected;
|
||||||
@@ -322,6 +323,8 @@
|
|||||||
|
|
||||||
- (void)onTapEmailLogin {
|
- (void)onTapEmailLogin {
|
||||||
KBLOG(@"onTapEmailLogin in KBEmailRegistVC");
|
KBLOG(@"onTapEmailLogin in KBEmailRegistVC");
|
||||||
|
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
|
||||||
|
[KB_CURRENT_NAV pushViewController:vc animated:true];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#import "KBLoginVM.h"
|
#import "KBLoginVM.h"
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
#import "KBEmailRegistVC.h"
|
#import "KBEmailRegistVC.h"
|
||||||
|
#import "KBEmailLoginVC.h"
|
||||||
|
|
||||||
@interface KBLoginVC () <UITextViewDelegate>
|
@interface KBLoginVC () <UITextViewDelegate>
|
||||||
|
|
||||||
@@ -188,6 +189,8 @@
|
|||||||
- (void)onTapEmailLogin {
|
- (void)onTapEmailLogin {
|
||||||
// 后续接入邮箱登录逻辑
|
// 后续接入邮箱登录逻辑
|
||||||
KBLOG(@"onTapEmailLogin");
|
KBLOG(@"onTapEmailLogin");
|
||||||
|
KBEmailLoginVC *vc = [[KBEmailLoginVC alloc] init];
|
||||||
|
[KB_CURRENT_NAV pushViewController:vc animated:true];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)onTapPolicy {
|
- (void)onTapPolicy {
|
||||||
|
|||||||
Reference in New Issue
Block a user