<import src="/common/common.wxml" />
<answer id='answer'></answer>
<block wx:if='{{isShow}}'>
	<!-- 无数据 -->
	<block wx:if="{{record404}}">
	<template is="noRecord" data="{{...noRecord}}" />
	</block>
	<block wx:else>
		<!--未完成  -->
		<block wx:for="{{userReport.notDone}}" wx:for-item="item" wx:for-index="index" wx:key="index">
			<view class='item' bindtap='getScale' data-item="{{item}}" data-num="{{index}}">
				<view class='item-headimg'>
					<image src='{{item.headimgurl?item.headimgurl:userReport.logo}}'></image>
					<view class='item-lb_num'>{{item.lb_num}}</view>
				</view>
				<view class='item-content'>
					<text class='item-name'>{{item.name}}</text>
					<text class='baogao'>您有{{item.lb_num}}个检测未完成</text>
					<text class='item-time'>{{item.time01}}</text>
				</view>
				<image class="item-img" src="/images/next.png"></image>
			</view>
		</block>
		<!--完成  -->
		<block wx:for="{{userReport.haveDone}}" wx:for-item="item" wx:for-index="index" wx:key="index">
			<view style='position:relative;height:175rpx;width:750rpx;'>
				<view class='item' bindtap='checkReport' data-item="{{item}}" data-num="{{index}}" data-index="{{index}}" bindtouchstart="startHandle" bindtouchmove="moveHandle" bindtouchend="endHandle" style='position:absolute;left:{{item.left}}rpx;z-index:10;'>
					<view class='item-headimg'>
						<image src='{{item.headimgurl?item.headimgurl:logo}}'></image>
					</view>
					<view class='item-content'>
						<text class='item-name'>{{item.name}}</text>
						<text class='baogao'>{{item.measure_name}}</text>
						<text class='item-time'>{{item.createtime}}</text>
					</view>
					<image class="item-img" src="/images/next.png"></image>
				</view>
				<view class='del-item' bindtap='delete' data-delid="{{item.id}}" data-index="{{index}}">
					<text>删除</text>
				</view>
			</view>
		</block>
	</block>
</block>
<block wx:else>
	<template is="loading" data="{{...loading}}" />
</block>
<!-- 手机验证模态框 -->
<view class='model-warp' wx:if='{{modelTel == 1}}'>
	<view class='model-con'>
		<view class='model-close' bindtap='closeModelTel'>
			<image src='/images/icon@2x.png'></image>
		</view>
		<image class='model-bg' src='../../images/t1@2x.png'></image>
		<view class='model-txt model-t110'>
			为方便您使用与享受更多的服务
		</view>
		<view class='model-txt model-t20'>
			请绑定手机号码
		</view>
		<button class='model-btn' open-type='getPhoneNumber' bindgetphonenumber='goSetTel'>去绑定</button>
	</view>
</view>

<view class='model-warp' hidden="{{hidden}}">
	<view class='model-con-per '>
		<image class='model-bg-per' src='https://www.xiaodongai.com/xiaodongai/kongtian/Public/Wechat/Images/t35@2x.png'></image>
		<view class='model-txt-per model-t76'>
			当前量表已填写完成
		</view>
		<view class='model-txt-per model-t20'>
			请联系你的心理医生
		</view>
		<view class='model-txt-per model-t20'>
			进行下一步诊断
		</view>
		<view class='model-btn-per' bindtap='confirm'>确定</view>
	</view>
</view>