<!--pages/collectPatent/collectPatent.wxml-->
<navBar></navBar>
<van-notify id="van-notify" />

<view class="collectPatent">
  <view class="head">
    <text>{{title}}</text>
  </view>
  <view class="main">
    <my-scroll-view triggered="{{triggered}}" load="{{load}}" hasMore="{{hasMore}}" bindonRefresh="onRefresh" bindloadMore="loadMore" customStyle="height: calc(100vh - 300rpx)">
    <view  wx:if="{{tableData.length>0}}">
      <block  wx:for="{{tableData}}" wx:key="index">
          <myCard edit="{{false}}">
            <view slot="head_left">
              <van-tag round color="#3f395c">{{index+ 1}}</van-tag>  专利号：<text class="link" data-patentNo="{{item.patentNo}}" catch:tap="checkPatentDetail">{{item.patentNo}} </text>
            </view>
            <!-- <view slot="head_right">
              <van-checkbox-group value="{{ patentNoList }}" data-item="{{item}}" data-index="{{index}}" data-appNo="{{item.appNo}}"  bind:change="changePatentNoList">
                <van-checkbox name="{{item.appNo}}"></van-checkbox>
              </van-checkbox-group>
            </view> -->
            <view>
              <swiper indicator-dots="{{true}}"
              autoplay="{{false}}" interval="{{2000}}" duration="{{500}}">
              <block wx:if="{{item.imageList && item.imageList.length>0}}" wx:for="{{item.imageList}}" wx:for-item="img" wx:key="index">
                <swiper-item>
                  <!-- <view style="background-image: url('{{imgHttp+img.guid}}')" class="slide-image" data-current="{{img}}" data-imgList="{{item.imageList}}" bind:tap="previewImage"></view>   -->
                  <image src="{{img.guid}}" data-current="{{img}}" data-imgList="{{item.imageList}}" bindtap="previewImage" class="slide-image" 	show-menu-by-longpress mode="aspectFit"/>  
                </swiper-item>
              </block>
            </swiper>
            <view wx:if="{{item.rightHolder && item.rightHolder.length>0}}">
              专利权人：
              <!-- {{item.rightHolder[0]}} -->
              <text wx:for="{{item.rightHolder}}" wx:for-item="rightHolder" wx:for-index="ind" wx:key="ind">
                <text>{{rightHolder}}</text>
                <text wx:if="{{ind != item.rightHolder.length-1}}">、</text>
              </text>
            </view>
            </view>
          </myCard>
        </block>
    </view>
      
       <van-empty wx:else description="暂无数据" /> 
    </my-scroll-view>
   
  </view>
</view>
