<!--myComponents/product/product.wxml-->

<view class="product_content">
  <view class="product_item" wx:for="{{tableData}}" wx:for-index="index" wx:key="index" data-item="{{item}}" bind:tap="checkMessage">
    <swiper class="swiper" autoplay="{{false}}" 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">  
          <!-- <wux-image src="{{imgHttp+img.guid}}" wux-class="image"  width="100%" height="100px" shape="rounded" class="slide-image" />   -->
          <!-- <view class="slide-image" style="background-image: url('{{imgHttp+img.guid}}')"></view> -->
          <image src="{{imgHttp+img.guid}}" class="slide-image" mode="aspectFit"/>  

        </swiper-item>  
      </block>  
      <swiper-item wx:else>
        <!-- <image  class="slide-image" src="/static/image/empty.gif" mode=""/> -->
        <view class="slide-image" style="background-image: url('/static/image/empty.gif')"></view>
      </swiper-item>
    </swiper>
    <view class="flex">
      <view class="title">
        {{index + 1}}.{{item.name}}
      </view>

      <view class="icon">
        <block wx:if="{{!isFollow}}">
          <view wx:if="{{!item.ifMonitor}}" class="iconfont myIconmonitor" data-index="{{index}}" catch:tap="control"></view>
          <view wx:elif="{{item.ifMonitor}}" class="iconfont myIcona-yijiankong2x" data-index="{{index}}" catch:tap="cancelControl"></view>
        </block>
        
        <block wx:if="{{!isMonitor}}">
          <view wx:if="{{item.concernType == 0 || item.concernType}}" class="icon1 iconfont {{concernType[item.concernType]}}" data-index="{{index}}" catch:tap="cancel" ></view>
          <view wx:else class="iconfont myIconguanzhu" data-index="{{index}}" catch:tap="open"></view>
        </block>
        

        <myPopover2 wx:if="{{isFollow || menu.length>0}}" id="myPopover{{index}}" position="top" show="{{item.showMenu}}">
          <view slot="menu" class="menu">
            <view class="menu_item" wx:for="{{menu}}" wx:key="index" wx:for-item="menu" wx:for-index="ind" data-item="{{menu}}" data-index="{{index}}" catch:tap="onClickA">{{menu.label}}</view>
          </view>
          <view  class="iconfont myIconsangedian-type-1" data-index="{{index}}" catch:tap="moreMenu"></view>
        </myPopover2>
      </view>
    </view>
    <!-- <block wx:if="{{item.show == true}}">
      <view  class="product_operate" >
        <view class="cancel" data-index="{{index}}" catch:tap="cancel">×</view>
        <view class="grids"  bordered="{{ false }}">
          <view class="grid" data-type="1" data-index="{{index}}" catch:tap="attention">
            <view class="iconfont myIconanquanbangzhu operate_icon"></view>
            <view class="operate_text">白名单</view>
          </view>
          <view class="line"></view>
          <view class="grid" data-type="2" data-index="{{index}}" catch:tap="attention">
            <view class="iconfont  myIconicon-test operate_icon"></view>
            <view class="operate_text">灰名单</view>
          </view>
          <view class="line"></view>
          <view class="grid" data-type="0" data-index="{{index}}" catch:tap="attention">
            <view class="iconfont myIcongroup43 operate_icon"></view>
            <view class="operate_text">黑名单</view>
          </view>
        </view>
      </view>
    </block> -->
  </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>
