修改支付宝默认支付方式文字
This commit is contained in:
@@ -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) // 输入支付密码
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -289,6 +289,12 @@
|
|||||||
paymentBtnText: "微信支付",
|
paymentBtnText: "微信支付",
|
||||||
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;
|
||||||
@@ -542,6 +548,7 @@
|
|||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
uni.$off('returnData', handleReturnData);
|
uni.$off('returnData', handleReturnData);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@@ -581,7 +588,7 @@
|
|||||||
await nextTick()
|
await nextTick()
|
||||||
orderVIP.value = uni.cache.get('orderVIP')
|
orderVIP.value = uni.cache.get('orderVIP')
|
||||||
// 积分信息
|
// 积分信息
|
||||||
|
|
||||||
orderorderInfo()
|
orderorderInfo()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user