提示修改

This commit is contained in:
kai60
2020-07-09 14:36:21 +08:00
parent 2c5b0ce881
commit 40d2244f5c
3 changed files with 13 additions and 10 deletions
@@ -173,8 +173,10 @@ Copy NSString *deviceId;
msg=@"绑定失败";
}
[self.view makeToast:msg];
[self.navigationController popViewControllerAnimated:YES];
self.HUD.labelText = msg;
[self.progressView endProgressWithString:msg];
[self.HUD hide:YES afterDelay:2];
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
@@ -343,7 +345,7 @@ Copy NSString *deviceId;
[self.storeNameView removeFromSuperview];
[self.mask removeFromSuperview];
[self.progressView endProgressWithString:@"绑定已经取消..."];
[self.navigationController popViewControllerAnimated:YES];
}
-(void)showStoreNameView
{
@@ -443,7 +445,7 @@ Copy NSString *deviceId;
}else if ([resultDic[@"result"] isEqualToString:@"101"]){
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
self.HUD.labelText = @"绑定失败";
self.bakbutton.userInteractionEnabled=YES;
NSString*msg= resultDic[@"data"];
@@ -456,10 +458,10 @@ Copy NSString *deviceId;
msg=@"绑定失败";
}
[self.view makeToast:msg];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self.navigationController popViewControllerAnimated:YES];
});
self.HUD.labelText = msg;
[self.progressView endProgressWithString:msg];
[self.HUD hide:YES afterDelay:2];
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];