<!--pages/component/followPopup/followPopup.wxml-->
<van-popup
  show="{{ show }}"
  closeable="{{closeable}}"
  position="bottom"
  round
  custom-style="height: auto;"
  bind:close="onClose"
>
  <view class="popup">
    <view class="grid" data-type="1" catch:tap="attention">
      <view class="iconfont myIconanquanbangzhu operate_icon"></view>
      <view class="operate_text">白名单</view>
    </view>
    <wux-divider wux-class="line" show-text="{{ false }}"/>
    <view class="grid" data-type="2"  catch:tap="attention">
      <view class="iconfont myIconicon-test  operate_icon"></view>
      <view class="operate_text">灰名单</view>
    </view>
    <wux-divider  wux-class="line" show-text="{{ false }}"/>
    <view class="grid" data-type="0" catch:tap="attention">
      <view class="iconfont myIcongroup43 operate_icon"></view>
      <view class="operate_text">黑名单</view>
    </view>
    <wux-divider  wux-class="line" show-text="{{ false }}"/>
    <view class="grid" data-type="-1" catch:tap="attention">
      <view class="iconfont myIconguanzhu-yiguanzhu operate_icon"></view>
      <view class="operate_text">仅关注</view>
    </view>
    <block wx:if="{{changeFollow}}">
      <wux-divider  wux-class="line" show-text="{{ false }}"/>
      <view class="grid" catch:tap="cancelFollow">
        <view class="operate_text">取消关注</view>
      </view>
    </block>
    <block wx:if="{{showCollect && !changeFollow}}">
      <wux-divider   wux-class="line" show-text="{{ false }}"/>
      <view class="grid">
        <van-checkbox value="{{ isAdd }}" bind:change="changeIsAdd">选择的专利是否收藏到对应产品当中</van-checkbox>
      </view>
    </block>
   
  </view>
</van-popup>