Bladeren bron

1.版本信息里面添加镜像相关信息

huangxiaodong 8 maanden geleden
bovenliggende
commit
f7b9a0e781

+ 12 - 0
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -422,6 +422,10 @@
 		6B3958702C34FA25003FC6C3 /* NasPreviewVideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B39586E2C34FA25003FC6C3 /* NasPreviewVideoViewController.m */; };
 		6B3958712C34FA25003FC6C3 /* NasPreviewVideoViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B39586D2C34FA25003FC6C3 /* NasPreviewVideoViewController.h */; };
 		6B3958722C34FA25003FC6C3 /* NasPreviewVideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B39586E2C34FA25003FC6C3 /* NasPreviewVideoViewController.m */; };
+		6B39AED32CC893F100B07E48 /* baseTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B39AED22CC893F100B07E48 /* baseTableViewCell.m */; };
+		6B39AED42CC893F100B07E48 /* baseTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B39AED12CC893F100B07E48 /* baseTableViewCell.h */; };
+		6B39AED52CC893F100B07E48 /* baseTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B39AED12CC893F100B07E48 /* baseTableViewCell.h */; };
+		6B39AED62CC893F100B07E48 /* baseTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B39AED22CC893F100B07E48 /* baseTableViewCell.m */; };
 		6B3A4B152B6F69A500F74679 /* cloudPhoneCommonModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B3A4B132B6F69A500F74679 /* cloudPhoneCommonModel.h */; };
 		6B3A4B162B6F69A500F74679 /* cloudPhoneCommonModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B3A4B142B6F69A500F74679 /* cloudPhoneCommonModel.m */; };
 		6B3AD6842BF48DBA0096D6B7 /* shareRecordDetailsHWViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B3AD6822BF48DBA0096D6B7 /* shareRecordDetailsHWViewController.h */; };
@@ -1809,6 +1813,8 @@
 		6B3941CE2C50A7CA00C8FB28 /* queryShareReportMarkModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = queryShareReportMarkModel.m; sourceTree = "<group>"; };
 		6B39586D2C34FA25003FC6C3 /* NasPreviewVideoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NasPreviewVideoViewController.h; sourceTree = "<group>"; };
 		6B39586E2C34FA25003FC6C3 /* NasPreviewVideoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NasPreviewVideoViewController.m; sourceTree = "<group>"; };
+		6B39AED12CC893F100B07E48 /* baseTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = baseTableViewCell.h; sourceTree = "<group>"; };
+		6B39AED22CC893F100B07E48 /* baseTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = baseTableViewCell.m; sourceTree = "<group>"; };
 		6B3A4B132B6F69A500F74679 /* cloudPhoneCommonModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cloudPhoneCommonModel.h; sourceTree = "<group>"; };
 		6B3A4B142B6F69A500F74679 /* cloudPhoneCommonModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = cloudPhoneCommonModel.m; sourceTree = "<group>"; };
 		6B3AD6822BF48DBA0096D6B7 /* shareRecordDetailsHWViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = shareRecordDetailsHWViewController.h; sourceTree = "<group>"; };
@@ -3877,6 +3883,8 @@
 				A003F6F127D8593600715CBF /* HWToolBar.h */,
 				A003F6F227D8593600715CBF /* HWToolBar.m */,
 				A003F6F427D8594200715CBF /* HWToolBar.xib */,
+				6B39AED12CC893F100B07E48 /* baseTableViewCell.h */,
+				6B39AED22CC893F100B07E48 /* baseTableViewCell.m */,
 			);
 			path = View;
 			sourceTree = "<group>";
@@ -4063,6 +4071,7 @@
 				6B07AC252BF85859005C2B0E /* ShareRecordModel.h in Headers */,
 				6B8676912C858CB300F81DFC /* webRtcPlayerViewController.h in Headers */,
 				6B4C0F7E2C0314BA0070EF2E /* DFPlayerUIManager.h in Headers */,
+				6B39AED42CC893F100B07E48 /* baseTableViewCell.h in Headers */,
 				6B5BE5932BFCA5FA00A1B9B3 /* videoPlayViewController.h in Headers */,
 				1868201D2AB97BE1005702A6 /* TipsQRCodeViewController.h in Headers */,
 				6B5B60602B3BC8DE009A2AE2 /* fileTransferPopView.h in Headers */,
@@ -4352,6 +4361,7 @@
 				6B07AC282BF85859005C2B0E /* ShareRecordModel.h in Headers */,
 				6B8676932C858CB300F81DFC /* webRtcPlayerViewController.h in Headers */,
 				6B4C0F7F2C0314BA0070EF2E /* DFPlayerUIManager.h in Headers */,
+				6B39AED52CC893F100B07E48 /* baseTableViewCell.h in Headers */,
 				6B5BE5952BFCA5FA00A1B9B3 /* videoPlayViewController.h in Headers */,
 				6BD506AA2B9576A4006E7CB0 /* TipsQRCodeViewController.h in Headers */,
 				6BD506AB2B9576A4006E7CB0 /* fileTransferPopView.h in Headers */,
@@ -5266,6 +5276,7 @@
 				6B833A852C48F3B300F9F1D0 /* customToastVew.m in Sources */,
 				6BD507AB2B9576A4006E7CB0 /* AFURLSessionManager.m in Sources */,
 				6BD507AC2B9576A4006E7CB0 /* GuideLastView.m in Sources */,
+				6B39AED62CC893F100B07E48 /* baseTableViewCell.m in Sources */,
 				6BD507AD2B9576A4006E7CB0 /* TvStatusModel.m in Sources */,
 				6BD507AE2B9576A4006E7CB0 /* fileTransferPathCheckTableViewCell.m in Sources */,
 				6BD507B02B9576A4006E7CB0 /* ModifyPWDSecondViewController.m in Sources */,
@@ -5637,6 +5648,7 @@
 				6B833A822C48F3B300F9F1D0 /* customToastVew.m in Sources */,
 				183AE6562A8A2CF000B11CB0 /* AFURLSessionManager.m in Sources */,
 				1868201A2AB94877005702A6 /* GuideLastView.m in Sources */,
+				6B39AED32CC893F100B07E48 /* baseTableViewCell.m in Sources */,
 				6BA533392B16E65500D1CB5C /* TvStatusModel.m in Sources */,
 				6B5B60732B3D8098009A2AE2 /* fileTransferPathCheckTableViewCell.m in Sources */,
 				18F9CB002ABD3643003FF71A /* ModifyPWDSecondViewController.m in Sources */,

+ 1 - 1
创维盒子/双子星云手机/AppDelegate/PrefixHeader.pch

@@ -128,7 +128,7 @@ isBangsScreen; \
 //正在使用
 #define MaxNasUploadPieceSzie (50*1024*1024) //frp上传 限制每片最大xx M
 #define keyToForgetPwd @"%==%"
-#define pageSizeNum 20//500 //分页数量大小
+#define pageSizeNum 5//500 //分页数量大小
 
 #define FileService            @"http://file.phone.androidscloud.com:8210/document/file/lowLevelMultipartUpload"
 #define Const_File_Access_Key  @"ikIm5C0KjKNvusTF6tIH" //@"13d0arghebcc4cm49cf04"

+ 22 - 0
创维盒子/双子星云手机/Base/View/baseTableViewCell.h

@@ -0,0 +1,22 @@
+//
+//  baseTableViewCell.h
+//  双子星云手机
+//
+//  Created by xd h on 2024/10/23.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface baseTableViewCell : UITableViewCell
+@property(nonatomic,strong)UIView *cellBgView;
+@property(nonatomic,strong)UIImageView *mImageView;
+@property(nonatomic,strong)UILabel *titleLabel;
+@property(nonatomic,strong)UILabel *contentLabel;
+@property(nonatomic,strong)UIImageView *rightImage;
+@property(nonatomic,assign)BOOL showLeftImageType;//是否显示左边的图片
+@property(nonatomic,assign)BOOL showRightImageType;//是否显示有边的图片
+@end
+
+NS_ASSUME_NONNULL_END

+ 132 - 0
创维盒子/双子星云手机/Base/View/baseTableViewCell.m

@@ -0,0 +1,132 @@
+//
+//  baseTableViewCell.m
+//  双子星云手机
+//
+//  Created by xd h on 2024/10/23.
+//
+
+#import "baseTableViewCell.h"
+
+@implementation baseTableViewCell
+
+- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
+{
+    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
+    
+    if (self)
+    {
+        [self drawView];
+    }
+    
+    return self;
+}
+
+- (void)drawView
+{
+    _cellBgView = [[UIView alloc] init];
+    [self.contentView addSubview:_cellBgView];
+    _cellBgView.backgroundColor = [UIColor whiteColor];
+    [_cellBgView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(0.f);
+        make.top.mas_equalTo(0);
+        make.bottom.mas_equalTo(0);
+        make.right.mas_equalTo(0);
+    }];
+    
+    
+    /*图片*/
+    _mImageView = [[UIImageView alloc] init];
+    [_mImageView setBackgroundColor:[UIColor clearColor]];
+    //_mImageView.image = [UIImage imageNamed:@""];
+    [_cellBgView  addSubview:_mImageView];
+    [_mImageView setContentMode:(UIViewContentModeScaleAspectFit)];
+    [_mImageView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(15);
+        make.width.mas_equalTo(42);
+        make.height.mas_equalTo(42);
+        make.centerY.equalTo(self.mas_centerY);
+    }];
+    
+    
+    /**标题*/
+    _titleLabel = [[UILabel alloc] init];
+    [_cellBgView addSubview:_titleLabel];
+    _titleLabel.font = [UIFont systemFontOfSize:12.f];
+    _titleLabel.numberOfLines = 2;
+    _titleLabel.lineBreakMode = NSLineBreakByTruncatingMiddle;
+    [_titleLabel setTextColor:HW666666Color];
+    [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.equalTo(_mImageView.mas_right).offset(5.f);
+        //make.right.equalTo(self.mas_centerX).offset(5.f);
+        make.height.equalTo(_mImageView.mas_height);
+        make.top.equalTo(_mImageView.mas_top);
+    }];
+    
+    /**副标题*/
+    _contentLabel = [[UILabel alloc] init];
+    [_cellBgView addSubview:_contentLabel];
+    _contentLabel.font = [UIFont systemFontOfSize:14.f];
+    _contentLabel.lineBreakMode = NSLineBreakByTruncatingMiddle;
+    [_contentLabel setTextAlignment:(NSTextAlignmentRight)];
+    [_contentLabel setTextColor:HW0A132BColor];
+    [_contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.right.mas_equalTo(-20);
+        //make.left.mas_equalTo(_titleLabel.mas_left);
+        make.height.equalTo(_mImageView.mas_height);
+        make.top.equalTo(_titleLabel.mas_top);
+    }];
+    
+    /*右侧箭头*/
+    _rightImage = [[UIImageView alloc] init];
+    _rightImage.hidden = YES;
+    [_rightImage setBackgroundColor:[UIColor clearColor]];
+    [_rightImage setImage:[UIImage imageNamed:@"cell_right_access"]];
+    [_cellBgView addSubview:_rightImage];
+    [_rightImage mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(20);
+        make.right.mas_equalTo(-20.f);
+        make.height.mas_equalTo(20);
+        make.centerY.equalTo(_cellBgView.mas_centerY);
+    }];
+    
+}
+
+- (void)setShowLeftImageType:(BOOL)showLeftImageType
+{
+    //默认显示
+    if(showLeftImageType) return;
+    
+    /**标题*/
+    [_titleLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(15);
+        //make.right.equalTo(self.mas_centerX).offset(5.f);
+        make.height.equalTo(_mImageView.mas_height);
+        make.top.equalTo(_mImageView.mas_top);
+    }];
+    
+}
+
+- (void)setShowRightImageType:(BOOL)showRightImageType
+{
+  
+    if(showRightImageType){
+        _rightImage.hidden = NO;
+        [_contentLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
+            make.right.equalTo(_rightImage.mas_left).offset(-5);
+            //make.left.mas_equalTo(_titleLabel.mas_left);
+            make.height.equalTo(_mImageView.mas_height);
+            make.top.equalTo(_titleLabel.mas_top);
+        }];
+    }
+    else{
+        _rightImage.hidden = YES;
+        [_contentLabel mas_remakeConstraints:^(MASConstraintMaker *make) {
+            make.right.equalTo(_rightImage.mas_right).offset(0);
+            //make.left.mas_equalTo(_titleLabel.mas_left);
+            make.height.equalTo(_mImageView.mas_height);
+            make.top.equalTo(_titleLabel.mas_top);
+        }];
+    }
+    
+}
+@end

