diff --git a/src/api/user/index.ts b/src/api/user/index.ts index eb46fe5..cedd60d 100644 --- a/src/api/user/index.ts +++ b/src/api/user/index.ts @@ -22,3 +22,11 @@ export const logout = () => post('/api/logout'); export const goodsMenu = () => get('/api/config'); // export const goodsMenu = (data:any) => get('/api/config', { data, custom: { toast: false } }); + +export const hotelListApi = (data: any) => get('/api/banquet/hotel/list', { data, custom: { toast: false } }); + +export const hotelDetailApi = (data: any) => get('/api/banquet/hotel/detail', { data, custom: { toast: false } }); + +export const hotelScheduleApi = (data: any) => get('/api/banquet/hotel/schedule', { data, custom: { toast: false } }); + +export const dishesListApi = (data: any) => get('/api/banquet/dishes/list', { data, custom: { toast: false } }); diff --git a/src/pages/banquet/hotel/detail.vue b/src/pages/banquet/hotel/detail.vue index 2fed1e9..36c98ab 100644 --- a/src/pages/banquet/hotel/detail.vue +++ b/src/pages/banquet/hotel/detail.vue @@ -1,9 +1,5 @@ \ No newline at end of file + }); + diff --git a/src/pages/tab/banquet/hotel.vue b/src/pages/tab/banquet/hotel.vue index 963a8b4..3a8dc8a 100644 --- a/src/pages/tab/banquet/hotel.vue +++ b/src/pages/tab/banquet/hotel.vue @@ -7,257 +7,83 @@ + maxlength="-1" height="60rpx" @change="getHotelList(true)"> - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +