商店审核联系电话修改
This commit is contained in:
+3
-3
@@ -21,12 +21,12 @@
|
||||
self.statusImg.image = [UIImage imageNamed:@"shop_certifycheck"];
|
||||
|
||||
self.statuesViewBtn.hidden = YES;
|
||||
NSString *titleStr=@"工作人员正在审核,请耐心等待。详情电话:021-54131006";
|
||||
NSString *titleStr=@"工作人员正在审核,请耐心等待。详情电话:18667812003";
|
||||
NSMutableAttributedString * attributedString = [[NSMutableAttributedString alloc] initWithString:titleStr];
|
||||
NSMutableParagraphStyle * paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
||||
//[paragraphStyle setLineSpacing:8];
|
||||
[attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, titleStr.length)];
|
||||
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor orangeColor] range:NSMakeRange(20,12)];
|
||||
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor orangeColor] range:NSMakeRange(20,11)];
|
||||
self.statysLabel.userInteractionEnabled = YES;
|
||||
[self.statysLabel setAttributedText:attributedString];
|
||||
UITapGestureRecognizer *labelTapGestureRecognizer = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(labelTouchUpInside:)];
|
||||
@@ -43,7 +43,7 @@
|
||||
//拨打电话
|
||||
if ([UIApplication instancesRespondToSelector:@selector(canOpenURL:)]) {
|
||||
|
||||
NSString *telNumber = [NSString stringWithFormat:@"telprompt://%@",@"021-54131006"];
|
||||
NSString *telNumber = [NSString stringWithFormat:@"telprompt://%@",@"18667812003"];
|
||||
|
||||
NSURL *aURL = [NSURL URLWithString: telNumber];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user