12345678910111213141516171819202122232425262728293031323334353637383940 |
- <view class="tab">
- <view class="item" data-index="{{0}}" data-type="click" bindtap="changeSwiper">
- <text class="text-{{currentPage === 0?'blue':'grey'}}">全部</text>
- </view>
- <view class="item" data-index="{{1}}" data-type="click" bindtap="changeSwiper">
- <text class="text-{{currentPage === 1?'blue':'grey'}}">未开始</text>
- </view>
- <view class="item" data-index="{{2}}" data-type="click" bindtap="changeSwiper">
- <text class="text-{{currentPage === 2?'blue':'grey'}}">进行中</text>
- </view>
- <view class="item" data-index="{{3}}" data-type="click" bindtap="changeSwiper">
- <text class="text-{{currentPage === 3?'blue':'grey'}}">已结束</text>
- </view>
- </view>
- <swiper class="card-area" current="{{currentPage}}" duration="200" data-type="slide" bindchange="changeSwiper">
- <swiper-item>
- <scroll-view class="scroll-area" scroll-y="{{currentPage==0}}" bindscrolltolower="reachBottom" data-type="{{0}}">
- <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}"/>
- <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view class="scroll-area" scroll-y="{{currentPage==1}}" bindscrolltolower="reachBottom" data-type="{{1}}">
- <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}"/>
- <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view class="scroll-area" scroll-y="{{currentPage==2}}" bindscrolltolower="reachBottom" data-type="{{2}}">
- <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}"/>
- <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view class="scroll-area" scroll-y="{{currentPage==3}}" bindscrolltolower="reachBottom" data-type="{{3}}">
- <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}"/>
- <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
- </scroll-view>
- </swiper-item>
- </swiper>
|