修复了贵族排行榜头像的位置没有对齐的问题

This commit is contained in:
fengshuo
2022-11-02 11:03:05 +08:00
parent 7fbd9ad930
commit 46ad02e7eb
2 changed files with 3 additions and 3 deletions

View File

@@ -64,8 +64,8 @@
nick = [nick substringToIndex:6];
}
[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:[ThemeColor colorWithHexString:@"#6FE3FF"]]];
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"开出%@获得 ", giftInfo.luckyBagName] color:[UIColor whiteColor]]];
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@"%@ " , _giftInfo.giftName] color:[ThemeColor colorWithHexString:@"#6FE3FF"]]];
self.titleLabel.attributedText = attribute;
}
}