feat: 订单详情接口对接
This commit is contained in:
@@ -35,6 +35,7 @@ import OrderCardContent from "./OrderCardContent.vue";
|
||||
import serviceIcon from "./images/service.png";
|
||||
import ticketIcon from "./images/ticket.png";
|
||||
import hotelIcon from "./images/hotel.png";
|
||||
import foodIcon from "./images/food.png";
|
||||
|
||||
// Props
|
||||
const props = defineProps({
|
||||
@@ -65,7 +66,7 @@ const emit = defineEmits(["click", "call"]);
|
||||
const ICON_MAP = {
|
||||
0: hotelIcon, // 酒店订单
|
||||
1: ticketIcon, // 门票订单
|
||||
2: hotelIcon, // 其他订单
|
||||
2: foodIcon, // 其他订单
|
||||
};
|
||||
|
||||
// 获取状态图标
|
||||
@@ -98,7 +99,7 @@ const getStatusText = (status) => {
|
||||
2: "待使用",
|
||||
3: "已取消",
|
||||
4: "退款中",
|
||||
5: "已推荐",
|
||||
5: "已退款",
|
||||
6: "已完成",
|
||||
};
|
||||
return orderStatusMap[status] || "未知状态";
|
||||
|
||||
Reference in New Issue
Block a user