/**
*@param NSFontAttributeName文字大小
*@param NSForegroundColorAttributeName文字顏色
*@param NSStrikethroughColorAttributeName刪除線的顏色
*@param NSStrikethroughStyleAttributeName刪除線樣式
*/
NSAtrributedString*attrStr=[[NSAtrributedStringalloc]initWithString:self.priceLabel.text?attributes:@{NSFontAttributeName:[UIFontsystemFontOfSize:12],NSForegroundColorAttributeName:[UIColorredColor],NSStrikethroughColorAttributeName:[UIColorgreenColor],NSStrikethroughStyleAttributeName:@(NSUnderlineStyleSingle|NSUnderlinePatternSolid)}];
self.priceLabel.attributedText=attrStr;
?