<!--pages/Progress-management/index.wxml-->
<!-- 进度管理 -->

<view class="All-content">
	<!-- <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="width:100%;height: 105rpx;">
		<project-select  width='640rpx' left='-30rpx'  init="{{initData}}" bindchange="onProjectSelect"></project-select>
	<!-- 工期概括 -->
	<view class="gongqigaikuo" style="margin-top: 64rpx;">
		<view class="eharts_title">
			工期概况
		</view>
	<view class="gongqigaikuo-content">
	<!-- 合同工期 -->
		<view class="gongqigaikuo-content-hetong">
			<view class="gongqigaikuo-content-hetong-left">
				<view style="display: flex;font-size: 20rpx;justify-content: flex-start;align-items: center;">
					<view class="safety_inspect_title">合同工期</view>
					<safety-number number="{{num}}"></safety-number>
				</view>
			</view>
			<view class="gongqigaikuo-content-hetong-left" style="font-size: 22rpx;justify-content: flex-space-between;align-items: flex-end;">
			<view style="color: gray;margin-left: -20rpx;">
				天
			</view>
					 <view style="color: #0a7bbd;">
						{{startEnd}}
					</view>
			</view>
		</view>
		<!-- 时间进度数据图 -->
		<view class="gongqigaikuo-content-jindu">
			<view class="gongqigaikuo-content-jindu-box">
				<view class="gongqigaikuo-content-jindu-left">
					<ec-canvas id="mychart-dom1" canvas-id="mychart1" ec="{{ec1}}"></ec-canvas>
				</view>
			</view>
			<view class="gongqigaikuo-content-jindu-box">
				<view class="gongqigaikuo-content-jindu-left">
					<ec-canvas id="mychart-dom" canvas-id="mychart" ec="{{ec}}"></ec-canvas>
				</view>
			</view>
		
		</view>
	</view>
	</view>
	<!-- 施工日志 -->
	<view class="shigongrizhi">
	<!-- 头部施工日志 -->
		<view class="shigongrizhi-header">
			<view class="eharts_title" style="font-size: 26rpx;">
			施工日志
			</view>
			<!-- <view style="color:#6b7eb9;font-size: 26rpx;">
				查看详情>>
			</view> -->
		</view>
	<!-- 内容部分 -->
	<view class="shigongrizhi-content" wx:for="{{shigongList}}" wx:key="index" bindtap="onClick"  data-set="{{index}}" >
		<view class="shigongrizhi-content-top">
			<view style="display: flex;justify-content: flex-start;align-items: center;">
			<!--  -->
				<radio color="#23aaf2" checked="{{!item.select}}"  bindtap="onSelectBtn" data-set="{{index}}"/>
				<view style="margin-left: 18rpx;">
					{{item.name}}
				</view>
			</view>
			<view style="width: 30rpx;height: 30rpx;margin-right: 10rpx;" >
				<image wx:if="{{item.type==false}}" src="http://fileimg.makalu.cc/WEB_18FFE67D5A8E4077870F5E2AF9B4EE97.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
				<image wx:else="{{item.type==true}}" src="http://fileimg.makalu.cc/WEB_B394869CFAAA449D8DFE7BA549A19EB8.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5)"/>
			</view>
		</view>
		<!-- 隐藏部分 -->
	<view style="padding-left: 20rpx;">
		<view wx:if="{{item.type}}" style="border-left: 1px dashed skyblue; padding-left: 40rpx;">
		<view style="color: gray;padding-left: 70rpx;margin: 8rpx 0;">
			设计楼层高{{item.design_floor_height}}m,设计施工高度{{item.design_elevation}}m
			</view>
			<view style="color: gray;padding-left: 70rpx;margin: 8rpx 0;">
			设计楼板厚度{{item.design_floor_thickness}}m
			</view>
			<view class="shigongrizhi-content-bottom">
			<!-- 模板铺设 -->
				<view class="shigongrizhi-content-bottom-left" wx:for="{{item.typtInfo}}" wx:for-item="itemType" wx:key="A">
					<view style="width: 78rpx;height: 78rpx;margin-right: 20rpx;">
						<image src="http://fileimg.makalu.cc/WEB_D9E0F9ADB3E3427A9100993F7AEC16CE.png" mode="" style="width: 100%;height: 100%;transform: scale(0.5);"/>
					</view>
					<view style="display: flex;flex-direction: column;justify-content: space-around;">
						<view>
							{{itemType.name}}
						</view>
						<view style="color: gray;">
							{{itemType.time}}
						</view>
					</view>
				</view>
			<!-- 照片墙展示 -->
			<view class="shigongrizhi-content-top-bottom">
				<view class="shigongrizhi-content-top-bottom-Img"  wx:for="{{item.photoInfo}}" wx:for-item="itemPhoto" wx:key="B">
					<image src="{{itemPhoto.images}}" mode=""  bindtap="showPic" data-id="{{itemPhoto.images}}" style="width: 100%;height: 100%;"/>
				</view>
			</view>
			</view>
			
	</view>
	</view>
	</view>
	</view>
	<!-- 视频进度 -->
	<view class="shipinjindu">
			<view class="shipinjindu-top">
				<view class="eharts_title">
				视频进度
				</view>
			</view>
			<view class="shipinjindu-bottom">
				<view class="shipinjindu-bottom-insder">
					<video src="{{video}}" style="width: 100%;height: 100%;"/>
				</view>
			</view>
	</view>
	<!-- BIM进度 -->
	<!-- <view class="BIM">
		<view class="eharts_title">
			BIM进度
		</view>
		<view class="BIM-content">
			<view style="width:100%;height:300rpx;">
				<image src="http://fileimg.makalu.cc/WEB_607867FF7DBB4B088BD8D8E16661B3CE.jpg" mode="" style="width: 100%;height: 100%;"/>
			</view>
			<view class="BIM-content-table">
				<view class="BIM-content-tables" wx:for="{{tableList}}" wx:key="index">
					<view style="width: 40%;height: 48rpx;text-align: center;line-height: 48rpx;border-right: 1px solid skyblue;background-color: #1e324a;">
						{{item.name}}
					</view>
					<view style="width: 60%;height: 48rpx;text-align: center;line-height: 48rpx;color: skyblue;">
					{{item.value}}
					</view>
				</view>
			</view>
		</view>
	</view> -->
	</view>
</view>

<!-- 遮罩层 -->
<view>
	<van-popup show="{{ picShow }}" bind:before-enter="showPic" bind:close="closePic">
		<image src="{{imageUrl}}"  mode="scaleToFill"></image>
	</van-popup>
</view>