Przeglądaj źródła

1.需求:app安装到TV --进行中(UI初步完成)2

huangxiaodong 2 miesięcy temu
rodzic
commit
7d1c2e28ce

+ 3 - 0
创维盒子/code/AppDelegate/Config/Const.h

@@ -175,6 +175,9 @@ UIKIT_EXTERN NSString *const Const_audio_pre_disk_check;
 /*记录上一次的文件预览磁盘*/
 UIKIT_EXTERN NSString *const Const_file_pre_disk_check;
 
+/*记录上一次的视频预览磁盘*/
+UIKIT_EXTERN NSString *const Const_APP_pre_disk_check;
+
 /*云手机模式是否 YES:打开  其他关闭*/
 UIKIT_EXTERN NSString *const Const_cloudPhone_Model_Open;
 

+ 3 - 0
创维盒子/code/AppDelegate/Config/Const.m

@@ -172,6 +172,9 @@ NSString *const Const_audio_pre_disk_check = @"audio_pre_disk_check";
 /*记录上一次的文件预览磁盘*/
 NSString *const Const_file_pre_disk_check = @"file_pre_disk_check";
 
+/*记录上一次的视频预览磁盘*/
+NSString *const Const_APP_pre_disk_check = @"app_pre_disk_check";
+
 /*云手机模式是否 YES:打开  其他关闭*/
 NSString *const Const_cloudPhone_Model_Open = @"cloudPhone_Model_Open";
 

+ 22 - 0
创维盒子/code/Assets.xcassets/Set/edit_TV_icon.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "edit_TV_icon@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "edit_TV_icon@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
创维盒子/code/Assets.xcassets/Set/edit_TV_icon.imageset/edit_TV_icon@2x.png


BIN
创维盒子/code/Assets.xcassets/Set/edit_TV_icon.imageset/edit_TV_icon@3x.png


+ 26 - 13
创维盒子/code/NAS/NasPreviewAPPViewController.m

@@ -15,7 +15,7 @@
 #import "diskListTableView.h"
 #import "downLoadPreViewCell.h"
 #import "editTypeHeadView.h"
-#import "editTypeBottomView.h"
+#import "editAPPBottomView.h"
 #import "editShareView.h"
 #import "previewToUploadFileView.h"
 #import "netWorkManager.h"
@@ -50,7 +50,7 @@
 @property (nonatomic, copy) NSString *defaultDiskPath;
 @property(nonatomic,assign) BOOL isEditType;
 @property(nonatomic,strong) editTypeHeadView*curEditTypeHeadView;
-@property(nonatomic,strong) editTypeBottomView*curEditTypeBottomView;
+@property(nonatomic,strong) editAPPBottomView*curEditTypeBottomView;
 @property(nonatomic,strong) UIButton*uploadFileButton;
 
 @property(nonatomic,strong) appInstallTypeView* appInstallTypeV;//tab
@@ -109,7 +109,7 @@
     };
     
     
-    _curEditTypeBottomView = [[editTypeBottomView alloc] init];
+    _curEditTypeBottomView = [[editAPPBottomView alloc] init];
     _curEditTypeBottomView.hidden = YES;
     [self.view addSubview:_curEditTypeBottomView];
     
@@ -144,7 +144,7 @@
         make.height.mas_equalTo(40);
     }];
     
-#pragma mark 点击接收的下载或者保存
+#pragma mark 点击已安装和未安装
     _appInstallTypeV.didClickbuttonFun = ^(NSInteger tag) {
         [weakSelf didClickHeadTabButtonFun:tag];
     };
@@ -182,13 +182,14 @@
     
     if(arr.count >0){
         //上一次选中的磁盘
-        NSString*preChekDiskStr =  [HWDataManager getStringWithKey:Const_video_pre_disk_check];
+        NSString*preChekDiskStr =  [HWDataManager getStringWithKey:Const_APP_pre_disk_check];
         
         //1.没有选择过 默认选择第一次(云机)
         if(!preChekDiskStr || preChekDiskStr.length == 0){
             cloudPhoneExtraFileModel *model = arr.firstObject;
             model.isCheckType = YES;
             _defaultDiskPath = model.extraPath;
+            isDefaultTabType = YES;
         }
         else{//2.选择过 查询磁盘是否还存在
             BOOL didCheckDisk = NO;
@@ -202,11 +203,14 @@
                 }
             }
             
