feat: 订单详情接口对接

This commit is contained in:
duanshuwen
2025-07-30 20:55:26 +08:00
parent 6831004189
commit b527e6d206
12 changed files with 1628 additions and 37 deletions

View File

@@ -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] || "未知状态";