<!--pages/educations-add/index.wxml-->
<!-- <view class="header_title">
  <view class="header_title_row">
    <van-row>
     
      <van-col span="7">
        <view class="header_img" bindtap="goGCLB">
          <image src="/images/left.png"></image>
          <text class="header_fh">返回</text>
        </view>
      </van-col>
      <van-col span="10">
        <view class="header_name">新增教育培训</view>
      </van-col>
    </van-row>
  </view>
</view> -->

<view class="max_new_content"> 
    <view class="add_max">
        <view class="add_title">培训类型</view>
        <voucher-select columns="{{educationTypeList}}" selectValue="{{activeName}}" selectIndex="{{activeIndex}}" placeholder="请选择培训类型" bindchange="onSelectEducationType"></voucher-select>
    </view>

    <view class="add_max">
        <view class="add_title">培训时间</view>
        <van-row>
          <van-col span="10">
            <voucher-date-copy counts="5" currentDate="{{trainingStartTime2}}" placeholder="开始时间" time="{{trainingStartTime}}" bindchange="onStartTime"></voucher-date-copy>
          </van-col>
          <van-col span="4">
            <view style="text-align: center;line-height: 90rpx;">至</view>
          </van-col>
          <van-col span="10">
            <voucher-date-copy counts="5" maxDate="{{maxDate}}" currentDate="{{trainingEndTime2}}"  placeholder="结束时间" time="{{trainingEndTime}}" bindchange="onEndTime"></voucher-date-copy>
          </van-col>
        </van-row>
    </view>

    <view class="add_max">
      <view class="add_title">培训内容</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写培训内容" placeholder-style="color:#6777aa;" bindinput="onInputContent"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">协作队伍</view>
        <voucher-many-select columns="{{cooperationTeamList}}" placeholder="请选择协作队伍" bindchange="onCooperationTeam"></voucher-many-select>
    </view>

    <view class="add_max">
        <view class="add_title">参与人数</view>
        <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写参与人数" placeholder-style="color:#6777aa;" bindinput="onInputNumber"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">培训照片</view>
        <file-uploader  bindimages="onImagesArr"></file-uploader>
    </view>

    <view class="add_btn">
        <view class="add_btn_qx" bindtap="goGCLB">取消</view>
        <view class="add_btn_bc" bindtap="add">保存</view>
    </view>
</view>

<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  

