完成订单详情
This commit is contained in:
@@ -49,13 +49,14 @@
|
||||
}
|
||||
if (password.value.length === 6) {
|
||||
emits('inputComplete', password.value);
|
||||
password.value = ''
|
||||
}
|
||||
};
|
||||
|
||||
// 关闭模态框
|
||||
const closeModal = () => {
|
||||
emits('close');
|
||||
password.value = '';
|
||||
password = '';
|
||||
};
|
||||
// 将方法暴露给父组件
|
||||
defineExpose({
|
||||
|
||||
@@ -13,8 +13,10 @@
|
||||
<view class="method_list_top_cen">
|
||||
<view class="name"> {{ item.name }} </view>
|
||||
<view class="method_list_bom" v-if="item.type == 1">
|
||||
<text class="balance">会员卡余额 ¥{{orderVIP?orderVIP.amount:0}}</text>
|
||||
<text class="topUpNow" @click="goRecharge">去充值</text>
|
||||
<text class="balance" v-if="orderVIP.isVip == 1">
|
||||
会员卡余额¥{{orderVIP?orderVIP.amount:0}}</text>
|
||||
<text class="topUpNow"
|
||||
@click="goRecharge">{{orderVIP.isVip == 0?'注册会员':'去充值'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -60,14 +62,15 @@
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
const emits = defineEmits(['customevent', 'groupChange']);
|
||||
|
||||
|
||||
const paymentMethodList = ref([{
|
||||
name: "余额支付",
|
||||
type: 1,
|
||||
url: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/wechat.png",
|
||||
payType: ''
|
||||
payType: 'accountPay'
|
||||
},
|
||||
// #ifdef MP-WEIXIN
|
||||
{
|
||||
@@ -92,7 +95,7 @@
|
||||
name: "余额支付",
|
||||
type: 1,
|
||||
url: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/wechat.png",
|
||||
payType: ''
|
||||
payType: 'accountPay'
|
||||
},
|
||||
{
|
||||
name: "微信支付",
|
||||
|
||||
Reference in New Issue
Block a user