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

Appearance settings

Commit 661238c

Browse filesBrowse files
committed
换色
1 parent b1c634e commit 661238c
Copy full SHA for 661238c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎Coding_iOS/Controllers/AddUserViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/AddUserViewController.m
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,9 @@ - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSIntege
132132

133133
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
134134
NSInteger leftNum = _curProject.max_member.integerValue - _addedArray.count;
135-
UILabel *label = [UILabel labelWithSystemFontSize:13 textColorHexString:@"0x999999"];
135+
UILabel *label = [UILabel labelWithSystemFontSize:13 textColorHexString:leftNum > 0? @"0x999999": @"0xF34A4A"];
136136
label.backgroundColor = self.view.backgroundColor;
137137
label.textAlignment = NSTextAlignmentCenter;
138-
label.textColor = leftNum > 0? kColor999: [UIColor colorWithHexString:@"0xAA0000" andAlpha:0.8];
139138
label.text = leftNum > 0? [NSString stringWithFormat:@"你还可以添加 %lu 个项目成员", leftNum]: @"已到达到成员最大数,不能再继续选择成员!";
140139
return label;
141140
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.