From eaa04e395b289948ffefac5b1e24ccd70db1d4e7 Mon Sep 17 00:00:00 2001 From: paulGao Date: Fri, 4 Nov 2022 17:56:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=A5=BC=E5=B1=82?= =?UTF-8?q?=E8=A3=85=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/home.js | 14 +- pages/product/shopPage.vue | 434 +++++++++++++++++++++++++++---------- 2 files changed, 331 insertions(+), 117 deletions(-) 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 @@