<!--pages/admin/exam/add.wxml-->
<view class="page__title" style="text-align:center">新建考试</view>
<view class="weui-cells__title">基本信息</view>
<view class="weui-cells weui-cells_form">
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd"><label class="weui-label">考试名称</label></view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写考试名称" placeholder-class="weui-input__placeholder"
        value="{{form.name}}" />
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">考试地点</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写考试地点" placeholder-class="weui-input__placeholder" type="number"
        value="{{form.place}}" />
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">工作类别</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写您的快递单号" placeholder-class="weui-input__placeholder"
        bindinput="kdInput" />
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">参考机会</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写可参考次数" placeholder-class="weui-input__placeholder"
        value="3" />
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">开启时间</label>
    </view>
    <view class="weui-cell__bd">
      <date-time-picker value="{{formdata.opentime}}" bind:change="handleChange">{{formdata.opentime}}</date-time-picker>
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">关闭时间</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="选择考试关闭时间" placeholder-class="weui-input__placeholder"
        bindinput="addressInput" />
    </view>
  </view>
</view>
<view class="weui-cells__title">监考人信息</view>
<view class="weui-cells weui-cells_form">
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">姓名</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写监考人姓名" placeholder-class="weui-input__placeholder"
      value="{{form.proctor_name}}" />
    </view>
  </view>
  <view class="weui-cell weui-cell_active">
    <view class="weui-cell__hd">
      <label class="weui-label">联系方式</label>
    </view>
    <view class="weui-cell__bd">
      <input class="weui-input" placeholder="填写监考人联系方式" placeholder-class="weui-input__placeholder"
        value="{{form.proctor_phone}}" />
    </view>
  </view>
</view>
<view style="margin-top:16rpx">
<a class="weui-btn weui-btn_primary" bindtap="submit">确定</a>
</view>