<!--pages/selectedPatents/selectedPatents.wxml-->
<navBar></navBar>
<van-notify id="van-notify" />
<view class="selectedPatents">
  <view class="head">
    <view>
      <text class="head_text">已选择专利</text>
    </view>
    <view></view>
  </view>
  <scroll-view scroll-y class="content">
    <block wx:for="{{tableData}}" wx:key="index">
    <view class="content_item">
     <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-patentNo="{{item.patentNo}}"  bind:change="changePatentNoList">
              <van-checkbox name="{{item.patentNo}}"></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}}">
            专利权人：
            <text wx:for="{{item.rightHolder}}" wx:for-item="rightHolder" wx:for-index="ind" wx:key="ind">
              <text>{{rightHolder.name}}</text>
              <text wx:if="{{ind != item.rightHolder.length-1}}">、</text>
            </text>
            <!-- {{item.rightHolder[0].name}} -->
          </view>
          </view>
        </myCard>
    </view>
       
      </block>
  </scroll-view>
  <view class="foot">
    <view class="foot_btn" bind:tap="humanServices">付费解读</view>
    <view class="foot_btn" bind:tap="export">导出专利</view>
  </view>
</view>