<!--myComponents/product/product.wxml-->
<view class="product_content">
  <view class="product_item" wx:for="{{tableData}}" wx:for-index="index" wx:key="index" bind:tap="checkMessage">
    <swiper class="swiper" autoplay="{{true}}" interval="{{3000}}"  duration="{{500}}" indicator-dots="{{false}}">  
      <block wx:if="{{item.systemFileList.length>0}}">  
        <swiper-item wx:for="{{item.systemFileList}}" wx:for-item="img" wx:key="*this">  
          <image src="{{imgHttp+img.guid}}" class="slide-image" />  
          <!-- <image src="{{imgHttp+img.guid}}" class="slide-image" data-current="{{img}}" data-imgList="{{item.systemFileList}}" bindtap="previewImage"/>   -->
        </swiper-item>  
      </block>  
      <swiper-item wx:else>
        <image  class="slide-image" src="/static/image/empty.gif" mode=""/>
      </swiper-item>
    </swiper>
    <view class="flex">
      <view class="title">
        {{index + 1}}.{{item.name}}
      </view>
      <view class="icon">
        <view class="iconfont myIconmonitor" data-index="{{index}}" bind:tap="control"></view>
        <view class="iconfont myIconguanzhu" data-index="{{index}}" bind:tap="open"></view>
      </view>
    </view>
    <view class="product_operate" wx-if="{{item.show}}">
    {{item.show}}
      <view class="cancel" data-index="{{index}}" bind:tap="cancel">×</view>
      <view class="grids"  bordered="{{ false }}">
        <view class="grid" data-type="1" data-index="{{index}}" bind:tap="attention">
          <view class="iconfont myIconanquanbangzhu operate_icon"></view>
          <view class="operate_text">白名单</view>
        </view>
        <view class="line"></view>
        <view class="grid" data-type="1" data-index="{{index}}" bind:tap="attention">
          <view class="iconfont myIcongroup43 operate_icon"></view>
          <view class="operate_text">灰名单</view>
        </view>
        <view class="line"></view>
        <view class="grid" data-type="1" data-index="{{index}}" bind:tap="attention">
          <view class="iconfont myIconicon-test operate_icon"></view>
          <view class="operate_text">黑名单</view>
        </view>
      </view>
    </view>
    
  </view>
  <view class="foot" wx:if="{{total && tableData.length>0}}">
    <view wx:if="{{total>tableData.length}}" bind:tap="loadMore">加载更多</view>
    <wux-spin wux-class="spin" size="small" wx:elif="{{loading}}"/>
    <view wx:elif="{{total>10}}">没有更多了</view>
  </view>
</view>