+            
+            isDefaultTabType = NO;
             //3.选择过 查询磁盘不存在
             if(!didCheckDisk){
                 cloudPhoneExtraFileModel *model = arr.firstObject;
                 model.isCheckType = YES;
                 _defaultDiskPath = model.extraPath;
+                isDefaultTabType = YES;
             }
         }
     }
@@ -372,7 +376,7 @@
     
     //保存选中的磁盘
     if(pathStr){
-        [HWDataManager setStringWithKey:Const_video_pre_disk_check value:pathStr];
+        [HWDataManager setStringWithKey:Const_APP_pre_disk_check value:pathStr];
     }
     
     self.defaultDiskPath = pathStr;
@@ -570,6 +574,13 @@
 {
     self.appInstallTypeV.hidden = !isDefaultTabType;
     
+    if(isDefaultTabType){
+        _curInstalledAppListMod = _getInstalledAppListMod;
+    }
+    else{
+        _curInstalledAppListMod = _getUninstalledAppListMod;
+    }
+    
     [self.tableView  reloadData];
     
     [self.tableView  mas_remakeConstraints:^(MASConstraintMaker *make) {
@@ -705,6 +716,7 @@
             _curInstalledAppListMod = _getUninstalledAppListMod;
         }
         
+        
         [self RefreshAllUIFun];
     }
     
@@ -918,9 +930,8 @@
         [weakSelf removeNewIndicatorHaveStr];
         weakSelf.getInstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:responseObject error:nil];
         
-        if(weakSelf.getInstalledAppListMod && weakSelf.getInstalledAppListMod.status == 0 && weakSelf.appInstallTypeV.installButton.selected){
-            weakSelf.curInstalledAppListMod = weakSelf.getInstalledAppListMod;
-            [weakSelf.tableView reloadData];
+        if(weakSelf.getInstalledAppListMod && weakSelf.getInstalledAppListMod.status == 0){
+            [weakSelf RefreshAllUIFun];
         }
         
     } failure:^(NSError * _Nonnull error) {
@@ -988,9 +999,8 @@
         [weakSelf removeNewIndicatorHaveStr];
         weakSelf.getUninstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:responseObject error:nil];
         
