|
@@ -99,8 +99,8 @@
|
|
|
if (titleStr.length > 0){
|
|
|
[bgView addSubview:titleLabel];
|
|
|
[titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(10.f);
|
|
|
- make.right.mas_equalTo(-10.f);
|
|
|
+ make.left.mas_equalTo(20.f);
|
|
|
+ make.right.mas_equalTo(-20.f);
|
|
|
make.top.mas_equalTo(curTop);
|
|
|
}];
|
|
|
}
|
|
@@ -117,8 +117,8 @@
|
|
|
if (msgStr.length > 0){
|
|
|
[bgView addSubview:msgLabel];
|
|
|
[msgLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.left.mas_equalTo(10.f);
|
|
|
- make.right.mas_equalTo(-10.f);
|
|
|
+ make.left.mas_equalTo(20.f);
|
|
|
+ make.right.mas_equalTo(-20.f);
|
|
|
if (titleStr.length > 0){
|
|
|
make.top.equalTo(titleLabel.mas_bottom).offset(15.f);
|
|
|
}else{
|