huangxiaodong il y a 1 an
Parent
commit
bcfbd04b29

+ 22 - 0
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_downLoad.imageset/Contents.json

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

BIN
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_downLoad.imageset/uploadFile_bg_downLoad@2x.png


BIN
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_downLoad.imageset/uploadFile_bg_downLoad@3x.png


+ 22 - 0
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_upload.imageset/Contents.json

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

BIN
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_upload.imageset/uploadFile_bg_upload@2x.png


BIN
创维盒子/双子星云手机/Assets.xcassets/Set/uploadFile_bg_upload.imageset/uploadFile_bg_upload@3x.png


+ 4 - 3
创维盒子/双子星云手机/Class/Set/MySetViewController.m

@@ -133,9 +133,10 @@
         case 2:
         case 3:
         {
-//            fileTransferPopView * fileTransferPopV = [[fileTransferPopView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H)];
-//            
-//            return;
+            fileTransferPopView * fileTransferPopV = [[fileTransferPopView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H)];
+            [self.view.window addSubview:fileTransferPopV];
+            
+            return;
             
             if(self->_getBaseInfo){
                 self->_getBaseInfo();

+ 24 - 0
创维盒子/双子星云手机/Class/Set/uploadFile/fileTransferPopView.m

@@ -19,6 +19,30 @@
 
 - (void)drawAnyView{
     [self setBackgroundColor:[UIColor hwColor:@"#000000" alpha:0.6]];
+    
+    UIView *whiteBgView = [[UIView alloc] init];
+    whiteBgView.backgroundColor = [UIColor whiteColor];
+    whiteBgView.layer.cornerRadius = 12;
+    [self addSubview:whiteBgView];
+    
+    [whiteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(0);
+        make.right.mas_equalTo(0);
+        make.height.mas_equalTo(237+ 10);
+        make.bottom.mas_equalTo(10);
+    }];
+    
+    UIView *blackView = [[UIView alloc] init];
+    whiteBgView.backgroundColor = [UIColor blackColor];
+    whiteBgView.layer.cornerRadius = 2;
+    [self addSubview:whiteBgView];
+    
+    [whiteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(40);
+        make.height.mas_equalTo(4);
+        make.centerX.mas_equalTo(0);
+        make.top.mas_equalTo(8);
+    }];
 }
 
 @end