-        if(weakSelf.getUninstalledAppListMod && weakSelf.getUninstalledAppListMod.status == 0 && weakSelf.appInstallTypeV.unInstallButton.selected){
-            weakSelf.curInstalledAppListMod = weakSelf.getUninstalledAppListMod;
-            [weakSelf.tableView reloadData];
+        if(weakSelf.getUninstalledAppListMod && weakSelf.getUninstalledAppListMod.status == 0 ){
+            [weakSelf RefreshAllUIFun];
         }
         
     } failure:^(NSError * _Nonnull error) {
@@ -1170,7 +1180,8 @@
         queryShareModel *queryShareMod = [[queryShareModel alloc] initWithDictionary:responseObject error:nil];
         if(queryShareMod){
             self->canShareType = queryShareMod.data.configValue;
-            [weakSelf.curEditTypeBottomView setCanShaewFunBy:queryShareMod.data.configValue];
+            weakSelf.curEditTypeBottomView.isCanShareType = self->canShareType;
+            //[weakSelf.curEditTypeBottomView setCanShaewFunBy:queryShareMod.data.configValue];
         }
         
     } failure:^(NSError * _Nonnull error) {
@@ -1182,9 +1193,11 @@
 {
     if(tag == 1){
         _curInstalledAppListMod = _getInstalledAppListMod;
+        self.curEditTypeBottomView.isCanDeleteType = NO;
     }
     else{
         _curInstalledAppListMod = _getUninstalledAppListMod;
+        self.curEditTypeBottomView.isCanDeleteType = YES;
     }
     
     [_tableView reloadData];

+ 21 - 0
创维盒子/code/NAS/view/editAPPBottomView.h

@@ -0,0 +1,21 @@
+//
+//  editAPPBottomView.h
+//  双子星云手机
+//
+//  Created by xd h on 2025/3/14.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface editAPPBottomView : UIView
+@property (nonatomic,copy) void (^didClickButtonFun)(NSInteger tag);
+//@property (nonatomic,assign) BOOL isBlackType;//黑色底部
+@property (nonatomic,assign) BOOL isCanDeleteType;//是否能删除
+@property (nonatomic,assign) BOOL isCanShareType;//是否能分享
+
+- (void)setButtonStateFunBy:(BOOL)canClick;
+@end
+
+NS_ASSUME_NONNULL_END

+ 370 - 0
创维盒子/code/NAS/view/editAPPBottomView.m

@@ -0,0 +1,370 @@
+//
+//  editAPPBottomView.m
+//  双子星云手机
+//
+//  Created by xd h on 2025/3/14.
+//
+
+#import "editAPPBottomView.h"
+#import "nasDownloadFileManager.h"
+
+@interface editAPPBottomView ()
+@property(nonatomic,strong) UIButton*oneButton;
+@property(nonatomic,strong) UIImageView*oneImageV;
+@property(nonatomic,strong) UILabel *oneLabel;
+
+@property(nonatomic,strong) UIButton*twoButton;
+@property(nonatomic,strong) UIImageView*twoImageV;
+@property(nonatomic,strong) UILabel *twoLabel;
+
+@property(nonatomic,strong) UIButton*threeButton;
+@property(nonatomic,strong) UIImageView*threeImageV;
+@property(nonatomic,strong) UILabel *threeLabel;
+
+@property(nonatomic,strong) UIButton*fourButton;
+@property(nonatomic,strong) UIImageView*fourImageV;
+@property(nonatomic,strong) UILabel *fourLabel;
+
+@end
+
+@implementation editAPPBottomView
+
+- (id)initWithFrame:(CGRect)frame{
+    self = [super initWithFrame:frame];
+    self.backgroundColor = [UIColor whiteColor];
+    [self drawAnyView];
+    return self;
+}
+
+- (void)drawAnyView{
+    
+    CGFloat curButFullWidth = SCREEN_W/3.0;
+    
+    _oneButton = [[UIButton alloc] init];
+    [_oneButton addTarget:self action:@selector(didClickButFun:) forControlEvents:UIControlEventTouchUpInside];
+    _oneButton.tag = 1;
+    [self addSubview:_oneButton];
+    
+    [_oneButton mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.left.mas_equalTo(0);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    _oneImageV = [[UIImageView alloc] init];
+    _oneImageV.image = [UIImage imageNamed:@"edit_download_icon"];
+    [_oneButton addSubview:_oneImageV];
+    
+    [_oneImageV mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(25);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_oneButton.mas_centerX);
+        make.centerY.equalTo(_oneButton.mas_centerY).offset(-10);
+    }];
+    
+    _oneLabel = [[UILabel alloc] init];
+    _oneLabel.textColor = [UIColor hwColor:@"#0A132B"];
+    _oneLabel.textAlignment = NSTextAlignmentCenter;
+    _oneLabel.font = [UIFont systemFontOfSize:12.0];
+    _oneLabel.text = NSLocalizedString(@"my_set_no_File_download",nil);
+    [_oneButton addSubview:_oneLabel];
+    
+    [_oneLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_oneButton.mas_centerX);
+        make.centerY.equalTo(_oneButton.mas_centerY).offset(10);
+    }];
+    
+    _twoButton = [[UIButton alloc] init];
+    [_twoButton addTarget:self action:@selector(didClickButFun:) forControlEvents:UIControlEventTouchUpInside];
+    _twoButton.tag = 2;
+    [self addSubview:_twoButton];
+    
+    [_twoButton mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.left.mas_equalTo(curButFullWidth);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    _twoImageV = [[UIImageView alloc] init];
+    _twoImageV.image = [UIImage imageNamed:@"edit_share_icon"];
+    [_twoButton addSubview:_twoImageV];
+    
+    [_twoImageV mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(25);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_twoButton.mas_centerX);
+        make.centerY.equalTo(_twoButton.mas_centerY).offset(-10);
+    }];
+    
+    _twoLabel = [[UILabel alloc] init];
+    _twoLabel.textColor = [UIColor hwColor:@"#0A132B"];
+    _twoLabel.textAlignment = NSTextAlignmentCenter;
+    _twoLabel.font = [UIFont systemFontOfSize:12.0];
+    _twoLabel.text = NSLocalizedString(@"common_edit_share",nil);
+    [_twoButton addSubview:_twoLabel];
+    
+    [_twoLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_twoButton.mas_centerX);
+        make.centerY.equalTo(_twoButton.mas_centerY).offset(10);
+    }];
+    
+    
+    _threeButton = [[UIButton alloc] init];
+    [_threeButton addTarget:self action:@selector(didClickButFun:) forControlEvents:UIControlEventTouchUpInside];
+    _threeButton.tag = 3;
+    [self addSubview:_threeButton];
+    
+    [_threeButton mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.right.mas_equalTo(0);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    _threeImageV = [[UIImageView alloc] init];
+    _threeImageV.image = [UIImage imageNamed:@"edit_del_icon"];
+    [_threeButton addSubview:_threeImageV];
+    
+    [_threeImageV mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(25);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_threeButton.mas_centerX);
+        make.centerY.equalTo(_threeButton.mas_centerY).offset(-10);
+    }];
+    
+    _threeLabel = [[UILabel alloc] init];
+    _threeLabel.textColor = [UIColor hwColor:@"#0A132B"];
+    _threeLabel.textAlignment = NSTextAlignmentCenter;
+    _threeLabel.font = [UIFont systemFontOfSize:12.0];
+    _threeLabel.text = NSLocalizedString(@"File_upload_Record_delete",nil);
+    [_threeButton addSubview:_threeLabel];
+    
+    [_threeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_threeButton.mas_centerX);
+        make.centerY.equalTo(_threeButton.mas_centerY).offset(10);
+    }];
+//
+    
+    _fourButton = [[UIButton alloc] init];
+    [_fourButton addTarget:self action:@selector(didClickButFun:) forControlEvents:UIControlEventTouchUpInside];
+    _fourButton.tag = 4;
+    [self addSubview:_fourButton];
+    
+    [_fourButton mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.right.mas_equalTo(0);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    _fourImageV = [[UIImageView alloc] init];
+    _fourImageV.image = [UIImage imageNamed:@"edit_TV_icon"];
+    [_fourButton addSubview:_fourImageV];
+    
+    [_fourImageV mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(25);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_fourButton.mas_centerX);
+        make.centerY.equalTo(_fourButton.mas_centerY).offset(-10);
+    }];
+    
+    _fourLabel = [[UILabel alloc] init];
+    _fourLabel.textColor = [UIColor hwColor:@"#0A132B"];
+    _fourLabel.textAlignment = NSTextAlignmentCenter;
+    _fourLabel.font = [UIFont systemFontOfSize:12.0];
+    _fourLabel.text = NSLocalizedString(@"edit_install_TV_title",nil);
+    [_fourButton addSubview:_fourLabel];
+    
+    [_fourLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.height.mas_equalTo(25);
+        make.centerX.equalTo(_fourButton.mas_centerX);
+        make.centerY.equalTo(_fourButton.mas_centerY).offset(10);
+    }];
+}
+
+- (void)didClickButFun:(UIButton*)but
+{
+    NSInteger tag = but.tag;
+    
+    if(tag == 1){
+        //1.4.3 新需求 有传输任务超过200个时 不给上传
+        if([nasDownloadFileManager shareInstance].downLoadFileModelDataArr.count >= 200){
+            [[iToast makeText:NSLocalizedString(@"download_task_not_done_tip",nil)] show];
+            return;
+        }
+    }
+    
+    if(_didClickButtonFun){
+        _didClickButtonFun(tag);
+    }
+}
+
+- (void)setIsCanShareType:(BOOL)isCanShareType
+{
+    _isCanShareType = isCanShareType;
+    [self updateUIFun];
+}
+
+- (void)setIsCanDeleteType:(BOOL)isCanDeleteType
+{
+    _isCanDeleteType = isCanDeleteType;
+    [self updateUIFun];
+}
+
+- (void)setButtonStateFunBy:(BOOL)canClick
+{
+    CGFloat alpha = canClick ? 1.0 : 0.5;
+    _oneButton.enabled = canClick;
+    _twoButton.enabled = canClick;
+    _threeButton.enabled = canClick;
+    _fourButton.enabled = canClick;
+    
+    _oneButton.alpha = alpha;
+    _twoButton.alpha = alpha;
+    _threeButton.alpha = alpha;
+    _fourButton.alpha = alpha;
+}
+
+- (void)updateUIFun
+{
+    //test code
+    //canShare = NO;
+   
+    NSInteger butNumber = 4;
+    _twoButton.hidden = !_isCanShareType;
+    _threeButton.hidden = !_isCanDeleteType;
+    
+    if(!_isCanShareType){
+        butNumber -= 1;
+    }
+    
+    if(!_isCanDeleteType){
+        butNumber -= 1;
+    }
+    
+    CGFloat curButFullWidth = SCREEN_W/butNumber;
+    
+    [_oneButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.left.mas_equalTo(0);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    if (_isCanShareType) {
+        [_twoButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+            make.width.mas_equalTo(curButFullWidth);
+            make.left.mas_equalTo(curButFullWidth);
+            make.height.mas_equalTo(60);
+            make.top.mas_equalTo(0);
+        }];
+    }
+    
+    
+    [_fourButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(curButFullWidth);
+        make.right.mas_equalTo(0);
+        make.height.mas_equalTo(60);
+        make.top.mas_equalTo(0);
+    }];
+    
+    if (_isCanDeleteType) {
+        [_threeButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+            make.width.mas_equalTo(curButFullWidth);
+            make.right.mas_equalTo(-curButFullWidth);
+            make.height.mas_equalTo(60);
+            make.top.mas_equalTo(0);
+        }];
+    }
+    
+//    if(canShare){
+//        CGFloat curButFullWidth = SCREEN_W/3.0;
+//        [_leftButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+//            make.width.mas_equalTo(curButFullWidth);
+//            make.left.mas_equalTo(0);
+//            make.height.mas_equalTo(60);
+//            make.top.mas_equalTo(0);
+//        }];
+//        
+//        [_midButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+//            make.width.mas_equalTo(curButFullWidth);
+//            make.left.mas_equalTo(curButFullWidth);
+//            make.height.mas_equalTo(60);
+//            make.top.mas_equalTo(0);
+//        }];
+//        
+//        [_rightButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+//            make.width.mas_equalTo(curButFullWidth);
+//            make.right.mas_equalTo(0);
+//            make.height.mas_equalTo(60);
+//            make.top.mas_equalTo(0);
+//        }];
+//    }
+//    else{
+//        CGFloat curButFullWidth = SCREEN_W/2.0;
+//        [_leftButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+//            make.width.mas_equalTo(curButFullWidth);
+//            make.left.mas_equalTo(0);
+//            make.height.mas_equalTo(60);
+//            make.top.mas_equalTo(0);
+//        }];
+//        
+////        [_midButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+////            make.width.mas_equalTo(curButFullWidth);
+////            make.left.mas_equalTo(curButFullWidth);
+////            make.height.mas_equalTo(60);
+////            make.top.mas_equalTo(0);
+////        }];
+//        
+//        [_rightButton mas_remakeConstraints:^(MASConstraintMaker *make) {
+//            make.width.mas_equalTo(curButFullWidth);
+//            make.right.mas_equalTo(0);
+//            make.height.mas_equalTo(60);
+//            make.top.mas_equalTo(0);
+//        }];
+//    }
+}
+
+- (void)setIsBlackType:(BOOL)isBlackType
+{
+//    _isBlackType = isBlackType;
+//    if(isBlackType){
+//        self.backgroundColor = [UIColor clearColor];
+//        
+//        // gradient
+//        CAGradientLayer *gl = [CAGradientLayer layer];
+//        gl.frame = CGRectMake(0,0,SCREEN_W,60 + AdaptTabHeight);
+//        gl.startPoint = CGPointMake(0.5, 0);
+//        gl.endPoint = CGPointMake(0.5, 1);
+//        gl.colors = @[(__bridge id)[UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:0.0].CGColor, (__bridge id)[UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:1.0].CGColor];
+//        gl.locations = @[@(0), @(1.0f)];
+//        //[self.layer addSublayer:gl];
+//        [self.layer insertSublayer:gl atIndex:0];
+//        
+//        self.layer.shadowColor = [UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:0.0200].CGColor;
+//        self.layer.shadowOffset = CGSizeMake(0,-1);
+//        self.layer.shadowOpacity = 1;
+//        self.layer.shadowRadius = 1;
+//        
+//        //
+//        _leftImageV.image = [UIImage imageNamed:@"edit_download_white_icon"];
+//        _leftLabel.textColor = [UIColor whiteColor];
+//        
+//        _midImageV.image = [UIImage imageNamed:@"edit_share_white_icon"];
+//        _midLabel.textColor = [UIColor whiteColor];
+//        
+//        _rightImageV.image = [UIImage imageNamed:@"edit_del_white_icon"];
+//        _rightLabel.textColor = [UIColor whiteColor];
+//    }
+}
+@end
+

