From 0a53c17e0012b573e8b3df8a3ae9c1493685dfc2 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 19 Oct 2023 16:21:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=92=B1=E5=8C=85=E9=80=89=E4=B8=AD=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=96=B9=E5=BC=8Fid=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/payment/payment.vue | 3 +-- pages/plugins/wallet/recharge/recharge.css | 2 +- pages/plugins/wallet/recharge/recharge.vue | 15 --------------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/components/payment/payment.vue b/components/payment/payment.vue index 5867b2fb..a260eff4 100644 --- a/components/payment/payment.vue +++ b/components/payment/payment.vue @@ -203,7 +203,6 @@ }, // 选择支付方式 checked_payment(e) { - let payment_id = e.currentTarget.dataset.value; this.setData({ payment_id: e.currentTarget.dataset.value, submit_disabled_status: false, @@ -218,7 +217,7 @@ this.setData({ is_show_payment_popup: false, }); - this.pay_handle(this.propTempPayValue, Number(this.propPaymentId) === 0 ? this.propDefaultPaymentId : Number(this.propPaymentId)); + this.pay_handle(this.propTempPayValue, this.payment_id); this.$emit('close-payment-poupon', false); }, // 支付方法 diff --git a/pages/plugins/wallet/recharge/recharge.css b/pages/plugins/wallet/recharge/recharge.css index 58e8652e..67357b5e 100644 --- a/pages/plugins/wallet/recharge/recharge.css +++ b/pages/plugins/wallet/recharge/recharge.css @@ -50,7 +50,7 @@ } .form-container .custom-price { - background: #F5F7F9; + background: #F5F7F9 !important; } .form-container input { diff --git a/pages/plugins/wallet/recharge/recharge.vue b/pages/plugins/wallet/recharge/recharge.vue index e4c83101..d9761981 100644 --- a/pages/plugins/wallet/recharge/recharge.vue +++ b/pages/plugins/wallet/recharge/recharge.vue @@ -59,7 +59,6 @@ :prop-temp-pay-value="temp_pay_value" :prop-pay-price="pay_price" :prop-payment-id="payment_id" - :prop-default-payment-id="default_payment_id" :propIsRedirectTo="true" :prop-to-fail-page="to_fail_page" :prop-is-show-payment="is_show_payment_popup" @@ -97,7 +96,6 @@ is_show_payment_popup: false, pay_price: 0, payment_id: 0, - default_payment_id: 0, // 支付失败跳转的页面 to_fail_page: '/pages/plugins/wallet/user/user', }; @@ -162,7 +160,6 @@ this.setData({ data: data.preset_data || [], payment_id: data.default_payment_id || 0, - default_payment_id: data.default_payment_id || 0, recharge_desc: data.recharge_desc || '', data_list_loding_msg: '', data_list_loding_status: 0, @@ -263,18 +260,6 @@ }); }, - // 顶部返回操作 - top_nav_left_back_event(e) { - var pages = getCurrentPages(); - if (pages.length <= 1) { - uni.switchTab({ - url: app.globalData.data.tabbar_pages[0], - }); - } else { - uni.navigateBack(); - } - }, - // 页面滚动监听 onPageScroll(e) { var top = e.scrollTop > 47 ? 1 : e.scrollTop / 47;