<view class="all-date">
  <view class="data-tier" catchTap="onClose"></view>
  <view class="staff-header {{isShow?'showPop':''}}">
    <form onReset="onReset">
      <view class="search flex-box flex-v-ce">
        <image mode="scaleToFill" src="../../../image/ss.png"/>
        <input placeholder="请输入姓名搜索" onInput="bindKeyInput" class="flex-1"/>
        <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
      </view>
    </form>
    <scroll-view class="staff-ul" scroll-y="{{true}}">
      <view class="flex-box flex-v-ce userItem" a:for="{{userList}}" a:if="{{item.name.indexOf(keyVal)>= 0}}">
        <label class="flex-box flex-v-ce flex-1">
          <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx"></img-box>
          <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
          <checkbox onChange="radioChange" data-index="{{index}}" data-item="{{item}}" checked="{{item.checked}}" name="{{item.id}}" value="{{item}}"/>
        </label>
      </view>
      <view a:if="{{userList.length==0}}" class="fontColorF" style="margin-top:200rpx;text-align: center;">
        <view>暂无相关人员</view>
      </view>
    </scroll-view>
    <view class="flex-box flex-v-ce selectUsers" a:if="{{selectUserId.length>0}}">
      <view a:for="{{selectUserId}}" style="margin-right:10rpx;height:70rpx;">
        <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;display: inline-block;  position: relative;top: 6rpx;" src="{{item.img_url}}"></image>
        <view a:else style="width: 70rpx;height: 70rpx;border-radius: 100%;background: #26A2FF;color: #fff;text-align: center;line-height: 70rpx;font-size: 24rpx;">{{item.name.substr(item.name.length-2)}}</view>
      </view>
    </view>
    <view class="flex-box date-btn">
      <view class="flex-1" catchTap="onClose">取消</view>
      <view class="flex-1" catchTap="onConfirm">确定</view>
    </view>
  </view>
  <view class="meng" catchTap="onClose"></view>
</view>