+ 1 - 0
创维盒子/code/zh-Hans.lproj/Localizable.strings

@@ -672,3 +672,4 @@
 "nas_app_title"      = "应用";
 "nas_did_install_app_title"      = "已安装应用";
 "nas_un_install_app_title"      = "未安装应用";
+"edit_install_TV_title"      = "安装到TV";

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

@@ -681,6 +681,10 @@
 		6B6C98042D82D8430095A4CA /* getInstalledAppListModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B6C98012D82D8430095A4CA /* getInstalledAppListModel.h */; };
 		6B6C98052D82D8430095A4CA /* getInstalledAppListModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B6C98012D82D8430095A4CA /* getInstalledAppListModel.h */; };
 		6B6C98062D82D8430095A4CA /* getInstalledAppListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B6C98022D82D8430095A4CA /* getInstalledAppListModel.m */; };
+		6B6C98092D8413E80095A4CA /* editAPPBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B6C98082D8413E80095A4CA /* editAPPBottomView.m */; };
+		6B6C980A2D8413E80095A4CA /* editAPPBottomView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B6C98072D8413E80095A4CA /* editAPPBottomView.h */; };
+		6B6C980B2D8413E80095A4CA /* editAPPBottomView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B6C98072D8413E80095A4CA /* editAPPBottomView.h */; };
+		6B6C980C2D8413E80095A4CA /* editAPPBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B6C98082D8413E80095A4CA /* editAPPBottomView.m */; };
 		6B6D42EB2C290A06006CAE3A /* cloudPhoneSetView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B6D42EA2C290A06006CAE3A /* cloudPhoneSetView.m */; };
 		6B6D42EC2C290A06006CAE3A /* cloudPhoneSetView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B6D42E92C290A06006CAE3A /* cloudPhoneSetView.h */; };
 		6B6D42ED2C290A06006CAE3A /* cloudPhoneSetView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B6D42EA2C290A06006CAE3A /* cloudPhoneSetView.m */; };
