<!--pages/educations-details/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_content">
    <view class="add_max">
      <view class="add_title">培训类型</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder-style="color:#6777aa;" value="{{trainingData.dict_label}}" disabled="disabled"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">培训时间</view>
        <van-row>
          <van-col span="10">
            <view class="voucher_select_max">
              <view class="voucher_select_min">
                <input placeholder-style="color:#6777aa;" value="{{trainingData.cultivate_time}}" disabled="disabled"/>
              </view>
            </view>
            <!-- <voucher-date counts="5" placeholder="开始时间" bindchange="onStartTime" time="{{trainingData.cultivate_time}}"></voucher-date> -->
          </van-col>
          <van-col span="4">
            <view style="text-align: center;line-height: 90rpx;">至</view>
          </van-col>
          <van-col span="10">
            <voucher-date counts="5"  maxDate="{{maxDate}}"  placeholder="结束时间" bindchange="onEndTime" time="{{trainingData.cultivate_end}}"></voucher-date>
          </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" value="{{trainingData.content}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">协作队伍</view>
        <voucher-many-select columns="{{cooperationTeamList}}" placeholder="请选择协作队伍" bindchange="onCooperationTeam" selectValue="{{trainingData.partnership}}"></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" value="{{trainingData.people_number}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">培训照片</view>
        <file-uploader  bindimages="onImagesArr" fileUrlArray="{{trainingData.front_images_url}}"></file-uploader> 
    </view>

    <view class="add_max">
        <view class="add_title">电子签名</view>
        <image wx:for="{{trainingData.people_sign}}" bindtap='showImg' data-set="{{index}}" src="{{item}}" style="width: 75px;height: 75px;margin-left:5px;filter: invert(100%);"></image> 
        <!-- 展示图片 -->
    <page-container wx:if="{{show}}"  position="center" bindtap="closeShow">
      <view style="width: 100%;height: 100%;background: rgba(255, 255, 255, 0.7);position: absolute;top: 0;left: 0;">
        <image src="{{item}}" mode="" wx:for="{{trainingData.people_sign}}" style="width: 100%;height: 100%;"/>
      </view>
    </page-container>
    </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>  


