diff --git a/src/components/reserve/room-list.vue b/src/components/reserve/room-list.vue index 6f91baf..19c0aed 100644 --- a/src/components/reserve/room-list.vue +++ b/src/components/reserve/room-list.vue @@ -5,28 +5,56 @@ - - 双人包间这个是标题名称 - - + + 双人包间这个是标题名双人包间这个是标题名双人包间这个是标题名 + + 文艺小清新 - + 全息投影 - - + 已售 10+ - 预定 + 预定 + + + + + 这是团购套餐的名称这是团购套餐的名称这是团购套餐的名称这是团购套餐的名称 + + + 3小时 + + + + 适用包间:绿茶、红茶、青茶、白茶、绿茶适用包间:绿茶、红茶、青茶、白茶、绿茶 + + + + + + + 5折 + + + + + 已售 10+ + 预定 + + - - + + {{ item }} @@ -38,20 +66,39 @@ diff --git a/src/pages-sub/reserve-room/detail.vue b/src/pages-sub/reserve-room/detail.vue new file mode 100644 index 0000000..4d66fcc --- /dev/null +++ b/src/pages-sub/reserve-room/detail.vue @@ -0,0 +1,404 @@ + +{ + "layout": "tabbar", + "style": { + "navigationStyle": "custom" + } +} + + + + + diff --git a/src/pages-sub/reserve-room/reserve-room.vue b/src/pages-sub/reserve-room/room.vue similarity index 98% rename from src/pages-sub/reserve-room/reserve-room.vue rename to src/pages-sub/reserve-room/room.vue index 1f3366b..9c7f448 100644 --- a/src/pages-sub/reserve-room/reserve-room.vue +++ b/src/pages-sub/reserve-room/room.vue @@ -87,14 +87,14 @@ - + - + @@ -136,7 +136,6 @@ const rate = ref(4) const tab = ref(0) const goods = ref[]>([]) - const showPopup = ref(false) const showAction = ref(false) const sheetMenu = ref([]) diff --git a/src/pages.json b/src/pages.json index 03a3352..b617330 100644 --- a/src/pages.json +++ b/src/pages.json @@ -18,7 +18,7 @@ "custom": false, "color": "#999999", "selectedColor": "#018d71", - "backgroundColor": "#F8F8F8", + "backgroundColor": "#FFF", "borderStyle": "black", "height": "50px", "fontSize": "10px", @@ -127,7 +127,15 @@ } }, { - "path": "reserve-room/reserve-room", + "path": "reserve-room/detail", + "type": "page", + "layout": "tabbar", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "reserve-room/room", "type": "page", "layout": "tabbar", "style": { diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 3f2638a..0125111 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -179,7 +179,7 @@ handleToReserveRoom: (id: number = 1) => { // 跳转到预约茶室页面 uni.navigateTo({ - url: `/pages-sub/reserve-room/reserve-room?id=${id}` + url: `/pages-sub/reserve-room/room?id=${id}` }) } } diff --git a/src/tabbar/config.ts b/src/tabbar/config.ts index 27cddca..20ce39f 100644 --- a/src/tabbar/config.ts +++ b/src/tabbar/config.ts @@ -124,7 +124,7 @@ const _tabbar: TabBar = { custom: selectedTabbarStrategy === TABBAR_MAP.CUSTOM_TABBAR_WITH_CACHE, color: '#999999', selectedColor: '#018d71', - backgroundColor: '#F8F8F8', + backgroundColor: '#FFF', borderStyle: 'black', height: '50px', fontSize: '10px',