@@ -1999,6 +2003,8 @@
 		6B6C97FC2D82B5290095A4CA /* appInstallTypeView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = appInstallTypeView.m; sourceTree = "<group>"; };
 		6B6C98012D82D8430095A4CA /* getInstalledAppListModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = getInstalledAppListModel.h; sourceTree = "<group>"; };
 		6B6C98022D82D8430095A4CA /* getInstalledAppListModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = getInstalledAppListModel.m; sourceTree = "<group>"; };
+		6B6C98072D8413E80095A4CA /* editAPPBottomView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = editAPPBottomView.h; sourceTree = "<group>"; };
+		6B6C98082D8413E80095A4CA /* editAPPBottomView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = editAPPBottomView.m; sourceTree = "<group>"; };
 		6B6D42E92C290A06006CAE3A /* cloudPhoneSetView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cloudPhoneSetView.h; sourceTree = "<group>"; };
 		6B6D42EA2C290A06006CAE3A /* cloudPhoneSetView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = cloudPhoneSetView.m; sourceTree = "<group>"; };
 		6B6D42EF2C295BCD006CAE3A /* playerSetView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = playerSetView.h; sourceTree = "<group>"; };
@@ -3384,6 +3390,8 @@
 				6B0A75DE2C4CA3D300DCB32D /* audioPlayingView.m */,
 				6B6C97FB2D82B5290095A4CA /* appInstallTypeView.h */,
 				6B6C97FC2D82B5290095A4CA /* appInstallTypeView.m */,
+				6B6C98072D8413E80095A4CA /* editAPPBottomView.h */,
+				6B6C98082D8413E80095A4CA /* editAPPBottomView.m */,
 			);
 			path = view;
 			sourceTree = "<group>";
@@ -4245,6 +4253,7 @@
 				6B6ABEE02BFF3DD000480BAC /* receiveHeadView.h in Headers */,
 				184C8ADD2A949DBD00F26650 /* HWVersionModel.h in Headers */,
 				6BCCF1B22D1EA97200BAF144 /* imageVersionUpdateDoneView.h in Headers */,
+				6B6C980B2D8413E80095A4CA /* editAPPBottomView.h in Headers */,
 				6B05826F2AFF692700D37290 /* photoPreViewBottomView.h in Headers */,
 				6BA08F4B2C01D05B00A2242D /* CWFileStreamSeparation.h in Headers */,
 				6B7B65582AD9227700BE8CB3 /* PlayerViewController+otherDelegate.h in Headers */,
@@ -4549,6 +4558,7 @@
 				6B6ABEE22BFF3DD000480BAC /* receiveHeadView.h in Headers */,
 				6BD506D62B9576A4006E7CB0 /* HWVersionModel.h in Headers */,
 				6BCCF1B52D1EA97200BAF144 /* imageVersionUpdateDoneView.h in Headers */,
