From 6b326d32899748b5a1c279d6bc68663ed539ce44 Mon Sep 17 00:00:00 2001 From: yanwenlong Date: Thu, 11 Jan 2024 14:02:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E5=AD=A6=E5=8A=A0=E5=9B=BE=E4=B9=A6?= =?UTF-8?q?=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/peanut/home.vue | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) 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()