From 6b2e35480b9c9e399c9382aaa0eecbc835c8f041 Mon Sep 17 00:00:00 2001 From: ywk <317226901@qq.com> Date: Fri, 11 Apr 2025 10:42:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(pay):=20=E6=94=AF=E4=BB=98=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=B7=BB=E5=8A=A0disabled=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/noticePopup.vue | 1 - pages/pay/index.vue | 44 +++++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/components/noticePopup.vue b/components/noticePopup.vue index fb886f1..1db849f 100644 --- a/components/noticePopup.vue +++ b/components/noticePopup.vue @@ -52,7 +52,6 @@ export default { grade: this.userInfo.pkGradeId, awards: this.userInfo.pkAwardsId, }).then((res) => { - console.log(res, '....resaaaa?') if (res.code == "200") { let list = JSON.parse(localStorage.getItem("menuList")); let arr = res.data[0].publishLocation.split(","); diff --git a/pages/pay/index.vue b/pages/pay/index.vue index 8dad7b7..26715cf 100644 --- a/pages/pay/index.vue +++ b/pages/pay/index.vue @@ -680,26 +680,30 @@ - {{'立即支付'}} + + {{'立即支付'}} - - + import * as api from '@/config/pay.js' import QRCode from 'qrcodejs2' - import successDialog from '@/components/successDialog.vue' import * as act from '@/config/activity.js' var payStatus @@ -802,6 +805,14 @@ export default { unBindCode: '', } }, + computed: { + payBtnDisabled() { + if (this.ifcz) { + return !Object.values(this.payList).some(val => val) + } + return false + }, + }, onLoad(options) { this.paramsPost = JSON.parse(options.paramsPost) console.log( @@ -930,7 +941,6 @@ export default { }, payPw() { let url, obj - console.log(this.paramsPost, '....%257B%2522ifcz%2522%253Atrue%257D') // 银行卡 if (this.isBank) { if (this.isBank == 'hf') {