问题修复

This commit is contained in:
2025-09-29 20:56:16 +08:00
parent 32ca45a5f3
commit 44c3e1e8b4
6 changed files with 96 additions and 34 deletions

View File

@@ -15,12 +15,12 @@
<view class="name"> {{ item.name }} </view>
<view class="method_list_bom" v-if="item.type == 1">
<text class="balance">
当前余额{{orderVIP?orderVIP.amount:0}}</text>
当前余额{{orderVIP?(orderVIP.amount||0):0}}</text>
<text class="topUpNow" @click="goRecharge">去充值</text>
</view>
</view>
</view>
<up-radio activeColor="#E8AD7B" icon-size="18" size="18" :name="item.type">
<up-radio :disabled="returnDisabled(item)" activeColor="#E8AD7B" icon-size="18" size="18" :name="item.type">
</up-radio>
</view>
</view>
@@ -75,6 +75,11 @@
return false
}
}
watch(()=>props.disablePayType,(newval)=>{
console.log('watch:props.disablePayType',newval);
},{
immediate:true
})
const orderVIP = ref(null)
const emits = defineEmits(['customevent', 'groupChange']);
@@ -145,10 +150,11 @@
}
const item=paymentMethodList.value.find(v=>v.type==type)
if(item&&returnDisabled(item)){
return uni.showToast({
uni.showToast({
title:"当前支付方式不可用",
icon:'none'
})
return
}
// if (props.payAmount <= 0 && type != 1) {
// return;