huangxiaodong 2 years ago
parent
commit
931b88e38f
1 changed files with 12 additions and 1 deletions
  1. 12 1
      创维盒子/双子星云手机/Class/Set/view/allVersionView.m

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

@@ -27,6 +27,7 @@
     self.backgroundColor = [UIColor hwColor:@"#000000" alpha:0.6];
     
     _whiteBgView = [[UIView alloc] init];
+    _whiteBgView.layer.cornerRadius = 8;
     [self addSubview:_whiteBgView];
     
     [_whiteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -36,8 +37,18 @@
         make.centerY.mas_equalTo(self.center).offset(-20);
     }];
     
-    //UIButton* delBut = [[UIButton alloc] init];
+    UIButton* delBut = [[UIButton alloc] init];
+    [delBut setImage:[UIImage imageNamed:@"common_del"] forState:UIControlStateNormal];
+    [_whiteBgView addSubview:delBut];
     
+    [delBut mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.top.mas_equalTo(0);
+        make.right.mas_equalTo(0);
+        make.width.mas_equalTo(40);
+        make.height.mas_equalTo(40.0);
+    }];
+    
+    //UILabel * version
 }
 
 #pragma mark - 懒加载