wangxy 15 часов назад
Родитель
Сommit
26449d71c3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      pages/chaojidanci/wordList/wordList.vue

+ 2 - 2
pages/chaojidanci/wordList/wordList.vue

@@ -10,7 +10,7 @@
         v-if="listData.danyuanNumberList && listData.danyuanNumberList.length > 0"
         v-if="listData.danyuanNumberList && listData.danyuanNumberList.length > 0"
       >
       >
 	  <!-- disabled-->
 	  <!-- disabled-->
-		<icon class="word-jt jt-left"/>
+		<icon class="word-jt jt-left" :class="{ disabled: listData.activeIndex === 0 }" />
 		<view class="tab-item-list">
 		<view class="tab-item-list">
 			<!-- active -->
 			<!-- active -->
 			<ezyActiveVue
 			<ezyActiveVue
@@ -30,7 +30,7 @@
 			  Unit{{ item.number }}</ezyActiveVue>
 			  Unit{{ item.number }}</ezyActiveVue>
 		</view>
 		</view>
 		<!-- disabled-->
 		<!-- disabled-->
-		<icon class="word-jt jt-right"/>
+		<icon class="word-jt jt-right" :class="{ disabled: listData.activeIndex === listData.danyuanNumberList.length - 1 }"/>
       </view>
       </view>
 
 
         <swiper
         <swiper