<!-- catchtouchmove="filterTouchMove"  -->
<form bindsubmit="formSubmit" wx:if="{{show}}">
<view class="leftBox" hover-class="none" hover-stop-propagation="false">
  <view class="mask" wx:if="{{show}}" catchtouchmove="modalMove" bindtap="hideLeft"></view>
  <view class="hideBox {{show ? 'leftShow':''}}" wx:if="{{touchClose}}" style="height: {{info.agencyOperation == 2 ? '494px' : '560px'}};background-color:{{color}}" bindtouchstart="filterTouchStart">
    <view class="tac fw500 por">
      <!-- <slot name="title"></slot> -->
      <view class="iconfont icon-guanbi11 f14 c9 poa" style="color:#333;right:8px;top:-46px;width:32px;height:32px" catchtap="hideLeft"></view>
    </view>
    <!-- <slot></slot> -->
    <view class="bgf container">
      <view class="weui-cells weui-cells_form" style="display:flex; flex-direction:column; justify-content: space-between; margin-top: 0;height:calc(100% - 32px);">
        <view class wx:if="{{morePeople}}" style="height:calc(100% );overflow:auto">
          <view class="fsa pt16 pb16 bb1" wx:for="{{recordList}}">
            <view class>
              <view class="fw500">{{item.name + (item.gender ? ('/' + item.gender) :'') }}</view>
              <view class='c9'>{{item.tel}}</view>
            </view>
            <view class>
              <view class="iconfont icon-lajitong tac c6" style="font-size:14px;background-color:#f6f6f6;width:32px;height:32px;border-radius:50%;line-height:32px" hover-class="thover" hover-stop-propagation="{{true}}"></view>
              <!-- <checkbox class value="{{item.checked}}" color></checkbox> -->
            </view>
          </view>
        </view>
        <view class wx:else>
          <view class="weui-cell bb1 pb12">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:80px">
              <label class="weui-label c9 f12">
                您的姓名
                <text class="cfred">*</text>
              </label>
            </view>
            <view class="weui-cell__bd fsa">
              <input class="weui-input f17 flex-1" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="请输入您的姓名" placeholder-class="input__placeholder cccc" />
              <view class="sexBox fss" wx:if="{{info.agencyOperation == 2}}">
                <view class="sub mr12 {{sex == 1 ? 'subActive':''}}" bindtap="changeSex" data-type="1">先生</view>
                <view class="sub {{sex == 2 ? 'subActive':''}}" bindtap="changeSex" data-type="2">女士</view>
              </view>
            </view>
          </view>
          <view class="weui-cell bb1 pb12 pt12" wx:if="{{info.agencyOperation == 2}}">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:80px">
              <label class="weui-label c9 f12">
                您的年龄
                <text class="cfred">*</text>
              </label>
            </view>
            <view class="weui-cell__bd">
              <picker bindchange="bindPickerChangeAge" style="width:100%" value="{{ageIndex}}" range="{{ageArray}}">
                <view class="picker display-flex">
                  <block wx:if="{{ageIndex == -1}}">
                    <view class="ccc dib flex-1" style="color:#ccc">请选择年龄</view>
                  </block>
                  <block wx:else>
                    <view class="c3 dib flex-1">{{ageArray[ageIndex]}}</view>
                  </block>
                  <i class="iconfont icon-gengduo11 f16 dib pr c9 mr12" style="line-height:1;top:4px;"></i>
                </view>
              </picker>
            </view>
          </view>
          <view class="weui-cell bb1 pb12 pt12"  wx:if="{{info.agencyOperation == 1}}">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:90px">
              <label class="weui-label c9 f12">
                您的身份证号
                <text class="cfred">*</text>
              </label>
            </view>
            <view class="weui-cell__bd">
              <input class="weui-input f17" type="idcard" maxlength="18" name="idCard" placeholder="请输入您的身份证号" placeholder-class="input__placeholder cccc" />
            </view>
          </view>
          <view class="weui-cell bb1 pb12 pt12">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:80px">
              <label class="weui-label c9 f12">
                您的手机号
                <text class="cfred">*</text>
              </label>
            </view>
            <view class="weui-cell__bd">
              <input class="weui-input f17" type="number" maxlength="11" name="tel" placeholder="请输入您的手机号" placeholder-class="input__placeholder cccc" />
            </view>
          </view>
          <view class="weui-cell bb1 pb12 pt12"  wx:if="{{info.agencyOperation == 1}}">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:90px">
              <label class="weui-label c9 f12">
                预约面试时间
                <text class="cfred">*</text>
              </label>
            </view>
            <view class="weui-cell__bd">
              <picker mode="multiSelector" range="{{dateTimeArray}}" value="{{dateTime}}" bindchange="changeDateTime" bindcolumnchange="changeDateTimeColumn" style="color:#333">
                {{!!currentTime?currentTime:'----'}}
                <i class="iconfont icon-rili f16 ml4 dib pr c9" style="line-height:1;"></i>
              </picker>
            </view>
          </view>
          <view class="weui-cell bb1 pb12 pt12">
            <view class="weui-cell__hd display-flex aic mb16" style="max-width:80px">
              <label class="weui-label c9 f12">备注</label>
            </view>
            <view class="weui-cell__bd">
              <input class="weui-input f17" type="text" name="desp" placeholder="请输入备注" placeholder-class="input__placeholder cccc" />
            </view>
          </view>
        </view>
        <view class="sticky">
          <!-- <view class="f16 poa" style="top:-320px" bindtap="handlerMore">多人报名切换</view>
          <button class="bgf pt12 pb12 mb16" style="width: 100%; color:#0DCC91" hover-class="thover" bindtap="addPersion">
            <i class="iconfont icon-tianjia3 mr8 fw400"></i>选择报名人
          </button> -->

          <button class="loginOut mt0" style="width: 100%; " formType="submit" hover-class="thover">立即报名</button>
        </view>
      </view>
    </view>
  </view>
  <!-- <view class="hideBox {{show ? 'leftShow':''}}" wx:else style="height: {{height}};background-color:{{color}}">
    <view class="tac bb1 fw500 por">
      <slot name="title"></slot>
      <view class="iconfont icon-guanbi11 f14 c9 poa" wx:if="{{cancerShow}}" style="color:#333;right:8px;top:16px;width:32px;height:32px" catchtap="hideLeft"></view>
    </view>
    <slot></slot>
  </view>-->
</view>
</form>
