完成订单详情

This commit is contained in:
wwz
2025-03-13 09:15:51 +08:00
parent 7dde4ed754
commit e6ca187e5a
14 changed files with 219 additions and 176 deletions

View File

@@ -49,13 +49,14 @@
}
if (password.value.length === 6) {
emits('inputComplete', password.value);
password.value = ''
}
};
// 关闭模态框
const closeModal = () => {
emits('close');
password.value = '';
password = '';
};
// 将方法暴露给父组件
defineExpose({

View File

@@ -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: "微信支付",