封装KBFont,适配字体
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
if (!_coinLabel) {
|
||||
_coinLabel = [UILabel new];
|
||||
_coinLabel.text = @"690";
|
||||
_coinLabel.font = [UIFont systemFontOfSize:20 weight:UIFontWeightBold];
|
||||
_coinLabel.font = [KBFont bold:20];
|
||||
_coinLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
}
|
||||
return _coinLabel;
|
||||
@@ -221,7 +221,7 @@
|
||||
if (!_priceLabel) {
|
||||
_priceLabel = [UILabel new];
|
||||
_priceLabel.text = @"$6.90";
|
||||
_priceLabel.font = [UIFont systemFontOfSize:14 weight:UIFontWeightSemibold];
|
||||
_priceLabel.font = [KBFont medium:18];
|
||||
_priceLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
||||
}
|
||||
return _priceLabel;
|
||||
|
||||
Reference in New Issue
Block a user