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

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'
},
])
// #ifdef MP-WEIXIN
const radiovalue = ref(2) // 支付方式
// #endif
// #ifndef MP-WEIXIN
const radiovalue = ref(3) // 支付方式
// #endif
const ispws = ref(false) // 输入支付密码

View File

@@ -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))

View File

@@ -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()
})
</script>