+ 204 - 58
创维盒子/双子星云手机/Class/Set/appUpdate/AboutViewController.m

@@ -16,15 +16,18 @@
 #import "netWorkManager.h"
 #import "SuperModel.h"
 #import "allVersionView.h"
+#import "baseTableViewCell.h"
 
-@interface AboutViewController ()
+@interface AboutViewController ()<UITableViewDelegate,UITableViewDataSource>
 @property (nonatomic, strong) UIButton *checUpdatekBtn;
 // gradient
 @property (nonatomic, strong)CAGradientLayer *gl_checkVersonBut;
 @property (nonatomic, strong) UIButton *ruleBtn;
 @property (nonatomic, strong) UIButton *privateBtn;
 @property (nonatomic, strong) HWVersionModel *versionModel;
-
+@property (nonatomic, strong) UITableView* tableView;
+@property (nonatomic, strong) NSArray* msgTitleArr;
+@property(nonatomic,strong)couldphoneSysInfoModel *couldphoneSysInfoMod;
 @end
 
 @implementation AboutViewController
@@ -32,10 +35,16 @@
 - (void)viewDidLoad {
     [super viewDidLoad];
 
+    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getCouldPhoneBaseInfoFun:)  name:getCouldPhoneSysInfoNotification  object:nil];
+    
     [self drawAnyView];
     
     //数据埋点
     [[netWorkManager shareInstance] DataEmbeddingPointBy:2 withEventValue:@"Version_information"];
+    
+    if(_getSysInfo){
+        _getSysInfo();
+    }
 }
 
 - (void)viewDidAppear:(BOOL)animated {
@@ -59,7 +68,7 @@
         make.width.mas_equalTo(72.f);
         make.height.mas_equalTo(72.f);
         make.centerX.equalTo(self.view.mas_centerX);
-        make.top.equalTo(self.navBarBGView.mas_bottom).offset(123.f);
+        make.top.equalTo(self.navBarBGView.mas_bottom).offset(60.f);
     }];
     [topImage.layer setCornerRadius:15.f];
     topImage.clipsToBounds = YES;
@@ -86,20 +95,20 @@
     }];
     
     /*版本号*/
-    UILabel *versionLabel = [[UILabel alloc] init];
-    [versionLabel setBackgroundColor:[UIColor clearColor]];
-    [versionLabel setTextColor:HW333333Color];
-    [versionLabel setFont:[UIFont systemFontOfSize:13.f]];
-    [versionLabel setTextAlignment:(NSTextAlignmentCenter)];
-    NSString *vers = [iPhone appVersion];
-    [versionLabel setText:[NSString stringWithFormat:@"V%@",vers]];
-    [self.view addSubview:versionLabel];
-    [versionLabel mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.top.equalTo(appName.mas_bottom).offset(10.f);
-        make.right.mas_equalTo(-27.f);
-        make.left.mas_equalTo(27.f);
-        make.height.mas_equalTo(20.f);
-    }];
+//    UILabel *versionLabel = [[UILabel alloc] init];
+//    [versionLabel setBackgroundColor:[UIColor clearColor]];
+//    [versionLabel setTextColor:HW333333Color];
+//    [versionLabel setFont:[UIFont systemFontOfSize:13.f]];
+//    [versionLabel setTextAlignment:(NSTextAlignmentCenter)];
+//    NSString *vers = [iPhone appVersion];
+//    [versionLabel setText:[NSString stringWithFormat:@"V%@",vers]];
+//    [self.view addSubview:versionLabel];
+//    [versionLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+//        make.top.equalTo(appName.mas_bottom).offset(10.f);
+//        make.right.mas_equalTo(-27.f);
+//        make.left.mas_equalTo(27.f);
+//        make.height.mas_equalTo(20.f);
+//    }];
     
     /*开始体验*/
     _checUpdatekBtn = [[UIButton alloc] init];
