diff --git a/bundle_b/pages/subsidy_shop/subsidy_shop.vue b/bundle_b/pages/subsidy_shop/subsidy_shop.vue index b22a22a..cd30cf9 100644 --- a/bundle_b/pages/subsidy_shop/subsidy_shop.vue +++ b/bundle_b/pages/subsidy_shop/subsidy_shop.vue @@ -19,9 +19,14 @@ ¥ - - 全部提现 - 可提现金额 ¥ {{widthDrawConfig.able_withdraw ? widthDrawConfig.able_withdraw : 0}} + + + 全部提现 + 可提现金额 ¥ {{widthDrawConfig.able_withdraw ? widthDrawConfig.able_withdraw : 0}} + + + + @@ -41,9 +46,14 @@ ¥ - - 全部充值 - 可充值金额 ¥ {{widthDrawConfig.able_withdraw ? widthDrawConfig.able_withdraw : 0}} + + + 全部充值 + 可充值金额 ¥ {{widthDrawConfig.able_withdraw ? widthDrawConfig.able_withdraw : 0}} + + + + @@ -145,6 +155,16 @@ uni.$off('refreshBillionsWithdrawConfigFun') }, methods: { + reloadMoney() { + uni.showLoading({ + title: '加载中', + mask: true + }) + setTimeout(() => { + this.getBillionsWithdrawConfigFun() + uni.hideLoading() + }, 200) + }, // 准备支付 startPay() { const data = { ...this.form } @@ -181,6 +201,7 @@ this.payMoney = data.withdrawl_money this.payInfo = '消费返补提现 ¥' + data.withdrawl_money; + this.showPay = true } else if(this.currentTab == 2) { // 充值 if (!Number(data.recharge_money)) { @@ -209,12 +230,13 @@ title: '可充值金额不足' }); return; + + } - - this.payMoney = data.recharge_money - this.payInfo = '充值 ¥' + data.recharge_money + ' 到本地余额' + this.onSubmit(true) + // this.payMoney = data.recharge_money + // this.payInfo = '充值 ¥' + data.recharge_money + ' 到本地余额' } - this.showPay = true }, changeOrderTab(index) {