|
|
@@ -24,7 +24,7 @@
|
|
|
[self addSubview:whiteBgView];
|
|
|
|
|
|
[whiteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.height.mas_equalTo(343.f);
|
|
|
+ make.height.mas_equalTo(400.f);
|
|
|
make.width.mas_equalTo(300.f);
|
|
|
make.centerY.mas_equalTo(-40.f);
|
|
|
make.centerX.mas_equalTo(0.f);
|
|
|
@@ -58,12 +58,17 @@
|
|
|
}];
|
|
|
|
|
|
NSString *tip1Str = NSLocalizedString(@"image_version_update_fail_tip1",nil);
|
|
|
+ NSString *tip2Str = [[NSString alloc] initWithFormat:@"(%@)",ksharedAppDelegate.DeviceThirdIdMod.data.changeSn];
|
|
|
+ NSString *tip3Str = NSLocalizedString(@"image_version_update_fail_tip2",nil);
|
|
|
+
|
|
|
+ NSString*allTipStr = [[NSString alloc] initWithFormat:@"%@%@%@",tip1Str,tip2Str,tip3Str];
|
|
|
+
|
|
|
UILabel *tipaLab = [[UILabel alloc] init];
|
|
|
- tipaLab.text = tip1Str;
|
|
|
+ tipaLab.text = allTipStr;
|
|
|
tipaLab.numberOfLines = 0;
|
|
|
tipaLab.textColor = [UIColor hwColor:@"#666666"];
|
|
|
tipaLab.font = [UIFont systemFontOfSize:14.0];
|
|
|
- tipaLab.textAlignment = NSTextAlignmentCenter;
|
|
|
+ //tipaLab.textAlignment = NSTextAlignmentCenter;
|
|
|
[whiteBgView addSubview:tipaLab];
|
|
|
|
|
|
[tipaLab mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
@@ -73,21 +78,21 @@
|
|
|
make.top.equalTo(titleLab.mas_bottom).offset(10);
|
|
|
}];
|
|
|
|
|
|
- NSString *tip2Str = [[NSString alloc] initWithFormat:@"SN:%@",ksharedAppDelegate.DeviceThirdIdMod.data.changeSn];
|
|
|
- UILabel *tip2Lab = [[UILabel alloc] init];
|
|
|
- tip2Lab.text = tip2Str;
|
|
|
- tip2Lab.numberOfLines = 0;
|
|
|
- tip2Lab.textColor = [UIColor hwColor:@"#666666"];
|
|
|
- tip2Lab.font = [UIFont systemFontOfSize:14.0];
|
|
|
- tip2Lab.textAlignment = NSTextAlignmentCenter;
|
|
|
- [whiteBgView addSubview:tip2Lab];
|
|
|
-
|
|
|
- [tip2Lab mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- //make.height.mas_equalTo(60);
|
|
|
- make.right.mas_equalTo(-20.f);
|
|
|
- make.left.mas_equalTo(20.f);
|
|
|
- make.top.equalTo(tipaLab.mas_bottom).offset(5);
|
|
|
- }];
|
|
|
+ // NSString *tip2Str = [[NSString alloc] initWithFormat:@"SN:%@",ksharedAppDelegate.DeviceThirdIdMod.data.changeSn];
|
|
|
+// UILabel *tip2Lab = [[UILabel alloc] init];
|
|
|
+// tip2Lab.text = tip2Str;
|
|
|
+// tip2Lab.numberOfLines = 0;
|
|
|
+// tip2Lab.textColor = [UIColor hwColor:@"#666666"];
|
|
|
+// tip2Lab.font = [UIFont systemFontOfSize:14.0];
|
|
|
+// tip2Lab.textAlignment = NSTextAlignmentCenter;
|
|
|
+// [whiteBgView addSubview:tip2Lab];
|
|
|
+//
|
|
|
+// [tip2Lab mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// //make.height.mas_equalTo(60);
|
|
|
+// make.right.mas_equalTo(-20.f);
|
|
|
+// make.left.mas_equalTo(20.f);
|
|
|
+// make.top.equalTo(tipaLab.mas_bottom).offset(5);
|
|
|
+// }];
|
|
|
|
|
|
|
|
|
UIButton *knowBut = [[UIButton alloc] init];
|