searchRecords.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!--pages/searchRecords/searchRecords.wxml 检索记录-->
  2. <navBar></navBar>
  3. <van-notify id="van-notify" />
  4. <view class="searchRecords">
  5. <view class="head">
  6. <text>检索记录</text>
  7. </view>
  8. <scroll-view type="list" scroll-y class="main">
  9. <block wx:for="{{tableData}}" wx:key="index">
  10. <myCard>
  11. <view slot="head_left">
  12. {{index}}{{item.name}}
  13. </view>
  14. <view slot="head_right">
  15. {{item.time}}
  16. </view>
  17. <view>
  18. <swiper indicator-dots="{{true}}"
  19. autoplay="{{true}}" interval="{{2000}}" duration="{{500}}">
  20. <block wx:for="{{item.systemFileList}}" wx:for-item="img" wx:key="*this">
  21. <swiper-item>
  22. <image src="{{imgHttp+img.guid}}" class="slide-image" data-current="{{img}}" data-imgList="{{item.systemFileList}}" bindtap="previewImage"/>
  23. </swiper-item>
  24. </block>
  25. </swiper>
  26. </view>
  27. </myCard>
  28. </block>
  29. <view class="loadData" wx:if="{{total && tableData.length>0}}">
  30. <view wx:if="{{total>tableData.length}}" bind:tap="loadMore">加载更多</view>
  31. <view wx:else>没有更多了</view>
  32. </view>
  33. </scroll-view>
  34. </view>