From d113f5c5536cfe9aeecf5e3d5fd3b0295fa567e3 Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Thu, 29 Oct 2026 17:00:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(buyer):=20=E6=96=B0=E5=A2=9EPC=E7=AB=AF?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E4=B8=8E=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BC=A9=E7=95=A5=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/api/shopentry.js | 13 +- buyer/src/components/Search.vue | 93 ++- buyer/src/components/goods/GoodsThumb.vue | 26 +- buyer/src/pages/StoreList.vue | 878 ++++++++++++++++++++++ buyer/src/router/index.js | 7 + 5 files changed, 1007 insertions(+), 10 deletions(-) create mode 100644 buyer/src/pages/StoreList.vue diff --git a/buyer/src/api/shopentry.js b/buyer/src/api/shopentry.js index 18aefdc90..015ad40d1 100644 --- a/buyer/src/api/shopentry.js +++ b/buyer/src/api/shopentry.js @@ -6,7 +6,8 @@ import request, { export function shopList (params) { return request({ url: '/buyer/store/store', - needToken: true, + needToken: false, + optionalToken: true, method: Method.GET, params }) @@ -52,6 +53,16 @@ export function getStoreById (id) { } // 店铺详情 +// 获取店铺工商/营业执照信息 +export function getLicencePhoto (id) { + return request({ + url: `/buyer/store/store/get/licencePhoto/${id}`, + needToken: false, + optionalToken: true, + method: Method.GET + }) +} + export function getDetailById (id) { return request({ url: `/buyer/store/store/get/detail/${id}`, diff --git a/buyer/src/components/Search.vue b/buyer/src/components/Search.vue index 38ad65737..5975c9983 100644 --- a/buyer/src/components/Search.vue +++ b/buyer/src/components/Search.vue @@ -6,7 +6,7 @@ v-model="searchData" size="large" class="search-input" - placeholder="输入你想查找的商品" + :placeholder="placeholderText" @focus="openPanel" @input="queueSuggest" @keyup.enter="search" @@ -37,12 +37,22 @@ @click="$router.push('/')" />