Commit 84838751c862d4126798fd15cd7781a23d0bada2
1 parent
7fbda668
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveScioLive/Pages/Home/新闻详情/OldController/SCIOSpecialViewController.m
| @@ -294,7 +294,7 @@ | @@ -294,7 +294,7 @@ | ||
| 294 | - (void)reloadBannerView:(NSDictionary *)dic { | 294 | - (void)reloadBannerView:(NSDictionary *)dic { |
| 295 | [_image sd_setImageWithURL:[NSURL URLWithString:dic[@"titleImage"]] placeholderImage:[UIImage imageNamed:@"backDefault"]]; | 295 | [_image sd_setImageWithURL:[NSURL URLWithString:dic[@"titleImage"]] placeholderImage:[UIImage imageNamed:@"backDefault"]]; |
| 296 | 296 | ||
| 297 | - NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"摘要 %@",dic[@"Description"]]]; | 297 | + NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"摘要 %@",dic[@"description"]]]; |
| 298 | [str addAttribute:NSForegroundColorAttributeName value:HEXCOLOR(0x1959C9) range:NSMakeRange(0,2)]; //设置字体颜色 | 298 | [str addAttribute:NSForegroundColorAttributeName value:HEXCOLOR(0x1959C9) range:NSMakeRange(0,2)]; //设置字体颜色 |
| 299 | _label.attributedText = str; | 299 | _label.attributedText = str; |
| 300 | //_label.text = dic[@"description"]; | 300 | //_label.text = dic[@"description"]; |