File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
100
100
101
101
if (!_typeLabel) {
102
102
_typeLabel = ({
103
- UILabel *label = [UILabel labelWithFont: [UIFont systemFontOfSize: 10 ] textColor: kColor666 ];
103
+ UILabel *label = [UILabel labelWithFont: [UIFont systemFontOfSize: 10 ] textColor: kColorDark7 ];
104
104
[label setContentHuggingPriority: UILayoutPriorityRequired forAxis: UILayoutConstraintAxisHorizontal];
105
105
[label setContentCompressionResistancePriority: UILayoutPriorityRequired forAxis: UILayoutConstraintAxisHorizontal];
106
106
[label doBorderWidth: 0.5 color: nil cornerRadius: 2.0 ];
@@ -113,7 +113,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
113
113
}
114
114
115
115
if (!_titleLabel) {
116
- _titleLabel = [UILabel labelWithFont: [UIFont systemFontOfSize: 12 ] textColor: kColor222 ];
116
+ _titleLabel = [UILabel labelWithFont: [UIFont systemFontOfSize: 12 ] textColor: kColorDark4 ];
117
117
_titleLabel.text = [(CodingBanner *)_curBannerList.firstObject title ];
118
118
[self addSubview: _titleLabel];
119
119
}
@@ -123,8 +123,8 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
123
123
make.height .mas_equalTo (18 );
124
124
}];
125
125
[_titleLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
126
- make.left .equalTo (_typeLabel.mas_right ).offset (5 );
127
- make.right .equalTo (_myPageControl.mas_left ).offset (-5 );
126
+ make.left .equalTo (_typeLabel.mas_right ).offset (10 );
127
+ make.right .equalTo (_myPageControl.mas_left ).offset (-10 );
128
128
make.centerY .equalTo (_myPageControl);
129
129
}];
130
130
[self reloadData ];
You can’t perform that action at this time.
0 commit comments