修改颜色
This commit is contained in:
BIN
.~KBMaiPointEventTable.xlsx
Normal file
BIN
.~KBMaiPointEventTable.xlsx
Normal file
Binary file not shown.
@@ -92,7 +92,7 @@
|
||||
if (joined) {
|
||||
// 已加入状态:灰背景、打勾
|
||||
[self.actionButton setTitle:@"✓" forState:UIControlStateNormal];
|
||||
[self.actionButton setTitleColor:[UIColor colorWithWhite:0.45 alpha:1] forState:UIControlStateNormal];
|
||||
[self.actionButton setTitleColor:[UIColor colorWithHex:0xBCBCBC] forState:UIControlStateNormal];
|
||||
self.actionButton.backgroundColor = [UIColor colorWithWhite:0.92 alpha:1];
|
||||
} else {
|
||||
// 可加入状态:绿色加号
|
||||
|
||||
@@ -281,7 +281,7 @@
|
||||
if (added) {
|
||||
// 已添加:灰色背景 + 勾选,且禁用点击
|
||||
[button setTitle:@"✓" forState:UIControlStateNormal];
|
||||
[button setTitleColor:[UIColor colorWithWhite:0.45 alpha:1.0] forState:UIControlStateNormal];
|
||||
[button setTitleColor:[UIColor colorWithHex:0xBCBCBC] forState:UIControlStateNormal];
|
||||
button.backgroundColor = [UIColor colorWithWhite:0.92 alpha:1.0];
|
||||
button.enabled = NO;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user