+				6B6C980A2D8413E80095A4CA /* editAPPBottomView.h in Headers */,
 				6BD506D72B9576A4006E7CB0 /* photoPreViewBottomView.h in Headers */,
 				6BA08F4C2C01D05B00A2242D /* CWFileStreamSeparation.h in Headers */,
 				6BD506D82B9576A4006E7CB0 /* PlayerViewController+otherDelegate.h in Headers */,
@@ -5172,6 +5182,7 @@
 				6B42C15A2C2A6C2700936268 /* SYJUISwitch.m in Sources */,
 				6B7EA7B92BF74BDB002D5CC2 /* shareBySecretView.m in Sources */,
 				6BD5077A2B9576A4006E7CB0 /* SetPWDFirstViewController.m in Sources */,
+				6B6C98092D8413E80095A4CA /* editAPPBottomView.m in Sources */,
 				6BD5077B2B9576A4006E7CB0 /* HWSearchBar.m in Sources */,
 				6BD5077C2B9576A4006E7CB0 /* HWFolderListCell.m in Sources */,
 				6BD5077D2B9576A4006E7CB0 /* RSA.m in Sources */,
@@ -5558,6 +5569,7 @@
 				6B42C1592C2A6C2700936268 /* SYJUISwitch.m in Sources */,
 				6B7EA7B72BF74BDB002D5CC2 /* shareBySecretView.m in Sources */,
 				186820262AB9B5BF005702A6 /* SetPWDFirstViewController.m in Sources */,
+				6B6C980C2D8413E80095A4CA /* editAPPBottomView.m in Sources */,
 				A003F6F827D8775A00715CBF /* HWSearchBar.m in Sources */,
 				A00221E027EB0EBF00E45F78 /* HWFolderListCell.m in Sources */,
 				A003F6D027D8425C00715CBF /* RSA.m in Sources */,