Commit e76172ea authored by 符伟's avatar 符伟

Merge branch 'develop' of https://git.xiaopay.net/lizhishu/xzf_uniapp-wechat-web into develop

parents 71b7b2c1 affd1be8
...@@ -246,9 +246,9 @@ ...@@ -246,9 +246,9 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/AgreementSZXY/agreement/main", "path": "pages/AgreementSZXY/agreement/main",
"style": { "style": {
...@@ -286,19 +286,24 @@ ...@@ -286,19 +286,24 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{ }, {
"path" : "pages/recharging/recharging", "path": "pages/recharging/recharging",
"style" : "style": {
{ "navigationStyle": "custom",
"navigationBarTitleText": "充值申请成功",
"enablePullDownRefresh": false
}
}, {
"path": "pages/OpenAccountAgreement/OpenAccountAgreement",
"style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "充值申请成功", "navigationBarTitleText": "三类户开户协议",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
......
...@@ -287,15 +287,26 @@ ...@@ -287,15 +287,26 @@
}, },
mounted: function() { mounted: function() {
},
onShow: function() {
if (bankInfo.userId) {
this.queryBankInfo();
}
}, },
methods: { methods: {
// 更换银行卡 // 更换银行卡
async ChangeBankPay() { async ChangeBankPay() {
uni.showModal({
title: "系统提示",
content: "功能开发中!"
})
return
uni.showLoading({ uni.showLoading({
mask: true, mask: true,
title: "请稍后...." title: "请稍后...."
}); });
this.BackToMini('AssignAddCard') this.BackToMini('AssignAddCard')
uni.hideLoading()
}, },
// 验证码弹出框开启 // 验证码弹出框开启
toDeposit() { toDeposit() {
...@@ -522,8 +533,26 @@ ...@@ -522,8 +533,26 @@
wx.showModal({ wx.showModal({
title: '充值申请已提交', title: '充值申请已提交',
content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。', content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。',
showCancel: false showCancel: false,
success: function() {
let accountNo = this_.bankInfo_.accountNo
accountNo = accountNo.slice(accountNo.length - 4, accountNo
.length);
let thiTime = new Date();
let str = ''
if (thiTime.getMinutes() + 20 >= 60) {
str = thiTime.getHours() + 1 + ':' + (60 - thiTime
.getMinutes())
} else {
str = thiTime.getHours() + ':' + thiTime.getMinutes()
}
uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
})
}
}) })
// 20211129 // 20211129
this_.RechargeSmsorderNoInfo = {} this_.RechargeSmsorderNoInfo = {}
} else { } else {
...@@ -682,11 +711,11 @@ ...@@ -682,11 +711,11 @@
let this_ = this; let this_ = this;
let loading = weui.loading('请稍后'); let loading = weui.loading('请稍后');
$.ajax({ $.ajax({
url: gHost + '/bank-wechat/icbc/account/bindcard/bindingList', url: gHost + '/bank-wechat/user/bank/bindingList',
type: "POST", type: "POST",
contentType: "application/x-www-form-urlencoded", contentType: "application/x-www-form-urlencoded",
data: { data: {
mediumId: bankInfo.accountNo, cardNo: bankInfo.accountNo,
schoolId: bankInfo.schoolId, schoolId: bankInfo.schoolId,
userId: userID, userId: userID,
sessionid: sessionID, sessionid: sessionID,
......
This diff is collapsed.
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