Commit 85fd766a authored by 符伟's avatar 符伟

工商充值页面修改

parent d07096a4
...@@ -589,7 +589,7 @@ ...@@ -589,7 +589,7 @@
//获取银行余额 //获取银行余额
queryBankInfo() { queryBankInfo() {
let this_ = this; let this_ = this;
let loading = weui.loading('请稍后'); // let loading = weui.loading('请稍后');
$.ajax({ $.ajax({
url: gHost + '/bank-wechat/icbc/account/balance/balanceQuery', url: gHost + '/bank-wechat/icbc/account/balance/balanceQuery',
type: "POST", type: "POST",
...@@ -603,7 +603,7 @@ ...@@ -603,7 +603,7 @@
wechattype: 1, wechattype: 1,
}, },
success: function(res3) { success: function(res3) {
loading.hide(); // loading.hide();
if (res3.code == "10000") { if (res3.code == "10000") {
if (res3.results.accountBalance == null) { if (res3.results.accountBalance == null) {
weui.topTips("账户信息为空,余额查询失败"); weui.topTips("账户信息为空,余额查询失败");
...@@ -620,10 +620,10 @@ ...@@ -620,10 +620,10 @@
} }
}, },
error: function(err) { error: function(err) {
loading.hide(); // loading.hide();
}, },
complete: function(XMLHttpRequest, status) { complete: function(XMLHttpRequest, status) {
loading.hide(); // loading.hide();
if (status == 'timeout') { if (status == 'timeout') {
weui.topTips("请求超时,余额查询失败"); weui.topTips("请求超时,余额查询失败");
} }
...@@ -633,7 +633,7 @@ ...@@ -633,7 +633,7 @@
//获取用户已填写银行信息 //获取用户已填写银行信息
queryUserBankInfo() { queryUserBankInfo() {
let this_ = this; let this_ = this;
let loading = weui.loading('请稍后'); // let loading = weui.loading('请稍后');
$.ajax({ $.ajax({
url: gHost + '/bank-wechat/user/bank/get', url: gHost + '/bank-wechat/user/bank/get',
type: "POST", type: "POST",
...@@ -648,6 +648,7 @@ ...@@ -648,6 +648,7 @@
if (res2.code == "10000") { if (res2.code == "10000") {
if (!res2.results) { if (!res2.results) {
weui.topTips("获取用户银行信息失败!") weui.topTips("获取用户银行信息失败!")
// loading.hide();
return return
} }
bankInfo = res2.results; bankInfo = res2.results;
...@@ -1092,7 +1093,7 @@ ...@@ -1092,7 +1093,7 @@
.ContenInfo { .ContenInfo {
text-align: center; text-align: center;
width: 383rpx; // width: 383rpx;
height: 159rpx; height: 159rpx;
margin: 0 auto; margin: 0 auto;
font-size: 32rpx; font-size: 32rpx;
......
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