|
@@ -60,20 +60,20 @@
|
|
|
make.height.mas_equalTo(280.0*AUTOSCALE);
|
|
|
}];
|
|
|
|
|
|
- UIButton *pcScanButton = [[UIButton alloc] init];
|
|
|
- [pcScanButton setImage:[UIImage imageNamed:@"pc_scan_icon"] forState:UIControlStateNormal];
|
|
|
- pcScanButton.tag = 100;
|
|
|
- [pcScanButton addTarget:self action:@selector(didClickButtonFun:) forControlEvents:UIControlEventTouchUpInside];
|
|
|
- [self.view addSubview:pcScanButton];
|
|
|
-
|
|
|
- [pcScanButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.top.mas_equalTo(50);
|
|
|
- make.right.mas_equalTo(-15);
|
|
|
- make.width.mas_equalTo(40);
|
|
|
- make.height.mas_equalTo(40);
|
|
|
- }];
|
|
|
-
|
|
|
- CGFloat tipImageTop = 50 + 40;
|
|
|
+// UIButton *pcScanButton = [[UIButton alloc] init];
|
|
|
+// [pcScanButton setImage:[UIImage imageNamed:@"pc_scan_icon"] forState:UIControlStateNormal];
|
|
|
+// pcScanButton.tag = 100;
|
|
|
+// [pcScanButton addTarget:self action:@selector(didClickButtonFun:) forControlEvents:UIControlEventTouchUpInside];
|
|
|
+// [self.view addSubview:pcScanButton];
|
|
|
+//
|
|
|
+// [pcScanButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.top.mas_equalTo(50);
|
|
|
+// make.right.mas_equalTo(-15);
|
|
|
+// make.width.mas_equalTo(40);
|
|
|
+// make.height.mas_equalTo(40);
|
|
|
+// }];
|
|
|
+
|
|
|
+ CGFloat tipImageTop = 50 + 40 -20;
|
|
|
|
|
|
//商标图片
|
|
|
UIImageView *TipImageV = [UIImageView new];
|