修复了贵族排行榜头像的位置没有对齐的问题
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.avatarImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.size.mas_equalTo(CGSizeMake(44, 44));
|
make.size.mas_equalTo(CGSizeMake(44, 44));
|
||||||
make.centerY.mas_equalTo(self.contentView);
|
make.centerY.mas_equalTo(self.contentView);
|
||||||
make.left.mas_equalTo(self.rankButton.mas_right).offset(16);
|
make.left.mas_equalTo(self.contentView.mas_left).offset(60);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
[self.nobleImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.nobleImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
@@ -64,8 +64,8 @@
|
|||||||
nick = [nick substringToIndex:6];
|
nick = [nick substringToIndex:6];
|
||||||
}
|
}
|
||||||
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"%@ " , nick] color:[ThemeColor colorWithHexString:@"#FFD436"]]];
|
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"%@ " , nick] color:[ThemeColor colorWithHexString:@"#FFD436"]]];
|
||||||
[attribute appendAttributedString:[self createTextAttribute:@"开出幸运福袋获得 " color:[UIColor whiteColor]]];
|
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"开出%@获得 ", giftInfo.luckyBagName] color:[UIColor whiteColor]]];
|
||||||
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"%@ " , _giftInfo.luckyBagName] color:[ThemeColor colorWithHexString:@"#6FE3FF"]]];
|
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"%@ " , _giftInfo.giftName] color:[ThemeColor colorWithHexString:@"#6FE3FF"]]];
|
||||||
self.titleLabel.attributedText = attribute;
|
self.titleLabel.attributedText = attribute;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user