This commit is contained in:
2025-11-08 11:48:06 +08:00
parent 9a39c29e88
commit faeb930fe3
2 changed files with 34 additions and 13 deletions

View File

@@ -30,8 +30,7 @@
// layout - Masonry
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
make.edges.equalTo(self);
make.height.mas_equalTo(40);
make.edges.equalTo(self); //
}];
[self.searchButton mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -47,6 +46,9 @@
make.right.equalTo(self.searchButton.mas_left).offset(-8);
make.height.mas_equalTo(30);
}];
self.bgView.layer.borderWidth = 1;
self.bgView.layer.borderColor = [UIColor colorWithHex:0xE6E6E6].CGColor;
}
#pragma mark - Action
@@ -121,4 +123,3 @@
}
@end