collectPatent.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!--pages/collectPatent/collectPatent.wxml-->
  2. <navBar></navBar>
  3. <van-notify id="van-notify" />
  4. <wux-gallery id="wux-gallery" />
  5. <wux-refresher
  6. id="wux-refresher"
  7. bind:pulling="onPulling"
  8. bind:refresh="onRefresh"
  9. scrollTop="{{scrollTop}}"
  10. >
  11. <view class="collectPatent">
  12. <view class="head">
  13. <text>我的收藏专利</text>
  14. </view>
  15. <scroll-view wx:if="{{tableData.length>0}}" type="list" scroll-y class="main">
  16. <block wx:for="{{tableData}}" wx:key="index">
  17. <myCard edit="{{false}}">
  18. <view slot="head_left">
  19. <van-tag round color="#3f395c">{{index+ 1}}</van-tag> 专利号:{{item.appNo}}
  20. </view>
  21. <!-- <view slot="head_right">
  22. <van-checkbox-group value="{{ patentNoList }}" data-item="{{item}}" data-index="{{index}}" data-appNo="{{item.appNo}}" bind:change="changePatentNoList">
  23. <van-checkbox name="{{item.appNo}}"></van-checkbox>
  24. </van-checkbox-group>
  25. </view> -->
  26. <view>
  27. <swiper indicator-dots="{{true}}"
  28. autoplay="{{false}}" interval="{{2000}}" duration="{{500}}">
  29. <block wx:if="{{item.imageList && item.imageList.length>0}}" wx:for="{{item.imageList}}" wx:for-item="img" wx:key="index">
  30. <swiper-item>
  31. <view style="background-image: url('{{imgHttp+img.guid}}')" class="slide-image" data-current="{{img}}" data-imgList="{{item.imageList}}" bind:tap="previewImage"></view>
  32. <!-- <image src="{{imgHttp+img.guid}}" class="slide-image" data-current="{{img}}" data-imgList="{{item.systemFileList}}" bindtap="previewImage" mode="aspectFit"/> -->
  33. </swiper-item>
  34. </block>
  35. </swiper>
  36. <view wx:if="{{item.rightHolder && item.rightHolder.length>0}}">
  37. 专利权人:{{item.rightHolder[0]}}
  38. </view>
  39. </view>
  40. </myCard>
  41. </block>
  42. <view class="loadData" wx:if="{{total && tableData.length>0}}">
  43. <view wx:if="{{total>tableData.length}}" bind:tap="loadMore">加载更多</view>
  44. <wux-spin wux-class="spin" size="small" wx:elif="{{loading}}"/>
  45. <view wx:elif="{{total>10}}">没有更多了</view>
  46. </view>
  47. </scroll-view>
  48. <van-empty wx:else description="暂无数据" />
  49. </view>
  50. </wux-refresher>