소스 검색

列表去掉二级标题

twt 3 달 전
부모
커밋
7f2568b462
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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>