Commit f92ae35d authored by 符伟's avatar 符伟

充值loading修改

parent ebfd5ec1
{
"name" : "az-wechat-web",
"appid" : "__UNI__6500A3F",
"appid" : "__UNI__B1AC702",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
......@@ -85,15 +85,15 @@
},
"h5" : {
"devServer" : {
"port": 80,
"disableHostCheck": true,
"proxy": {
"/api": {
"target": "https://uat.xiaopay.net",
"changeOrigin": true,
"secure": false,
"pathRewrite": {
"^/api": "/"
"port" : 80,
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "https://uat.xiaopay.net",
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
"^/api" : "/"
}
}
}
......
......@@ -422,24 +422,19 @@
amount = this.Money * 1
}
let this_ = this;
let loading = Toast.loading({
message: '加载中...',
forbidClick: true,
loadingType: 'spinner',
duration: 0
});
uni.showLoading({
mask: true,
title: "处理中......"
})
try{
let status = await this.accountCloseacceptStatusQuery();
if(status !== 0) { loading.clear(); return false };
if(status !== 0) { uni.hideLoading(); return false };
}catch(e){
loading.clear();
uni.hideLoading();
return false
}
uni.showLoading({
mask: true,
title: "处理中......"
})
$.ajax({
url: gHost + '/bank-wechat/icbc/account/exchange/recharge',
type: "POST",
......@@ -459,7 +454,6 @@
success: function(res5) {
uni.hideLoading()
if (res5.code == "10000") {
this_.close();
wx.showModal({
title:'充值申请已提交',
content:'银行处理需要1-5分钟时间,充值结果以余额查询为准。',
......@@ -468,9 +462,10 @@
} else {
weui.topTips(res5.message)
}
},
error: function(err) {
uni.hideLoading()
uni.hideLoading();
},
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment