This commit is contained in:
启星
2025-08-15 18:39:24 +08:00
parent e33abc7e33
commit 4b577a31f0
449 changed files with 520 additions and 1457 deletions

View File

@@ -23,7 +23,7 @@
self.titleLabel.text = model.task_name;
NSString*subTitle = [NSString stringWithFormat:@"金币+%@",model.gold_reward];
NSMutableAttributedString *attr = [[NSMutableAttributedString alloc] initWithString:subTitle];
[attr yy_setColor:RGB16(0xE24171) range:[subTitle rangeOfString:[NSString stringWithFormat:@"+%@",model.gold_reward]]];
[attr yy_setColor:RGB16(0xFF8827) range:[subTitle rangeOfString:[NSString stringWithFormat:@"+%@",model.gold_reward]]];
self.subTitleLabel.attributedText = attr;
[self.iconImageView sd_setImageWithURL:[NSURL URLWithString:model.icon]];
if (model.task_status.intValue == 1) {
@@ -60,7 +60,8 @@
[super awakeFromNib];
// Initialization code
[self.finishBtn addRoundedCornersWithRadius:15];
self.finishBtn.layer.borderColor = RGB16(0xE24171).CGColor;
[self.finishBtn setTitleColor:RGB16(0xC134EE) forState:(UIControlStateNormal)];
self.finishBtn.layer.borderColor = RGB16(0xC134EE).CGColor;
self.finishBtn.layer.borderWidth = 1;
}