|
@@ -24,23 +24,23 @@
|
|
|
[self.navigationBar setHidden:YES];
|
|
|
[self.navBarBGView setHidden:NO];
|
|
|
|
|
|
- NSString *curTitle = NSLocalizedString(@"input_pwd_forget_secret_key",nil);
|
|
|
- UIButton *rightBut = [[UIButton alloc] init];
|
|
|
- //rightBut.backgroundColor = [UIColor redColor];
|
|
|
- [rightBut setTitle:curTitle forState:UIControlStateNormal];
|
|
|
- rightBut.titleLabel.font = [UIFont systemFontOfSize:16.0];
|
|
|
- [rightBut setTitleColor:[UIColor hwColor:@"#13B2EB" alpha:1.0] forState:UIControlStateNormal];
|
|
|
- [rightBut addTarget:self action:@selector(rightBtnPressed) forControlEvents:UIControlEventTouchUpInside];
|
|
|
- [self.navBarBGView addSubview:rightBut];
|
|
|
-
|
|
|
- rightBut.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;
|
|
|
-
|
|
|
- [rightBut mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.centerY.equalTo(self.backBtn.mas_centerY);
|
|
|
- make.width.mas_equalTo(250);
|
|
|
- make.right.mas_equalTo(-20);
|
|
|
- make.height.mas_equalTo(30);
|
|
|
- }];
|
|
|
+// NSString *curTitle = NSLocalizedString(@"input_pwd_forget_secret_key",nil);
|
|
|
+// UIButton *rightBut = [[UIButton alloc] init];
|
|
|
+// //rightBut.backgroundColor = [UIColor redColor];
|
|
|
+// [rightBut setTitle:curTitle forState:UIControlStateNormal];
|
|
|
+// rightBut.titleLabel.font = [UIFont systemFontOfSize:16.0];
|
|
|
+// [rightBut setTitleColor:[UIColor hwColor:@"#13B2EB" alpha:1.0] forState:UIControlStateNormal];
|
|
|
+// [rightBut addTarget:self action:@selector(rightBtnPressed) forControlEvents:UIControlEventTouchUpInside];
|
|
|
+// [self.navBarBGView addSubview:rightBut];
|
|
|
+//
|
|
|
+// rightBut.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;
|
|
|
+//
|
|
|
+// [rightBut mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.centerY.equalTo(self.backBtn.mas_centerY);
|
|
|
+// make.width.mas_equalTo(250);
|
|
|
+// make.right.mas_equalTo(-20);
|
|
|
+// make.height.mas_equalTo(30);
|
|
|
+// }];
|
|
|
|
|
|
[self initBaseUIfun];
|
|
|
}
|