2.2.0版本发版 此commit置顶

This commit is contained in:
liyuhua
2023-11-02 09:57:45 +08:00
parent edcac4f7fe
commit 138f7ed2d9

View File

@@ -49,10 +49,26 @@
[self.backBtn mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self);
}];
#ifdef DEBUG
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.leading.bottom.equalTo(self);
make.height.mas_equalTo(375);
}];
#else
if(isEnterprise == YES){
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.leading.bottom.equalTo(self);
make.height.mas_equalTo(375);
}];
}else{
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
make.trailing.leading.bottom.equalTo(self);
make.height.mas_equalTo(319);
}];
}
#endif
[self.titleView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(24);
make.centerX.equalTo(self.bgView);