From 850903d2f184244a78c2ba2b75096db2e7dc610d Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 27 Apr 2023 13:56:59 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E7=9A=84?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=8F=AF=E8=A7=86=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 9 +- pages/tabBar/category/category.vue | 269 ++++++++++++----------------- static/img/changed.png | Bin 0 -> 489 bytes 3 files changed, 115 insertions(+), 163 deletions(-) create mode 100644 static/img/changed.png diff --git a/Utils/Api.js b/Utils/Api.js index b2c6233..4471c21 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -139,7 +139,14 @@ export const getOrderById = params => { //获取商户列表 export const getMerchantList = params => { return POST('GET', `${base}/highMerchantStore/getMerchantList`, params).then(res => res.data); -} +} +//查询新的地图商户 +export const getIndustry = params => { + return POST('GET', `${base}/common/getIndustry`, params).then(res => res.data); +} +export const getMapStore = params => { + return POST('GET', `${base}/common/getMapStore`, params).then(res => res.data); +} //首页获取门店 export const getStoreListByMerchant = params => { return POST('GET', `${base}/highMerchantStore/getStoreListByMerchant`, params).then(res => res.data); diff --git a/pages/tabBar/category/category.vue b/pages/tabBar/category/category.vue index 379160a..4a0fb8c 100644 --- a/pages/tabBar/category/category.vue +++ b/pages/tabBar/category/category.vue @@ -12,15 +12,16 @@ 全部全部{{index}} + v-for="(item,index) in goodsFirstClassList" :key="index" @click="changeType(item)">{{item.name}} + - 全部 + + {{selectFirstName}} - 全部 + {{distanceName}} @@ -36,33 +37,22 @@ - - 发生地方是发生地方 - - - - 发生地方是发生地方 - - - - 发生地方是发生地方 - - - - 发生地方是发生地方 - - - - 发生地方是发生地方 - + + {{item.name}} + - - 发生地方是发生地方 - - - - 发生地方是发生地方 - + + + + + + + {{item.title}} + @@ -72,7 +62,7 @@ 发现更多商户 - @@ -82,16 +72,14 @@ 发现更多商户 - - - - - - + + + @@ -100,146 +88,51 @@