|
@@ -1285,37 +1285,51 @@ NSString *const new_AesKey = @"mGlAgnIBB8bx2nch";
|
|
|
};
|
|
|
model.navTitle = [[NSAttributedString alloc] initWithString:@"" attributes:attributes];
|
|
|
model.navBackImage = [UIImage imageNamed:@"arrowLeft"];
|
|
|
-
|
|
|
+ model.logoIsHidden = YES;
|
|
|
//logo配置
|
|
|
- model.logoImage = [UIImage imageNamed:@"logo"];
|
|
|
- model.logoFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- return CGRectMake((WIDTH-80)*0.5, 30, 80, 80);
|
|
|
+// model.logoImage = [UIImage imageNamed:@"logo"];
|
|
|
+// model.logoFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
+// return CGRectMake((WIDTH-80)*0.5, 30, 80, 80);
|
|
|
+// };
|
|
|
+
|
|
|
+ //添加自定义控件并对自定义控件进行布局
|
|
|
+ __block UIImageView *cusImageView = [ZKControl createImageViewFrame:CGRectMake(0, 0, WIDTH, 180) imageName:@"login_logo"];
|
|
|
+ model.customViewBlock = ^(UIView * _Nonnull superCustomView) {
|
|
|
+ [superCustomView addSubview:cusImageView];
|
|
|
};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
model.numberColor = UIColorFromRGB(0x171826);
|
|
|
model.numberFont = [UIFont systemFontOfSize:24.0];
|
|
|
model.numberFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- frame.origin.y = 110+30;
|
|
|
+ frame.origin.y = 180+30;
|
|
|
return frame;
|
|
|
};
|
|
|
model.sloganFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- frame.origin.y = 150+30;
|
|
|
+ frame.origin.y = 220+30;
|
|
|
return frame;
|
|
|
};
|
|
|
|
|
|
model.loginBtnText = [[NSAttributedString alloc] initWithString:@"一键登录/注册" attributes:@{NSForegroundColorAttributeName : UIColor.whiteColor,NSFontAttributeName : [UIFont systemFontOfSize:18.0]}];
|
|
|
NSArray *BtnBgImgs = [NSArray arrayWithObjects:[UIImage imageNamed:@"authbtn_nor"],[UIImage imageNamed:@"authbtn_dis"],[UIImage imageNamed:@"authbtn_nor"], nil];
|
|
|
model.loginBtnBgImgs = BtnBgImgs;
|
|
|
-
|
|
|
+ model.loginBtnFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
+ frame.origin.y = 260+50;
|
|
|
+ return CGRectMake(30, frame.origin.y, WIDTH - 60, 45);
|
|
|
+ };
|
|
|
|
|
|
model.changeBtnTitle = [[NSAttributedString alloc] initWithString:@"其他手机号登录/注册" attributes:@{NSForegroundColorAttributeName : UIColorFromRGB(0x2ABED1),NSFontAttributeName : [UIFont systemFontOfSize:16.0]}];
|
|
|
model.changeBtnFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- return CGRectMake(10, frame.origin.y, WIDTH - 20, 30);
|
|
|
+ frame.origin.y = 260+50+45+10;
|
|
|
+ return CGRectMake(30, frame.origin.y, WIDTH - 60, 45);
|
|
|
};
|
|
|
model.preferredStatusBarStyle = UIStatusBarStyleLightContent;
|
|
|
model.privacyNavBackImage = [UIImage imageNamed:@"arrowLeft"];
|
|
|
NSArray *boxImages = [NSArray arrayWithObjects:[UIImage imageNamed:@"unchoose"],[UIImage imageNamed:@"choose"], nil];
|
|
|
model.checkBoxImages = boxImages;
|
|
|
|
|
|
+
|
|
|
model.privacyColors = @[UIColor.blackColor, UIColorFromRGB(0x2ABED1)];
|
|
|
model.privacyAlignment = NSTextAlignmentCenter;
|
|
|
model.privacyFont = [UIFont fontWithName:@"PingFangSC-Regular" size:13.0];
|
|
@@ -1390,25 +1404,28 @@ NSString *const new_AesKey = @"mGlAgnIBB8bx2nch";
|
|
|
model.numberColor = UIColorFromRGB(0x171826);
|
|
|
model.numberFont = [UIFont systemFontOfSize:24.0];
|
|
|
model.numberFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- frame.origin.y = 110+30;
|
|
|
+ frame.origin.y = 50;
|
|
|
return frame;
|
|
|
};
|
|
|
model.sloganFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- frame.origin.y = 150+30;
|
|
|
+ frame.origin.y = 50+40;
|
|
|
return frame;
|
|
|
};
|
|
|
|
|
|
model.loginBtnText = [[NSAttributedString alloc] initWithString:@"一键绑定手机号" attributes:@{NSForegroundColorAttributeName : UIColor.whiteColor,NSFontAttributeName : [UIFont systemFontOfSize:18.0]}];
|
|
|
NSArray *BtnBgImgs = [NSArray arrayWithObjects:[UIImage imageNamed:@"authbtn_nor"],[UIImage imageNamed:@"authbtn_dis"],[UIImage imageNamed:@"authbtn_nor"], nil];
|
|
|
model.loginBtnBgImgs = BtnBgImgs;
|
|
|
-
|
|
|
+ model.loginBtnFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
+ frame.origin.y = 150;
|
|
|
+ return CGRectMake(30, frame.origin.y, WIDTH - 60, 45);
|
|
|
+ };
|
|
|
|
|
|
model.changeBtnTitle = [[NSAttributedString alloc] initWithString:@"绑定其他手机号" attributes:@{NSForegroundColorAttributeName : UIColorFromRGB(0x2ABED1),NSFontAttributeName : [UIFont systemFontOfSize:16.0]}];
|
|
|
model.changeBtnFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
|
|
- return CGRectMake(10, frame.origin.y, WIDTH - 20, 30);
|
|
|
+ frame.origin.y = 150+45+10;
|
|
|
+ return CGRectMake(30, frame.origin.y, WIDTH - 60, 45);
|
|
|
};
|
|
|
|
|
|
-
|
|
|
model.preferredStatusBarStyle = UIStatusBarStyleLightContent;
|
|
|
model.privacyNavBackImage = [UIImage imageNamed:@"arrowLeft"];
|
|
|
NSArray *boxImages = [NSArray arrayWithObjects:[UIImage imageNamed:@"unchoose"],[UIImage imageNamed:@"choose"], nil];
|