Browse Source

1.详细版本信息修改

huangxiaodong 1 year ago
parent
commit
e2a34e5ea8

+ 16 - 5
创维盒子/双子星云手机/Class/Set/view/allVersionView.m

@@ -37,13 +37,17 @@
     
     NSString *str1 = NSLocalizedString(@"my_set_about_version_tap_jingxiang",nil);
     NSString *str2 = NSLocalizedString(@"my_set_about_version_tap_daili",nil);
-    NSString *str3 = NSLocalizedString(@"my_set_about_version_tap_app",nil);
-    NSString *str4 = NSLocalizedString(@"my_set_about_version_tap_sn",nil);
+    NSString *str3 = NSLocalizedString(@"my_set_about_version_tap_TV",nil);
+    NSString *str4 = NSLocalizedString(@"my_set_about_version_tap_app",nil);
+    NSString *str5 = NSLocalizedString(@"my_set_about_version_tap_sn",nil);
+    NSString *str6 = NSLocalizedString(@"my_set_about_version_tap_av",nil);
     
     [dataArr addObject:str1];
     [dataArr addObject:str2];
     [dataArr addObject:str3];
     [dataArr addObject:str4];
+    [dataArr addObject:str5];
+    [dataArr addObject:str6];
     
     self.backgroundColor = [UIColor hwColor:@"#000000" alpha:0.6];
     
@@ -55,7 +59,7 @@
     [_whiteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.mas_equalTo(20);
         make.right.mas_equalTo(-20);
-        make.height.mas_equalTo(300);
+        make.height.mas_equalTo(380);
         make.centerY.mas_equalTo(self.center).offset(-20);
     }];
     
@@ -164,15 +168,22 @@
             case 1:
                 cell.detailTextLabel.text = _couldphoneSysInfoMod.data.data.AgentVersion.versionName;
                 break;
-            case 2:{
+            case 2:
+                cell.detailTextLabel.text = _couldphoneSysInfoMod.data.data.privateTV.versionName;
+                break;
+            case 3:{
                 NSString *vers = [iPhone appVersion];
                 cell.detailTextLabel.text = [NSString stringWithFormat:@"V%@",vers];
             }
                 break;
-            case 3:
+            case 4:
                 //cell.detailTextLabel.text = _couldphoneSysInfoMod.data.data.sn;
                 cell.detailTextLabel.text = [connectDeviceManager shareInstance].DeviceThirdIdMod.data.sn;
                 break;
+            case 5:{
+                cell.detailTextLabel.text = _couldphoneSysInfoMod.data.data.AVVersion;
+            }
+                break;
         }
     }
 

+ 6 - 0
创维盒子/双子星云手机/CloudPlayer/Model/couldphoneSysInfoModel.h

@@ -30,6 +30,11 @@ NS_ASSUME_NONNULL_BEGIN
 //    "type":"getSysInfo"
 //}
 
+@interface privateTVModel: SuperModel
+@property (nonatomic, copy) NSString* versionCode;
+@property (nonatomic, copy) NSString* versionName;
+@end
+
 @interface AgentVersionModel: SuperModel
 @property (nonatomic, copy) NSString* versionCode;
 @property (nonatomic, copy) NSString* versionName;
@@ -41,6 +46,7 @@ NS_ASSUME_NONNULL_BEGIN
 @property (nonatomic, copy) NSString* ImageVersion;
 @property (nonatomic, copy) NSString* sn;
 @property(nonatomic, strong)AgentVersionModel *AgentVersion;
+@property(nonatomic, strong)privateTVModel *privateTV;
 @end
 
 @interface couldphoneSysInfoDataModel : SuperModel

+ 3 - 0
创维盒子/双子星云手机/CloudPlayer/Model/couldphoneSysInfoModel.m

@@ -7,6 +7,9 @@
 
 #import "couldphoneSysInfoModel.h"
 
+@implementation privateTVModel
+
+@end
 @implementation AgentVersionModel
 
 @end

+ 2 - 0
创维盒子/双子星云手机/zh-Hans.lproj/Localizable.strings

@@ -281,7 +281,9 @@
 "my_set_about_version_tap_jingxiang"   = "镜像版本号";
 "my_set_about_version_tap_daili"   = "代理版本号";
 "my_set_about_version_tap_app"   = "手机版本号";
+"my_set_about_version_tap_TV"   = "TV版本号";
 "my_set_about_version_tap_sn"   = "SN号";
+"my_set_about_version_tap_av"   = "AV版本号";
 "my_set_Privacy_Model"   = "隐私模式";
 "my_set_Privacy_Model_tip"   = "隐私模式下,具有设置登录密码、更换图标、翻转退出等保护您个人信息安全的功能";
 "my_set_Privacy_Mode_set"   = "隐私模式设置";