Kaynağa Gözat

列表去掉二级标题

twt 3 ay önce
ebeveyn
işleme
7f2568b462
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      pages/mobile/topTab.vue
  2. 1 1
      pages/mobileLh/topTab.vue

+ 1 - 1
pages/mobile/topTab.vue

@@ -34,7 +34,7 @@
 		<!-- item -->
 
 		<view class="itemBg">
-			<view v-for="(item,index) in itemArr" :key="index" class="twoItem" :class="{line:index>0}" @click="goList(item)">
+			<view v-for="(item,index) in itemArr" :key="index" class="twoItem" v-if="item.Type!=1" :class="{line:index>0}" @click="goList(item)">
 				<image :src="item.LogoImg" mode="" class="img2"></image>
 				<view class="rightItem">
 					<view class="title">{{item.Title}}</view>

+ 1 - 1
pages/mobileLh/topTab.vue

@@ -34,7 +34,7 @@
 		<!-- item -->
 
 		<view class="itemBg">
-			<view v-for="(item,index) in itemArr" :key="index" class="twoItem" :class="{line:index>0}" @click="goList(item)">
+			<view v-for="(item,index) in itemArr" :key="index" class="twoItem" v-if="item.Type!=1" :class="{line:index>0}" @click="goList(item)">
 				<image :src="item.LogoImg" mode="" class="img2"></image>
 				<view class="rightItem">
 					<view class="title">{{item.Title}}</view>