Commit 417ad66a51f5c05d2097f023eb0603145141713b
1 parent
1c6bde13
title后台获取变色
Showing
1 changed file
with
3 additions
and
0 deletions
CNLiveScioLive/Pages/Home/新闻详情/OldController/OldVideoDetailViewController.m
| @@ -507,6 +507,9 @@ | @@ -507,6 +507,9 @@ | ||
| 507 | [cell.backImage sd_setImageWithURL:[NSURL URLWithString:_dic[@"img"]] placeholderImage:[UIImage imageNamed:@"backDefault"]]; | 507 | [cell.backImage sd_setImageWithURL:[NSURL URLWithString:_dic[@"img"]] placeholderImage:[UIImage imageNamed:@"backDefault"]]; |
| 508 | cell.titleLabel.text = _dic[@"title"]; | 508 | cell.titleLabel.text = _dic[@"title"]; |
| 509 | cell.timeLabel.text = _dic[@"createDate"]; | 509 | cell.timeLabel.text = _dic[@"createDate"]; |
| 510 | + if (_dic[@"titleColor"]) { | ||
| 511 | + cell.timeLabel.textColor = [UIColor colorWithHexString:_dic[@"titleColor"]]; | ||
| 512 | + } | ||
| 510 | return cell; | 513 | return cell; |
| 511 | } | 514 | } |
| 512 | static NSString *identifier = @"cell"; | 515 | static NSString *identifier = @"cell"; |