NSString * strError = @"XXXXX错误:查看驳回原因"
//一个label 显示不同的颜色 后面的几位数字颜色不一样 自定义颜色 :RGBCOLOR(255, 166, 11)
NSMutableAttributedString *AttributedStr = [[NSMutableAttributedString alloc]initWithString:strError];
[AttributedStr addAttribute:NSFontAttributeName
value:[UIFont systemFontOfSize:12.0]
range:NSMakeRange(strError.length-6, 6)];
[AttributedStr addAttribute:NSForegroundColorAttributeName
value:RGBCOLOR(255, 166, 11)
range:NSMakeRange(strError.length-6, 6)];
cell.labelErrorWhy.attributedText = AttributedStr;