修改支付宝默认支付方式文字

This commit is contained in:
2025-05-21 18:32:28 +08:00
parent 447c8d1147
commit 79c51b37ae
3 changed files with 16 additions and 2 deletions

View File

@@ -119,8 +119,13 @@
payType: 'aliPay' payType: 'aliPay'
}, },
]) ])
// #ifdef MP-WEIXIN
const radiovalue = ref(2) // 支付方式 const radiovalue = ref(2) // 支付方式
// #endif
// #ifndef MP-WEIXIN
const radiovalue = ref(3) // 支付方式
// #endif
const ispws = ref(false) // 输入支付密码 const ispws = ref(false) // 输入支付密码

View File

@@ -212,6 +212,8 @@
const hometop = async () => { const hometop = async () => {
try { try {
let res = await APIhomehomePageUp() let res = await APIhomehomePageUp()
res.district=res.district.filter(v=>v.name!='预约到店')
console.log('hometop',res);
Object.assign(hometoplist, res) Object.assign(hometoplist, res)
hometoplist.freeBannerList.forEach((item, index) => { hometoplist.freeBannerList.forEach((item, index) => {
advertisementStyle.value.push(getStyle(index)) advertisementStyle.value.push(getStyle(index))

View File

@@ -290,6 +290,12 @@
payType: 'wechatPay' payType: 'wechatPay'
}) })
// #ifdef MP-ALIPAY
paymentmethod.paymentBtnText='支付宝支付'
paymentmethod.payType='aliPay'
// #endif
const groupChange = async (e) => { const groupChange = async (e) => {
paymentmethod.radiovalue = e.type; paymentmethod.radiovalue = e.type;
paymentmethod.paymentBtnText = e.name; paymentmethod.paymentBtnText = e.name;
@@ -542,6 +548,7 @@
onUnmounted(() => { onUnmounted(() => {
uni.$off('returnData', handleReturnData); uni.$off('returnData', handleReturnData);
}); });