<!--pages/peopleManagement/peopleManagement.wxml-->
<view class='peopleManagement'>
  <view class='top_peopleManagement'>
    <text>圈内人数：5人</text>
    <view class='peoplesearch'>
      <view class='search'>
        <van-cell-group>
          <van-field
            value="{{ value }}"
            placeholder="请输入用户名"
            border="{{ false }}"
            bind:change="onChange"
          />
        </van-cell-group>
      </view>
      <van-button type="default" size='small'>搜索</van-button>
    </view>
    <view class='peopleList'>
      <view class='con_peopleList'>
        <text>圈主（1）</text>
        <view>
          <van-swipe-cell right-width="{{ 50 }}" left-width="{{ 0 }}">
            <view slot="left">选择</view>
            <van-cell-group>
              <image src='../../img/1.jpg'></image>邵帅
            </van-cell-group>
            <view slot="right">删除</view>
          </van-swipe-cell>
        </view>
      </view>
      <view class='con_peopleList' wx:for="{{memberList}}" wx:key="{{index}}">
        <text>C（1）</text>
        <view>
          <van-swipe-cell right-width="{{ 50 }}" left-width="{{ 0 }}" async-close bind:close="onClose" data-userid="{{item.user_id}}">
            <view slot="left">选择</view>
            <van-cell-group>
              <image src='../../img/1.jpg'></image>{{item.name}}
            </van-cell-group>
            <view slot="right" >删除</view>
          </van-swipe-cell>
        </view>
      </view>
    </view>
  </view>
  <view class='invite' bindtap='inviteCircleMember'>邀请成员</view>
  <van-dialog id="van-dialog" />
</view>
