From 79c51b37ae24920ea2aa98f86de69c0079801c99 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 21 May 2025 18:32:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/paymentMethod.vue | 7 ++++++- pages/index/index.vue | 2 ++ pages/order/detail.vue | 9 ++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/components/paymentMethod.vue b/components/paymentMethod.vue index b766881..0da1bf6 100644 --- a/components/paymentMethod.vue +++ b/components/paymentMethod.vue @@ -119,8 +119,13 @@ payType: 'aliPay' }, ]) - + // #ifdef MP-WEIXIN const radiovalue = ref(2) // 支付方式 + // #endif + // #ifndef MP-WEIXIN + const radiovalue = ref(3) // 支付方式 + // #endif + const ispws = ref(false) // 输入支付密码 diff --git a/pages/index/index.vue b/pages/index/index.vue index 83b3903..ca8b78b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -212,6 +212,8 @@ const hometop = async () => { try { let res = await APIhomehomePageUp() + res.district=res.district.filter(v=>v.name!='预约到店') + console.log('hometop',res); Object.assign(hometoplist, res) hometoplist.freeBannerList.forEach((item, index) => { advertisementStyle.value.push(getStyle(index)) diff --git a/pages/order/detail.vue b/pages/order/detail.vue index 83230d7..3cd97a8 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -289,6 +289,12 @@ paymentBtnText: "微信支付", payType: 'wechatPay' }) + + // #ifdef MP-ALIPAY + paymentmethod.paymentBtnText='支付宝支付' + paymentmethod.payType='aliPay' + // #endif + const groupChange = async (e) => { paymentmethod.radiovalue = e.type; @@ -542,6 +548,7 @@ onUnmounted(() => { uni.$off('returnData', handleReturnData); + }); @@ -581,7 +588,7 @@ await nextTick() orderVIP.value = uni.cache.get('orderVIP') // 积分信息 - + orderorderInfo() })