|
|
@@ -139,14 +139,16 @@
|
|
|
make.height.mas_equalTo(48.f);
|
|
|
}];
|
|
|
|
|
|
+ _checUpdatekBtn.hidden = YES;
|
|
|
|
|
|
//1.4.3 新加一个tableview 显示镜像相关信息
|
|
|
//用户协议 隐私协议 app当前版本 系统当前版本 系统待更新版本
|
|
|
_msgTitleArr = @[NSLocalizedString(@"app_update_use_deal",nil)
|
|
|
,NSLocalizedString(@"app_update_private",nil)
|
|
|
,NSLocalizedString(@"app_version_current",nil)
|
|
|
- ,NSLocalizedString(@"system_version_current",nil)
|
|
|
- ,NSLocalizedString(@"asystem_version_wait_update",nil)];
|
|
|
+ //,NSLocalizedString(@"system_version_current",nil)
|
|
|
+ //,NSLocalizedString(@"asystem_version_wait_update",nil)
|
|
|
+ ];
|
|
|
|
|
|
|
|
|
[self.view addSubview:self.tableView];
|
|
|
@@ -154,8 +156,10 @@
|
|
|
[self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.mas_equalTo(15.f);
|
|
|
make.right.mas_equalTo(-15.f);
|
|
|
- make.top.equalTo(_checUpdatekBtn.mas_bottom).offset(25.f);
|
|
|
- make.height.mas_equalTo(240.f);
|
|
|
+ //make.top.equalTo(_checUpdatekBtn.mas_bottom).offset(25.f);
|
|
|
+ make.top.equalTo(_checUpdatekBtn.mas_top).offset(15.f);
|
|
|
+ //make.height.mas_equalTo(240.f);
|
|
|
+ make.height.mas_equalTo(160.f);
|
|
|
}];
|
|
|
|
|
|
// UIButton *privateBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
@@ -174,7 +178,7 @@
|
|
|
// make.height.mas_equalTo(38);
|
|
|
// make.left.equalTo(self.view.mas_centerX).offset(6);
|
|
|
// }];
|
|
|
-//
|
|
|
+//
|
|
|
// UIButton *ruleBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
// self.ruleBtn = ruleBtn;
|
|
|
// ruleBtn.titleLabel.font = [UIFont systemFontOfSize:13.f];
|
|
|
@@ -191,7 +195,7 @@
|
|
|
// make.height.mas_equalTo(38);
|
|
|
// make.right.equalTo(self.view.mas_centerX).offset(-6);
|
|
|
// }];
|
|
|
-//
|
|
|
+//
|
|
|
// UIView *lineView = [[UIView alloc] init];
|
|
|
// [lineView setBackgroundColor:HW999999Color];
|
|
|
// [self.view addSubview:lineView];
|
|
|
@@ -254,6 +258,7 @@
|
|
|
}
|
|
|
//左边标题
|
|
|
cell.showRightImageType = NO;
|
|
|
+ cell.contentLabel.hidden = NO;
|
|
|
if (row < _msgTitleArr.count) {
|
|
|
NSString *title = _msgTitleArr[row];
|
|
|
cell.titleLabel.text = title;
|
|
|
@@ -266,15 +271,15 @@
|
|
|
NSString *vers = [iPhone appVersion];
|
|
|
[cell.contentLabel setText:[NSString stringWithFormat:@"V%@",vers]];
|
|
|
}
|
|
|
- else if(_couldphoneSysInfoMod){
|
|
|
- cell.contentLabel.hidden = NO;
|
|
|
- if (row == 3) {
|
|
|
- cell.contentLabel.text = _couldphoneSysInfoMod.data.hostImgVer;
|
|
|
- }
|
|
|
- else if(row == 4) {
|
|
|
- cell.contentLabel.text = _couldphoneSysInfoMod.data.MyNewVersion;
|
|
|
- }
|
|
|
- }
|
|
|
+// else if(_couldphoneSysInfoMod){
|
|
|
+// cell.contentLabel.hidden = NO;
|
|
|
+// if (row == 3) {
|
|
|
+// cell.contentLabel.text = _couldphoneSysInfoMod.data.hostImgVer;
|
|
|
+// }
|
|
|
+// else if(row == 4) {
|
|
|
+// cell.contentLabel.text = _couldphoneSysInfoMod.data.MyNewVersion;
|
|
|
+// }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
return cell;
|
|
|
@@ -334,6 +339,7 @@
|
|
|
NSMutableDictionary *paraDict = [NSMutableDictionary dictionary];
|
|
|
[paraDict setValue:@"ios" forKey:@"type"];
|
|
|
[paraDict setValue:@"skyworth" forKey:@"source"];
|
|
|
+ [paraDict setValue:@"iPhone" forKey:@"iosType"];
|
|
|
|
|
|
[[netWorkManager shareInstance] CommonGetWithCallBackCode:upgradeNewVersion Parameters:paraDict success:^(id _Nonnull responseObject) {
|
|
|
HLog(@"%@", responseObject);
|