封装KBFont,适配字体
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
- (UILabel *)titleLabel {
|
||||
if (!_titleLabel) {
|
||||
_titleLabel = [[UILabel alloc] init];
|
||||
_titleLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightSemibold];
|
||||
_titleLabel.font = [KBFont medium:16];
|
||||
_titleLabel.textColor = [UIColor colorWithHex:0x1B1F1A];
|
||||
}
|
||||
return _titleLabel;
|
||||
@@ -130,7 +130,7 @@
|
||||
- (UILabel *)subLabel {
|
||||
if (!_subLabel) {
|
||||
_subLabel = [[UILabel alloc] init];
|
||||
_subLabel.font = [UIFont systemFontOfSize:12];
|
||||
_subLabel.font = [KBFont regular:12];
|
||||
_subLabel.textColor = [UIColor colorWithHex:0x9A9A9A];
|
||||
_subLabel.numberOfLines = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user