|
@@ -7,11 +7,12 @@
|
|
|
</view>
|
|
|
<view class="ezy-tab-border">
|
|
|
<view class="ezy-border-body">
|
|
|
- <view class="word-title-box" style="display: flex;overflow-x: auto;" v-if="listData.jieNumberList && listData.jieNumberList.length >0">
|
|
|
- <view :id="'item-' + item.jieId" class="title-item" v-for="(item,index) in listData.jieNumberList" @click="handleTitleClick(item)"
|
|
|
- :key="item.jieId" :class="{active: listData.activeIndex == index}"
|
|
|
- v-show="isTargetInSameGroup(listData.jieNumberList, listData.jieNumberList[listData.activeIndex],item.jieId)">
|
|
|
- Unit{{item.number}}</view>
|
|
|
+ <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"
|
|
@@ -176,9 +177,11 @@
|
|
|
|
|
|
//tab click
|
|
|
function handleTitleClick(item) {
|
|
|
- if (!cacheManager.get('auth')) {
|
|
|
+ if (userCode == 'Visitor') {
|
|
|
youkeDialogRef.value.handleShow();
|
|
|
- } else {
|
|
|
+ } else if (userCode == 'Not-Vip') {
|
|
|
+ goPayDialogRef.value.handleShow();
|
|
|
+ }else {
|
|
|
updataShuju(item)
|
|
|
}
|
|
|
}
|