修改UI
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
@implementation KBGuideKFCell
|
||||
|
||||
- (void)setupUI {
|
||||
self.contentView.backgroundColor = [UIColor colorWithWhite:0.96 alpha:1.0];
|
||||
|
||||
self.contentView.backgroundColor = [UIColor clearColor];
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
[self.contentView addSubview:self.avatarImageView];
|
||||
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(self.contentView).offset(16);
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
@implementation KBGuideUserCell
|
||||
|
||||
- (void)setupUI {
|
||||
self.contentView.backgroundColor = [UIColor colorWithWhite:0.96 alpha:1.0];
|
||||
self.contentView.backgroundColor = [UIColor clearColor];
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
|
||||
|
||||
[self.contentView addSubview:self.avatarImageView];
|
||||
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
|
||||
[self.searchButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.centerY.equalTo(self.bgView);
|
||||
make.right.equalTo(self.bgView).offset(-8);
|
||||
make.width.mas_greaterThanOrEqualTo(84);
|
||||
make.right.equalTo(self.bgView).offset(-4);
|
||||
make.width.mas_equalTo(84);
|
||||
make.height.mas_equalTo(32);
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user