<!--pages/index/policy/list/list.wxml-->
<view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">主体名录</text>
</view>
<view style="margin-top:{{isIPX?'88px':'64px'}};background: linear-gradient(to right, #429a68, #9ecf67);">
  <van-search
    value="{{ value }}"
    shape="round"
    background="transparent"
    placeholder="请输入相关内容搜索"
    clearable
    bind:change="goSearch"
    use-left-icon-slot
  >
    <van-icon slot="left-icon" name="search" size="20" color="#2962EF" style="margin-right: 10px;" />
  </van-search>
</view>
<van-dropdown-menu>
  <van-dropdown-item value="{{ statisticsTypeId }}" options="{{ option1 }}" bind:change="changeTab" />
</van-dropdown-menu>
<scroll-view scroll-y refresher-threshold="0" style="height:76vh" bindscrolltolower="paging" lower-threshold="100">

  <!-- <view class="flex_main" bind:tap="goDetail">
    <van-cell use-label-slot border="{{false}}">
      <view slot="icon" style="border-right: 3px solid #9ecf67;height: 16px;margin-top: .5vh;margin-right: 5px;"></view>
      <view slot="title">
        <text class="title">主体名称主体名称主体名称主体名称主体名称{{statisticsTypeId}}</text>
      </view>
      <view slot="label" class="label">
        <text>法人姓名</text>
        <text>主体地址主体地址主体地址主体地址</text>
      </view>
    </van-cell>
  </view> -->

  <view class="flex_main" wx:for="{{list}}" data-id="{{item.id}}" bind:tap="goDetail">
    <van-cell use-label-slot border="{{false}}">
      <view slot="icon" style="border-right: 3px solid #9ecf67;height: 16px;margin-top: .5vh;margin-right: 5px;"></view>
      <view slot="title">
        <text class="title">{{item.entityName}}</text>
      </view>
      <view slot="label" class="label">
        <text>{{item.corporateRepresentativeName}}</text>
        <text>{{item.entityAddress}}</text>
      </view>
    </van-cell>
  </view>
</scroll-view>