index.wxml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <view class="tab">
  2. <view class="item" data-index="{{0}}" data-type="click" bindtap="changeSwiper">
  3. <text class="text-{{currentPage === 0?'blue':'grey'}}">全部</text>
  4. </view>
  5. <!-- <view class="item" wx:for="{{statusList}}" wx:key="index" data-index="{{item.code}}" data-type="click" bindtap="changeSwiper">
  6. <text class="text-{{currentPage === item.code?'blue':'grey'}}">{{item.desc}}</text>
  7. </view> -->
  8. <view class="item" data-index="{{1}}" data-type="click" bindtap="changeSwiper">
  9. <text class="text-{{currentPage === 1?'blue':'grey'}}">审核中</text>
  10. </view>
  11. <view class="item" data-index="{{2}}" data-type="click" bindtap="changeSwiper">
  12. <text class="text-{{currentPage === 2?'blue':'grey'}}">通过</text>
  13. </view>
  14. <view class="item" data-index="{{3}}" data-type="click" bindtap="changeSwiper">
  15. <text class="text-{{currentPage === 3?'blue':'grey'}}">不通过</text>
  16. </view>
  17. <view class="item" data-index="{{4}}" data-type="click" bindtap="changeSwiper" wx:if="{{type=='my-subscribe'}}">
  18. <text class="text-{{currentPage === 4?'blue':'grey'}}">已取消</text>
  19. </view>
  20. <view class="item" data-index="{{5}}" data-type="click" bindtap="changeSwiper" >
  21. <text class="text-{{currentPage === 5?'blue':'grey'}}">转让中</text>
  22. </view>
  23. </view>
  24. <swiper class="card-area" current="{{currentPage}}" duration="200" data-type="slide" bindchange="changeSwiper">
  25. <swiper-item>
  26. <scroll-view class="scroll-area" scroll-y="{{currentPage==0}}" bindscrolltolower="reachBottom" data-type="{{0}}">
  27. <my-meeting-module type="my-meeting" wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  28. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  29. </scroll-view>
  30. </swiper-item>
  31. <swiper-item>
  32. <scroll-view class="scroll-area" scroll-y="{{currentPage==1}}" bindscrolltolower="reachBottom" data-type="{{1}}">
  33. <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  34. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  35. </scroll-view>
  36. </swiper-item>
  37. <swiper-item>
  38. <scroll-view class="scroll-area" scroll-y="{{currentPage==2}}" bindscrolltolower="reachBottom" data-type="{{2}}">
  39. <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  40. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  41. </scroll-view>
  42. </swiper-item>
  43. <swiper-item>
  44. <scroll-view class="scroll-area" scroll-y="{{currentPage==3}}" bindscrolltolower="reachBottom" data-type="{{3}}">
  45. <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  46. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  47. </scroll-view>
  48. </swiper-item>
  49. <swiper-item>
  50. <scroll-view class="scroll-area" scroll-y="{{currentPage==4}}" bindscrolltolower="reachBottom" data-type="{{4}}">
  51. <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  52. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  53. </scroll-view>
  54. </swiper-item>
  55. <swiper-item>
  56. <scroll-view class="scroll-area" scroll-y="{{currentPage==4}}" bindscrolltolower="reachBottom" data-type="{{5}}">
  57. <my-meeting-module wx:if="{{list.length>0}}" wx:for="{{list}}" wx:key="index" item="{{item}}" type="{{type}}" />
  58. <tailTip total="{{total}}" pageSize="{{searchData.pageSize}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
  59. </scroll-view>
  60. </swiper-item>
  61. </swiper>