From 446f1ecc3d9e85b0fe41a9c7df0ea7a879f5418c Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Sat, 10 Jan 2026 19:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8C=85=E9=97=B4=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/reserve/RoomList.vue | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/components/reserve/RoomList.vue b/src/components/reserve/RoomList.vue index 1405c84..83a9b41 100644 --- a/src/components/reserve/RoomList.vue +++ b/src/components/reserve/RoomList.vue @@ -34,21 +34,15 @@ - - - 预定 - + - - - - - + + 维护中 + 使用中 + {{ item.people_number }} @@ -126,6 +120,15 @@ const spec = ref(true) + // 房间状态枚举 + enum RoomStatus { + WAIT_CLEANING = 1, // 待打扫 - 灰色 + AVAILABLE = 2, // 空闲中 - 绿色 + MAINTENANCE = 3, // 维护中 - 红色 + CLEANING = 4, // 打扫中 - 橙色 + IN_USE = 5, // 使用中 - 蓝色 + } + // 使用团购优惠券选择的包间 const couponRoomIndex = ref(-1)