|
@@ -6,15 +6,14 @@
|
|
<text class="nav-bar-title">{{listData.title || ''}}</text>
|
|
<text class="nav-bar-title">{{listData.title || ''}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="ezy-tab-border">
|
|
<view class="ezy-tab-border">
|
|
|
|
+ <view class="word-title-box" v-if="listData.jieNumberList && listData.jieNumberList.length >0">
|
|
|
|
+ <!-- @click="handleTitleClick(item)"-->
|
|
|
|
+ <view :id="'item-' + item.jieId" class="title-item" v-for="(item,index) in listData.jieNumberList"
|
|
|
|
+ :key="item.jieId" :class="{active: listData.activeIndex == index}"
|
|
|
|
+ v-show="isTargetInSameGroup(listData.jieNumberList, listData.jieNumberList[listData.activeIndex],item.jieId)">
|
|
|
|
+ Unit{{item.number}}</view>
|
|
|
|
+ </view>
|
|
<view class="ezy-border-body">
|
|
<view class="ezy-border-body">
|
|
- <view class="word-title-box" v-if="listData.jieNumberList && listData.jieNumberList.length >0">
|
|
|
|
- <!-- @click="handleTitleClick(item)"-->
|
|
|
|
- <view :id="'item-' + item.jieId" class="title-item" v-for="(item,index) in listData.jieNumberList"
|
|
|
|
- :key="item.jieId" :class="{active: listData.activeIndex == index}"
|
|
|
|
- v-show="isTargetInSameGroup(listData.jieNumberList, listData.jieNumberList[listData.activeIndex],item.jieId)">
|
|
|
|
- Unit{{item.number}}</view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
<swiper class="word-list-swiper-box" :indicator-dots="false" :autoplay="false" :circular="false" :current="listData.activeIndex"
|
|
<swiper class="word-list-swiper-box" :indicator-dots="false" :autoplay="false" :circular="false" :current="listData.activeIndex"
|
|
@change="handleSwiperChange" :disable-touch="!swiperData.isAllowed">
|
|
@change="handleSwiperChange" :disable-touch="!swiperData.isAllowed">
|
|
<swiper-item class="word-list-swiper-item" v-for="citem in unitList" :key="citem.jieId" @touchstart="handleTouchStart"
|
|
<swiper-item class="word-list-swiper-item" v-for="citem in unitList" :key="citem.jieId" @touchstart="handleTouchStart"
|