NSString *str = @"你好 <span style='color: red'>哇哈哈</span> 来到了 <span style='color: green'>店里</span>";

        NSAttributedString * attrStr = [[NSAttributedString alloc] initWithData:[str dataUsingEncoding:NSUnicodeStringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType } documentAttributes:nil error:nil];

        

        cell.messageLabel.attributedText=attrStr;

 

essageLabel 是个lbl