Browse Source

1.我的页面修改

huangxiaodong 1 year ago
parent
commit
81197615ef
1 changed files with 15 additions and 13 deletions
  1. 15 13
      创维盒子/双子星云手机/mine/mineViewController.m

+ 15 - 13
创维盒子/双子星云手机/mine/mineViewController.m

@@ -66,6 +66,20 @@
         make.height.mas_equalTo(48);
     }];
     
+    _snLabel = [[UILabel alloc] init];
+    _snLabel.font = [UIFont boldSystemFontOfSize:14.0];
+    _snLabel.textColor = [UIColor hwColor:@"#0A132B"];
+    //_fileNamelabel.backgroundColor = [UIColor greenColor];
+    [self.view addSubview:_snLabel];
+    
+    [_snLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.equalTo(TipImageV.mas_right).offset(5);
+        make.right.mas_equalTo(-16);
+        //make.centerY.mas_equalTo(TipImageV.mas_centerY).offset(0);
+        make.top.mas_equalTo(TipImageV.mas_top).offset(0);
+        make.height.mas_equalTo(20);
+    }];
+    
     
     _netButton = [[UIButton alloc] init];
     [_netButton setImage:[UIImage imageNamed:@"mine_net_icon"] forState:UIControlStateNormal];
@@ -86,20 +100,8 @@
         //make.width.mas_equalTo(58);
         make.width.mas_equalTo(70);
         make.height.mas_equalTo(24);
-        make.right.mas_equalTo(-16);
-        make.centerY.mas_equalTo(TipImageV.mas_centerY).offset(0);
-    }];
-    
-    _snLabel = [[UILabel alloc] init];
-    _snLabel.font = [UIFont boldSystemFontOfSize:14.0];
-    _snLabel.textColor = [UIColor hwColor:@"#0A132B"];
-    //_fileNamelabel.backgroundColor = [UIColor greenColor];
-    [self.view addSubview:_snLabel];
-    
-    [_snLabel mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.equalTo(TipImageV.mas_right).offset(5);
-        make.right.equalTo(_netButton.mas_left).offset(-5);
-        make.centerY.mas_equalTo(TipImageV.mas_centerY).offset(0);
+        make.bottom.mas_equalTo(TipImageV.mas_bottom).offset(0);
     }];