|
@@ -118,71 +118,71 @@
|
|
|
make.centerY.mas_equalTo(-10);
|
|
|
}];
|
|
|
|
|
|
- NSString *midTopTip1Str = NSLocalizedString(@"cloudPhone_top_tip1",nil);
|
|
|
- NSString *midTopTip2Str = NSLocalizedString(@"cloudPhone_top_tip2",nil);
|
|
|
-
|
|
|
- //提示文字
|
|
|
- UILabel *midTopTipLab1 = [[UILabel alloc] init];
|
|
|
- midTopTipLab1.text = midTopTip1Str;
|
|
|
- midTopTipLab1.font = [UIFont systemFontOfSize:20.0];
|
|
|
- midTopTipLab1.textColor = [UIColor hwColor:@"#0A132B"];
|
|
|
- midTopTipLab1.textAlignment = NSTextAlignmentCenter;
|
|
|
- [midImageV addSubview:midTopTipLab1];
|
|
|
-
|
|
|
- [midTopTipLab1 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.top.equalTo(midImageV.mas_top).offset(64);
|
|
|
- make.right.equalTo(midImageV.mas_right).offset(0);
|
|
|
- make.left.equalTo(midImageV.mas_left).offset(0);
|
|
|
- make.height.mas_equalTo(24);
|
|
|
- }];
|
|
|
-
|
|
|
- UILabel *midTopTipLab2 = [[UILabel alloc] init];
|
|
|
- midTopTipLab2.text = midTopTip2Str;
|
|
|
- midTopTipLab2.font = [UIFont systemFontOfSize:16.0];
|
|
|
- midTopTipLab2.textColor = [UIColor hwColor:@"#535657"];
|
|
|
- midTopTipLab2.textAlignment = NSTextAlignmentCenter;
|
|
|
- [midImageV addSubview:midTopTipLab2];
|
|
|
-
|
|
|
- [midTopTipLab2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.top.equalTo(midTopTipLab1.mas_bottom).offset(15);
|
|
|
- make.right.equalTo(midImageV.mas_right).offset(0);
|
|
|
- make.left.equalTo(midImageV.mas_left).offset(0);
|
|
|
- make.height.mas_equalTo(20);
|
|
|
- }];
|
|
|
-
|
|
|
+// NSString *midTopTip1Str = NSLocalizedString(@"cloudPhone_top_tip1",nil);
|
|
|
+// NSString *midTopTip2Str = NSLocalizedString(@"cloudPhone_top_tip2",nil);
|
|
|
+//
|
|
|
+// //提示文字
|
|
|
+// UILabel *midTopTipLab1 = [[UILabel alloc] init];
|
|
|
+// midTopTipLab1.text = midTopTip1Str;
|
|
|
+// midTopTipLab1.font = [UIFont systemFontOfSize:20.0];
|
|
|
+// midTopTipLab1.textColor = [UIColor hwColor:@"#0A132B"];
|
|
|
+// midTopTipLab1.textAlignment = NSTextAlignmentCenter;
|
|
|
+// [midImageV addSubview:midTopTipLab1];
|
|
|
+//
|
|
|
+// [midTopTipLab1 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.top.equalTo(midImageV.mas_top).offset(64);
|
|
|
+// make.right.equalTo(midImageV.mas_right).offset(0);
|
|
|
+// make.left.equalTo(midImageV.mas_left).offset(0);
|
|
|
+// make.height.mas_equalTo(24);
|
|
|
+// }];
|
|
|
+//
|
|
|
+// UILabel *midTopTipLab2 = [[UILabel alloc] init];
|
|
|
+// midTopTipLab2.text = midTopTip2Str;
|
|
|
+// midTopTipLab2.font = [UIFont systemFontOfSize:16.0];
|
|
|
+// midTopTipLab2.textColor = [UIColor hwColor:@"#535657"];
|
|
|
+// midTopTipLab2.textAlignment = NSTextAlignmentCenter;
|
|
|
+// [midImageV addSubview:midTopTipLab2];
|
|
|
+//
|
|
|
+// [midTopTipLab2 mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.top.equalTo(midTopTipLab1.mas_bottom).offset(15);
|
|
|
+// make.right.equalTo(midImageV.mas_right).offset(0);
|
|
|
+// make.left.equalTo(midImageV.mas_left).offset(0);
|
|
|
+// make.height.mas_equalTo(20);
|
|
|
+// }];
|
|
|
+//
|
|
|
|
|
|
//进入云机
|
|
|
- UIButton*enterCloudPhoneButton = [[UIButton alloc] init];
|
|
|
- CGFloat w_btn = SCREEN_W - 15*2 - 50*2;
|
|
|
-
|
|
|
- // gradient
|
|
|
- CAGradientLayer *gl = [CAGradientLayer layer];
|
|
|
- gl.frame = CGRectMake(0,0,w_btn,44.f);
|
|
|
- gl.startPoint = CGPointMake(0, 0.5);
|
|
|
- gl.endPoint = CGPointMake(0.97, 0.5);
|
|
|
- gl.colors = @[(__bridge id)HWFFE10FColor.CGColor, (__bridge id)HWFFE411Color.CGColor];
|
|
|
- gl.locations = @[@(0), @(1.0f)];
|
|
|
-
|
|
|
- [enterCloudPhoneButton.layer addSublayer:gl];
|
|
|
- [enterCloudPhoneButton setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
|
|
|
- //[enterCloudPhoneButton addTarget:self action:@selector(didClickButtonFun:) forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
- [enterCloudPhoneButton setTitle:NSLocalizedString(@"cloudPhone_enter_tip",nil) forState:(UIControlStateNormal)];
|
|
|
- [enterCloudPhoneButton.titleLabel setFont:[UIFont boldSystemFontOfSize:16.f]];
|
|
|
- [enterCloudPhoneButton.layer setCornerRadius:21.f];
|
|
|
- enterCloudPhoneButton.layer.borderWidth = 0.5;
|
|
|
- enterCloudPhoneButton.layer.borderColor = [UIColor clearColor].CGColor;
|
|
|
- enterCloudPhoneButton.clipsToBounds = YES;
|
|
|
- //enterCloudPhoneButton.tag = 2;
|
|
|
- [midImageV addSubview:enterCloudPhoneButton];
|
|
|
-
|
|
|
- [enterCloudPhoneButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.width.mas_equalTo(w_btn);
|
|
|
- make.height.mas_equalTo(42);
|
|
|
- make.centerX.mas_equalTo(0);
|
|
|
- make.bottom.equalTo(midImageV.mas_bottom).offset(-30);
|
|
|
- }];
|
|
|
+// UIButton*enterCloudPhoneButton = [[UIButton alloc] init];
|
|
|
+// CGFloat w_btn = SCREEN_W - 15*2 - 50*2;
|
|
|
+//
|
|
|
+// // gradient
|
|
|
+// CAGradientLayer *gl = [CAGradientLayer layer];
|
|
|
+// gl.frame = CGRectMake(0,0,w_btn,44.f);
|
|
|
+// gl.startPoint = CGPointMake(0, 0.5);
|
|
|
+// gl.endPoint = CGPointMake(0.97, 0.5);
|
|
|
+// gl.colors = @[(__bridge id)HWFFE10FColor.CGColor, (__bridge id)HWFFE411Color.CGColor];
|
|
|
+// gl.locations = @[@(0), @(1.0f)];
|
|
|
+//
|
|
|
+// [enterCloudPhoneButton.layer addSublayer:gl];
|
|
|
+// [enterCloudPhoneButton setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
|
|
|
+// //[enterCloudPhoneButton addTarget:self action:@selector(didClickButtonFun:) forControlEvents:(UIControlEventTouchUpInside)];
|
|
|
+// [enterCloudPhoneButton setTitle:NSLocalizedString(@"cloudPhone_enter_tip",nil) forState:(UIControlStateNormal)];
|
|
|
+// [enterCloudPhoneButton.titleLabel setFont:[UIFont boldSystemFontOfSize:16.f]];
|
|
|
+// [enterCloudPhoneButton.layer setCornerRadius:21.f];
|
|
|
+// enterCloudPhoneButton.layer.borderWidth = 0.5;
|
|
|
+// enterCloudPhoneButton.layer.borderColor = [UIColor clearColor].CGColor;
|
|
|
+// enterCloudPhoneButton.clipsToBounds = YES;
|
|
|
+// //enterCloudPhoneButton.tag = 2;
|
|
|
+// [midImageV addSubview:enterCloudPhoneButton];
|
|
|
+//
|
|
|
+// [enterCloudPhoneButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
+// make.width.mas_equalTo(w_btn);
|
|
|
+// make.height.mas_equalTo(42);
|
|
|
+// make.centerX.mas_equalTo(0);
|
|
|
+// make.bottom.equalTo(midImageV.mas_bottom).offset(-30);
|
|
|
+// }];
|
|
|
|
|
|
- //扩大金融云机范围按钮
|
|
|
+ //扩大进入云机范围按钮
|
|
|
UIButton *bigButton = [[UIButton alloc] init];
|
|
|
bigButton.tag = 2;
|
|
|
[bigButton addTarget:self action:@selector(didClickButtonFun:) forControlEvents:UIControlEventTouchUpInside];
|