完善页面
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
<template>
|
||||
<wd-navbar safeAreaInsetTop :bordered="false" :custom-class="customClass" :fixed="fixed" :placeholder="fixed" :zIndex="zIndex">
|
||||
<template #left>
|
||||
<view class="h-48rpx flex items-center" @click="Navbar.back">
|
||||
<view class="mt-4rpx">
|
||||
<view class="h-48rpx flex items-center" >
|
||||
<view class="mt-4rpx" v-if="!hideLeftIcon" @click="Navbar.back">
|
||||
<wd-icon name="thin-arrow-left" size="30rpx" :color="iconLeftColor" ></wd-icon>
|
||||
</view>
|
||||
<view class="text-[#303133] text-36rpx ml-24rpx leading-48rpx" v-if="!layoutLeft">{{ title }}</view>
|
||||
@ -73,6 +73,11 @@
|
||||
iconLeftColor: {
|
||||
type: String,
|
||||
default: '#121212'
|
||||
},
|
||||
|
||||
hideLeftIcon: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@ -261,6 +261,8 @@
|
||||
// 取消订单弹窗
|
||||
const message = useMessage('wd-message-box-slot')
|
||||
|
||||
const emit = defineEmits(['refresh'])
|
||||
|
||||
const ComboCard = {
|
||||
/**
|
||||
* 跳转到对对应室的详情页
|
||||
@ -291,8 +293,9 @@
|
||||
case OrderSource.Combo:
|
||||
orderType = PayOrderType.ComboRefund
|
||||
let res = await handleRefundOrderHooks(order.id, orderType)
|
||||
console.log("🚀 ~ res:", res)
|
||||
if (res) {
|
||||
uni.$emit('refreshComboOrderList')
|
||||
emit('refresh')
|
||||
}
|
||||
// TODO 这里调用删除直营订单的接口
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user