Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8eb8a76

Browse files
CodingBannersView - 调整 2
1 parent 7275824 commit 8eb8a76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎Coding_iOS/Views/CodingBannersView.m‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
100100

101101
if (!_typeLabel) {
102102
_typeLabel = ({
103-
UILabel *label = [UILabel labelWithFont:[UIFont systemFontOfSize:10] textColor:kColor666];
103+
UILabel *label = [UILabel labelWithFont:[UIFont systemFontOfSize:10] textColor:kColorDark7];
104104
[label setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
105105
[label setContentCompressionResistancePriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
106106
[label doBorderWidth:0.5 color:nil cornerRadius:2.0];
@@ -113,7 +113,7 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
113113
}
114114

115115
if (!_titleLabel) {
116-
_titleLabel = [UILabel labelWithFont:[UIFont systemFontOfSize:12] textColor:kColor222];
116+
_titleLabel = [UILabel labelWithFont:[UIFont systemFontOfSize:12] textColor:kColorDark4];
117117
_titleLabel.text = [(CodingBanner *)_curBannerList.firstObject title];
118118
[self addSubview:_titleLabel];
119119
}
@@ -123,8 +123,8 @@ - (void)setCurBannerList:(NSArray *)curBannerList{
123123
make.height.mas_equalTo(18);
124124
}];
125125
[_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);
128128
make.centerY.equalTo(_myPageControl);
129129
}];
130130
[self reloadData];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /