<view class=“swiper-tab”>
<view class=“swiper-tab-list {{currentTab==0 ? ‘on’ : ‘’}}” data-current=“0” bindtap=“swichNav”>精选</view>
<view class=“swiper-tab-list {{currentTab==1 ? ‘on’ : ‘’}}” data-current=“1” bindtap=“swichNav”>团队游</view>
<view class=“swiper-tab-list {{currentTab==2 ? ‘on’ : ‘’}}” data-current=“2” bindtap=“swichNav”>自由行</view>
</view>
<swiper current="{{currentTab}}" class=“swiper-box” duration=“300” style=“height:{{winHeight}}px” bindchange=“bindChange”>
<!-- 我是哈哈 -->
<swiper-item>
<scroll-view wx:for="{{listData}}" wx:key="{{item.id}}">
<!-- 点击跳转界面并传值 -->
<navigator url=’…/indexDetail/indexDetail?id={{item.id}}’>
<image src=’{{item.imgurl}}’ class=‘listImg’></image>
<text class=‘listContent’>{{item.content}}</text>
<text>\n</text>
</navigator>
</scroll-view>
</swiper-item>
<!-- 我是呵呵 -->
<swiper-item>
<scroll-view wx:for="{{listData}}" wx:key="{{item.id}}">
<!-- 点击跳转界面并传值 -->
<navigator url=’…/indexDetail/indexDetail?id={{item.id}}’>
<image src=’{{item.imgurl}}’ class=‘listImg’></image>
<text class=‘listContent’>{{item.content}}</text>
<text>\n</text>
</navigator>
</scroll-view>
</swiper-item>
<!-- 我是嘿嘿 -->
<swiper-item>
<scroll-view wx:for="{{listData}}" wx:key="{{item.id}}">
<!-- 点击跳转界面并传值 -->
<navigator url=’…/indexDetail/indexDetail?id={{item.id}}’>
<image src=’{{item.imgurl}}’ class=‘listImg’></image>
<text class=‘listContent’>{{item.content}}</text>
<text>\n</text>
</navigator>
</scroll-view>
</swiper-item>
</swiper>