diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 4ec4f37..3992dd5 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -231,6 +231,11 @@ {{item.labelName}} + + + {{item.labelName}} + + {{item.labelName}} @@ -331,10 +336,17 @@ }, tagList:[] ,// 推荐标签列表 wztaglist:[ - {splId:"",labelName:"全部"}, + {splId:"-1",labelName:"全部"}, {splId:"5",labelName:"文学"}, {splId:"6",labelName:"哲学"}, ], + yxtaglist:[ + {splId:"0",labelName:"全部"}, + {splId:"2",labelName:"中医经典"}, + {splId:"1",labelName:"中医基础"}, + {splId:"3",labelName:"各家学说"}, + {splId:"4",labelName:"中医临床"}, + ], wztabsid: '', pageSize:10, page:1, @@ -451,7 +463,13 @@ tabsChange(item){ this.tjProList = [] this.tabsid = item.splId - this.wztabsid = '' + if(this.tabsid == 15){ + this.wztabsid = '0' + }else if(this.tabsid == 16){ + this.wztabsid = '-1' + }else{ + this.wztabsid = '' + } this.page = 1 // 获取推荐数据 this.getJtData()