2.2.0版本发版 此commit置顶
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user