Commit 417ad66a51f5c05d2097f023eb0603145141713b

Authored by yanglingyu
1 parent 1c6bde13

title后台获取变色

CNLiveScioLive/Pages/Home/新闻详情/OldController/OldVideoDetailViewController.m
... ... @@ -507,6 +507,9 @@
507 507 [cell.backImage sd_setImageWithURL:[NSURL URLWithString:_dic[@"img"]] placeholderImage:[UIImage imageNamed:@"backDefault"]];
508 508 cell.titleLabel.text = _dic[@"title"];
509 509 cell.timeLabel.text = _dic[@"createDate"];
  510 + if (_dic[@"titleColor"]) {
  511 + cell.timeLabel.textColor = [UIColor colorWithHexString:_dic[@"titleColor"]];
  512 + }
510 513 return cell;
511 514 }
512 515 static NSString *identifier = @"cell";
... ...