Skip to content

Commit 661238c

Browse files
committed
换色
1 parent b1c634e commit 661238c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Coding_iOS/Controllers/AddUserViewController.m

Lines 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)