修复bug

This commit is contained in:
liyuhua
2024-04-24 20:08:24 +08:00
parent 630ee2f754
commit cfd4111b24
160 changed files with 1140 additions and 571 deletions

View File

@@ -330,20 +330,20 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
// }else if([type intValue] == ThirdLoginType_Line){
// typeButton = self.lineButtonView;
// }
if(typeButton == nil){
return;
}
[self.view addSubview:self.nextView];
[self.nextView addSubview:self.nextLabel];
[self.nextView mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.mas_equalTo(-kGetScaleWidth(28));
make.width.mas_equalTo(kGetScaleWidth(70));
make.height.mas_equalTo(kGetScaleWidth(24));
make.centerY.equalTo(typeButton.mas_top);
}];
[self.nextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self.nextView);
}];
// if(typeButton == nil){
// return;
// }
// [self.view addSubview:self.nextView];
// [self.nextView addSubview:self.nextLabel];
// [self.nextView mas_makeConstraints:^(MASConstraintMaker *make) {
// make.trailing.mas_equalTo(-kGetScaleWidth(28));
// make.width.mas_equalTo(kGetScaleWidth(70));
// make.height.mas_equalTo(kGetScaleWidth(24));
// make.centerY.equalTo(typeButton.mas_top);
// }];
// [self.nextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
// make.edges.equalTo(self.nextView);
// }];
}
}