diff --git a/pages/index/searchPage.vue b/pages/index/searchPage.vue index b7f48a8..9cc1563 100644 --- a/pages/index/searchPage.vue +++ b/pages/index/searchPage.vue @@ -37,7 +37,7 @@ {{item.name}} @@ -125,7 +125,8 @@ export default{ } }) }, - clickSearchItem(item){ + clickSearchItem(item,index){ + this.active=index; this.contentList.filter(i=>{ return i.wx_category_id == item.id })