From 6f48eba4a189fd55007c5346aa651c856db681bb Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Thu, 5 Sep 2024 17:40:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E8=B4=B9=E8=BF=94=E8=A1=A5=E5=8F=AF?= =?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D=E6=B7=BB=E5=8A=A0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle_b/pages/subsidy_shop/subsidy_shop.vue | 42 +++++++++++++++----- 1 file changed, 32 insertions(+), 10 deletions(-) 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) {