bottomS = @"注意:\n\n1.所有所有;\n\n2.标余额;\n\n3.不可退款。";
NSMutableAttributedString *noteStr = [[NSMutableAttributedStringalloc] initWithString:bottomS];
// 需要改变的第一个文字的位置
NSUInteger firstLoc = [[noteStrstring] rangeOfString:@"3"].location;
// 需要改变的最后一个文字的位置
NSUInteger secondLoc = [[noteStrstring] rangeOfString:@"。"].location+1;
// 需要改变的区间
NSRange range = NSMakeRange(firstLoc, secondLoc - firstLoc);
// 改变颜色
[noteStr addAttribute:NSForegroundColorAttributeNamevalue:[UIColorredColor] range:range];
// 改变字体大小及类型
// [noteStr addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"Helvetica-BoldOblique" size:27] range:range];
// 为label添加Attributed
[self.bottomTextsetAttributedText:noteStr];