<!--pages/dangerousProject/index.wxml-->
<!-- <view class="header_title">
  <view class="header_title_row">
    <van-row>
      <van-col span="3">
        <view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
      </van-col>
      <van-col span="4">
        <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> -->

<!-- <van-popup show="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onClose" >
  <view class="left_max">
    <van-row class="demo clearfix">
      <van-col span="10">
        <view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
      </van-col>
      <van-col span="14">
        <view class="left_info">
          <view class="left_info_name">{{userName}}</view>
          <view class="left_info_name">{{loginName}}</view>
        </view>
      </van-col>
    </van-row>
  </view>
</van-popup> -->

<view class="max_new_content"  style="box-sizing: border-box;">
  <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>

  <!-- <van-sticky offset-top="{{ 0 }}"> -->
      <view style="height: 110rpx;display: flex;justify-content: space-between;align-items: center;background: linear-gradient(to bottom,#323f6a,#212b49);margin-top: 60rpx;color: #6b81bb;" bindtap="onClickTitle">
          <view style="width:50%;text-align:center;font-size: 30rpx;" class="{{titleindex==0?'active':''}}" data-id="{{0}}">
              设计变更
          </view>
          <view style="width:50%;text-align:center;font-size: 30rpx;" class="{{titleindex==1?'active':''}}" data-id="{{1}}">
              工程签证
          </view>
      </view>
  <!-- </van-sticky> -->

  <view class="dangerous_node">
      <view class="dangerous_node_min">
          <view class="dangerous_node_number cyan">{{allPoint}}</view>
          <view class="dangerous_node_title">
              <image src="http://fileimg.makalu.cc/WEB_73AFC6D8953E4BE4B6DF0BD331FE4F2A.png"></image>
              <text>总数</text>
          </view>
      </view>
      <view class="dangerous_node_min">
          <view class="dangerous_node_number blue">{{comPoint}}</view>
          <view class="dangerous_node_title">
            <image src="http://fileimg.makalu.cc/WEB_0A0B35F80B944F2EB39D2226216C4820.png"></image>
            <text>已通过</text>
          </view>
      </view>
      <view class="dangerous_node_min">
          <view class="dangerous_node_number orange">{{outPoint}}</view>
          <view class="dangerous_node_title">
            <image src="http://fileimg.makalu.cc/WEB_486045C8DBE9469B88BB2F09AC9B0EE6.png"></image>
            <text>未通过</text>
          </view>
      </view>
  </view>
  <!-- 选框 -->
  <!-- <van-sticky offset-top="{{ 78 }}"> -->
    <view class="add_max">
        <voucher-select columns="{{changeNameList}}" placeholder="{{changeName}}" bindchange="onSelectDangerName"></voucher-select>
    </view>
  <!-- </van-sticky> -->
<!-- 变更内容 -->
    <view style="height: 90rpx;display: flex;padding: 0 46rpx;font-size:30rpx;margin: 14rpx 0;">
        <view style="width: 160rpx;">
          变更内容:
        </view>
        <view style="width: calc(100% - 160rpx);color: #3789c9;">
          {{changeContext}}
        </view>
    </view>

  <view class="timeline_max">

     <view class="timeline_for" wx:for-items="{{timeline}}" wx:key="index">
        <view class="timeline_for_title">
            <view wx:if="{{item.type != 0}}" class="timeline_for_dot dot_blue"></view>
            <view wx:if="{{item.type == 0&&item.state == 0}}" class="timeline_for_dot dot_blue"></view>
            <view wx:if="{{item.type == 0&&item.state == 1}}" class="timeline_for_dot dot_blue"></view>
            <view class="timeline_for_text">{{item.title}}</view>
        </view>
        <view class="timeline_for_list">
          <view>{{item.fieldNameOne}}：</view>
          <view class="timeline_for_time">{{item.escalation}}</view>
        </view>
        <view class="timeline_for_list">
          <view>{{item.fieldNameTwo}}：</view>
          <view class="timeline_for_time">{{item.approval}}</view>
        </view>
        <view class="timeline_for_list">
          <view>{{item.fieldNameThree}}：</view>
          <view class="timeline_for_time">{{item.approvalContent}}</view>
        </view>
        <!-- <view class="timeline_for_file">
            <view class="timeline_for_list_title" wx:if="{{item.type==1}}" >批复文件：</view>
            <view class="timeline_for_list_file">
            <image wx:if="{{item.type == 0}}" wx:for-items="{{item.fileUrl}}" wx:for-item="itemUrl" src="{{itemUrl.suffix !='pdf'?itemUrl.url:'http://fileimg.makalu.cc/WEB_3035C129EB234F80820521CAF815CB35.jpg'}}" data-url="{{itemUrl.url}}"  
            data-suffix="{{itemUrl.suffix}}" mode="aspectFill" bindtap="previewImg" style="width:90px;height:90px"></image>
            <file-uploader wx:if="{{item.type == 1}}" bindimages="onImagesArr"></file-uploader>
            </view>
        </view> -->
     </view>
  </view>

</view>

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

