From 05ad1348cf7b9ec80590919c3f23c2cb2c077e70 Mon Sep 17 00:00:00 2001 From: zpc Date: Mon, 8 Dec 2025 01:08:53 +0800 Subject: [PATCH] 321 --- common/env.js | 11 +- pages/appointment/appointment-page.vue | 4 + pages/appointment/book-room-page.vue | 1075 ++++++++++++------------ 3 files changed, 570 insertions(+), 520 deletions(-) diff --git a/common/env.js b/common/env.js index b0d7375..4c3b536 100644 --- a/common/env.js +++ b/common/env.js @@ -6,11 +6,12 @@ // 开发环境配置 const development = { // API基础URL - // baseUrl: 'https://sqqp.zpc-xy.com', - // baseUrl: 'http://1.15.21.245:2401', - // host: ['https://sqqp.zpc-xy.com'], - baseUrl: 'http://192.168.1.24:2016', - host: ['http://192.168.1.24:2016'], + baseUrl: 'https://sqqp.zpc-xy.com', + host: ['https://sqqp.zpc-xy.com'], + // baseUrl: 'http://192.168.195.15:2401', + // host: ['http://192.168.195.15:2401'], + // baseUrl: 'http://192.168.1.24:2016', + // host: ['http://192.168.1.24:2016'], imageUrl: 'https://guyu-1308826010.cos.ap-shanghai.myqcloud.com', }; diff --git a/pages/appointment/appointment-page.vue b/pages/appointment/appointment-page.vue index e2a6ed3..b6aeb8a 100644 --- a/pages/appointment/appointment-page.vue +++ b/pages/appointment/appointment-page.vue @@ -1131,6 +1131,10 @@ const onCustomDepositInput = (val) => { maxPlayerCount.value = detail.capacity; const t = []; peopleText.value = "请选择游玩人数"; + t.push({ + value: 1, + text:'无需组局' + }); for (let i = 2; i <= detail.capacity; i++) { t.push({ value: i, diff --git a/pages/appointment/book-room-page.vue b/pages/appointment/book-room-page.vue index a3f0033..ab9597a 100644 --- a/pages/appointment/book-room-page.vue +++ b/pages/appointment/book-room-page.vue @@ -5,16 +5,16 @@ 发起预约 - - {{item.time}} - {{item.weekday}} + {{ item.time }} + {{ item.weekday }} - 营业时间:早00点 至 晚23点 + {{ getBusinessAnnouncement() }} @@ -24,12 +24,12 @@ - + 加载中... - + 暂无房间数据 @@ -56,8 +56,8 @@ 当前使用中 - + 预约 @@ -72,8 +72,10 @@ - - + + + {{ slot.slot_name }} @@ -90,32 +92,27 @@ × - + 加载中... - + - + - - + @@ -128,7 +125,7 @@ {{ roomDetail.room_type_name }} - + 标准价: {{ roomDetail.standard_price_desc || '价格详询' }} @@ -137,19 +134,19 @@ 会员价: {{ roomDetail.member_price_desc || '详询' }} - + 可容纳人数: {{ roomDetail.capacity || 0 }}人 - + 房间描述 {{ roomDetail.description }} - + 房间设施 @@ -159,7 +156,7 @@ - + 时段状态 @@ -167,10 +164,10 @@ {{ slot.slot_name }} - @@ -178,21 +175,25 @@ {{ getSlotStatusText(slot.status) }} - 标准:{{ slot.price_desc_standard || '详询' }} - 会员:{{ slot.price_desc_member || '详询' }} + 标准:{{ slot.price_desc_standard || '详询' + }} + 会员:{{ slot.price_desc_member || '详询' + }} - + 关闭 - + 立即预约 @@ -203,541 +204,585 @@ \ No newline at end of file