From a1182276a981f3451daba0b569ce7f419bdeb14b Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 20 Mar 2025 16:32:48 +0800 Subject: [PATCH] =?UTF-8?q?Task=EF=BC=9A=E7=83=AD=E9=97=A8=E8=AF=8D?= =?UTF-8?q?=E6=9D=A1=E6=A0=B7=E5=BC=8F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodSearch/index.vue | 45 ++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 28c2e80..122293d 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -63,12 +63,20 @@ 热门搜索 - {{ keywordsKey }} + + + + + {{ hot.keyword }} + + + @@ -136,6 +144,7 @@ export default { name: 'GoodSearch', data: function () { return { + webUrl: this.$VUE_APP_RESOURCES_URL, showkey: true, currentSearch: '', keywords: [], @@ -227,7 +236,7 @@ export default { getSearchPageConfig().then(res => { const { success, data } = res if (success) { - this.keywords = data.hotKeyword + this.keywords = data.searchKeywords this.rankingArr.push(data.ranking1) this.rankingArr.push(data.ranking2) this.recommendKeyword = data.recommendKeyword.split(',') @@ -277,6 +286,23 @@ export default {