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 {