@@ -125,53 +134,174 @@
     [_checUpdatekBtn mas_makeConstraints:^(MASConstraintMaker *make) {
         make.centerX.equalTo(self.view.mas_centerX);
         make.width.mas_equalTo(160.f);
-        make.top.equalTo(versionLabel.mas_bottom).offset(25.f);
+        //make.top.equalTo(versionLabel.mas_bottom).offset(25.f);
+        make.top.equalTo(appName.mas_bottom).offset(25.f);
         make.height.mas_equalTo(48.f);
     }];
     
-    UIButton *privateBtn = [UIButton buttonWithType:UIButtonTypeCustom];
-    self.privateBtn = privateBtn;
-    privateBtn.titleLabel.font = [UIFont systemFontOfSize:13.f];
-    [privateBtn setTitle:NSLocalizedString(@"app_update_private",nil) forState:UIControlStateNormal];
-    [privateBtn setTitleColor:HW13B2EBColor forState:UIControlStateNormal];
-    [privateBtn setBackgroundColor:[UIColor clearColor]];
-    [privateBtn addTarget:self action:@selector(privateBtnClick) forControlEvents:UIControlEventTouchUpInside];
-    privateBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
-    [self.view addSubview:privateBtn];
-    [privateBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-80-AdaptTabHeight);
-        //make.width.mas_equalTo(55);
-        make.width.mas_equalTo(130);
-        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];
-    [ruleBtn setTitle:NSLocalizedString(@"app_update_use_deal",nil) forState:UIControlStateNormal];
-    [ruleBtn setTitleColor:HW13B2EBColor forState:UIControlStateNormal];
-    [ruleBtn setBackgroundColor:[UIColor clearColor]];
-    [ruleBtn addTarget:self action:@selector(ruleBtnClick) forControlEvents:UIControlEventTouchUpInside];
-    ruleBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;
-    [self.view addSubview:ruleBtn];
-    [ruleBtn mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.bottom.mas_equalTo(-80-AdaptTabHeight);
-        //make.width.mas_equalTo(55);
-        make.width.mas_equalTo(130);
-        make.height.mas_equalTo(38);
-        make.right.equalTo(self.view.mas_centerX).offset(-6);
-    }];
+    //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)];
     
-    UIView *lineView = [[UIView alloc] init];
-    [lineView setBackgroundColor:HW999999Color];
-    [self.view addSubview:lineView];
-    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.centerX.equalTo(self.view.mas_centerX);
-        make.width.mas_equalTo(1);
-        make.height.mas_equalTo(14);
-        make.centerY.equalTo(ruleBtn.mas_centerY);
+ 
+    [self.view addSubview:self.tableView];
+    
+    [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);
     }];
