From fb2a67ef1ad8dac7ad2a15cb935e087d3f5f8221 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Fri, 22 Mar 2024 21:03:37 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E6=90=9C=E7=B4=A2):[#1001,=20#1002]?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=9A=84=E6=90=9C=E7=B4=A2=E8=AF=8D=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=86=8D=E6=AC=A1=E6=88=90=E4=B8=BA=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=EF=BC=9B=E7=82=B9=E5=87=BB=E7=83=AD=E9=97=A8?= =?UTF-8?q?=E8=AF=8D=E5=90=8C=E6=AD=A5=E8=87=B3=E5=8E=86=E5=8F=B2=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodSearch/index.vue | 77 ++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 35 deletions(-) diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 9c09b0c..70af129 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -2,36 +2,41 @@ - + 搜索 - - + 历史搜索 {{ item.word }} + v-for="item of historyKey" + :key="item.id" + class="item" + @click="toSearch(item.word)" + > + {{ item.word }} - 热门搜索 {{ keywordsKey }} + v-for="keywordsKey of keywords" + :key="keywordsKey" + class="item" + @click="toSearch(keywordsKey)" + > + {{ keywordsKey }} @@ -40,19 +45,18 @@