<view>
  <view class="header">
    <view class="title fontColorF">分组名称</view>
    <view style="width:100%">
        <input placeholder="请输入分组名称" class="input" value="{{title}}" onInput="setTitle"/>
    </view>
  </view>
  <view class="main">
    <view class="main-herader margin-bottom">
      <view class="title fontColorF">分组成员({{selectUser.length}})</view>
      <view class="flex-box flex-v-ce add" onTap="openAdd">
        <view class="blue flex-1">+ 添加员工</view>
        <view class="add-right fontColorF">
          <!-- <text a:for="{{selectUser}}">{{item.name}},</text>
          <text>{{selectUser.length}}人</text> -->
          <!-- <image mode="scaleToFill" src="../../../image/right.png"/> -->
        </view>
      </view>
    </view>
    <scroll-view scroll-y="{{true}}" class="scroll">
      <view a:for="{{selectUser}}" class="border-bottom flex-box dataList flex-v-ce">
        <img-box imgUrl="{{item.img_url}}" name="{{item.name}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
        <text>{{item.name}}</text>
      </view>
    </scroll-view>
  </view>
  <view class="footer flex-box flex-v-ce">
    <block a:if="{{isbj}}">
      <view onTap="delete" class="flex-1 delete">删除</view>
      <view onTap="compile" class=" flex-2 save">保存</view>
    </block>
    <view onTap="save" class=" flex-2 save" a:else>保存</view>
  </view>
  <view class="box" animation="{{animationInfo}}" a:if="{{isbj}}">
    <select-section-staff isBoss="{{true}}" onClose="onClose" selectUser="{{selectUser}}" a:if="{{selectUser.length>0}}" onConfirm="onSelectUser"/>
  </view>
  <view class="box" animation="{{animationInfo}}" a:else>
    <select-section-staff isBoss="{{true}}" onClose="onClose" onConfirm="onSelectUser"/>
  </view>
</view>