+    
+//    UIButton *privateBtn = [UIButton buttonWithType:UIButtonTypeCustom];
+//    self.privateBtn = privateBtn;
+//    privateBtn.titleLabel.font = [UIFont systemFontOfSize:13.f];
+//    [privateBtn setTitle:NSLocalizedString(@"app_update_private",nil) forState:UIControlStateNormal];
+//    [privateBtn setTitleColor:HW13B2EBColor forState:UIControlStateNormal];
+//    [privateBtn setBackgroundColor:[UIColor clearColor]];
+//    [privateBtn addTarget:self action:@selector(privateBtnClick) forControlEvents:UIControlEventTouchUpInside];
+//    privateBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
+//    [self.view addSubview:privateBtn];
+//    [privateBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+//        make.bottom.mas_equalTo(-80-AdaptTabHeight);
+//        //make.width.mas_equalTo(55);
+//        make.width.mas_equalTo(130);
+//        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];
+//    [ruleBtn setTitle:NSLocalizedString(@"app_update_use_deal",nil) forState:UIControlStateNormal];
+//    [ruleBtn setTitleColor:HW13B2EBColor forState:UIControlStateNormal];
+//    [ruleBtn setBackgroundColor:[UIColor clearColor]];
+//    [ruleBtn addTarget:self action:@selector(ruleBtnClick) forControlEvents:UIControlEventTouchUpInside];
+//    ruleBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentRight;
+//    [self.view addSubview:ruleBtn];
+//    [ruleBtn mas_makeConstraints:^(MASConstraintMaker *make) {
+//        make.bottom.mas_equalTo(-80-AdaptTabHeight);
+//        //make.width.mas_equalTo(55);
+//        make.width.mas_equalTo(130);
+//        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];
+//    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
+//        make.centerX.equalTo(self.view.mas_centerX);
+//        make.width.mas_equalTo(1);
+//        make.height.mas_equalTo(14);
+//        make.centerY.equalTo(ruleBtn.mas_centerY);
+//    }];
+}
+
+#pragma mark - 懒加载
+- (UITableView *)tableView{
+    if (!_tableView) {
+        _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H - TABBARHEIGHT) style:UITableViewStylePlain];
+        _tableView.delegate = self;
+        _tableView.dataSource = self;
+        _tableView.showsVerticalScrollIndicator = NO;
+        _tableView.showsHorizontalScrollIndicator = NO;
+//        _tableView.contentInset = UIEdgeInsetsMake(-H_STATE_BAR, 0, 0, 0);
+        [_tableView setSeparatorStyle:(UITableViewCellSeparatorStyleNone)];
+        [_tableView setSeparatorColor:[UIColor clearColor]];
+        [_tableView setBackgroundColor:[UIColor whiteColor]];
+        _tableView.layer.cornerRadius = 8;
+        _tableView.scrollEnabled = NO;
+        [_tableView setTableFooterView:[UIView new]];
+        [_tableView setBounces:YES];
+        
+        if (@available(iOS 15.0, *)) {
+            _tableView.sectionHeaderTopPadding = 0;
+        }
+
+    }
+    
+    return _tableView;
+}
+
+#pragma mark - 列表委托
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
+    return 1;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
+    return _msgTitleArr.count;
+}
+
+- (baseTableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
+    
+    __block NSInteger row = indexPath.row;
+    static NSString *identifier = @"baseTableViewCell";
+    
+    baseTableViewCell * cell =  [tableView dequeueReusableCellWithIdentifier:identifier];
+    cell.selectionStyle = UITableViewCellSelectionStyleNone;
+    if (!cell){
+        cell = [[baseTableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
+        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
+        [cell setAccessoryType:(UITableViewCellAccessoryNone)];
+        
+        cell.showLeftImageType = NO;
+    }
+    //左边标题
+    cell.showRightImageType = NO;
+    if (row < _msgTitleArr.count) {
+        NSString *title = _msgTitleArr[row];
+        cell.titleLabel.text = title;
+    
+        if(row == 0 || row ==1){
+            cell.showRightImageType = YES;
+            cell.contentLabel.hidden = YES;
+        }
+        else if(row == 2){
+            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;
+            }
+        }
+    }
+    
+    return cell;
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
+    return 40;
+}
+
+- (UIView*)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
+    return  [UIView new];
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
+    return 20;
+}
+
+- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    NSInteger row = indexPath.row;
+    
+    if(row == 0){
+        [self ruleBtnClick];
+    }
+    else if(row ==1){
+        [self privateBtnClick];
+    }
 }
 
 - (UIImage *)getAppIcon{
@@ -335,4 +465,20 @@
         _getSysInfo();
     }
 }
+
+- (void)getCouldPhoneBaseInfoFun:(NSNotification*)not
+{
+    _couldphoneSysInfoMod = [not object];
+    //HLog(@"%@",baseInfoModel);
+    
+    if(!_couldphoneSysInfoMod || ![_couldphoneSysInfoMod isKindOfClass:[couldphoneSysInfoModel class]]){
+        return;
+    }
+    
+    KWeakSelf
+    mainBlock(^{
+        [weakSelf.tableView reloadData];
+    });
+    
+}
 @end

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

@@ -628,4 +628,6 @@
 "webrtc_msg_delayed"   = "延迟:";
 "webrtc_msg_PacketLoss"   = "丢包:";
 "webrtc_msg_speed"   = "带宽:";
-//"mjRefresh_tail_nodata_tip"   = "带宽:";
+"app_version_current"   = "app当前版本";
+"system_version_current"   = "系统当前版本";
+"asystem_version_wait_update"   = "系统待更新版本";