diff --git a/api/home.js b/api/home.js index a5dee69..84cb0f9 100644 --- a/api/home.js +++ b/api/home.js @@ -44,10 +44,22 @@ export function getHotKeywords(count) { * @param client_type * @param page_type */ -export function getFloorData() { +export function getFloorData(params) { return http.request({ url: `/other/pageData/getIndex?clientType=H5`, method: "get", + params + }); +} + +/** + * 获取店铺楼层数据 + */ +export function getFloorStoreData(params) { + return http.request({ + url: `/other/pageData?pageClientType=H5`, + method: "get", + params }); } diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index cbceb11..c9d47ba 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -1,91 +1,154 @@