<wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
<view class="home">
	<view class="title">探访日期：<text>{{time}}</text></view>
	<view class="title">探访位置</view>
	<view class="visit-box">
		<view>{{visitLocation}}</view>
		<view class="flex-box">
			<view>
				经度:{{lng}}
			</view>
			<view style=" margin-left: 20rpx;">
				纬度:{{lat}}
			</view>
		</view>
	</view>
	<view class="title">老人姓名</view>
	<view class="flex-box">
		<view class="pop-oldtitle">{{info.name}}<text >({{info.idNumber}})</text></view>
		<view class="old-btn" bindtap="oldClick" data-infos='{{info}}'>老人详情</view>
	</view>
	<view class="title">探访情况</view>
	<form bindsubmit="formSubmit">
		<view class="title">健康状况</view>
		<radio-group name="health">
			<radio color='#009FE9' value='健康'>健康</radio>
			<radio color='#009FE9' value='一般'>一般</radio>
			<radio color='#009FE9' value='较差'>较差</radio>
		</radio-group>
		<view class="title">精神状态</view>
		<radio-group name="mind">
			<radio color='#009FE9' value='良好'>良好</radio>
			<radio color='#009FE9' value='一般'>一般</radio>
			<radio color='#009FE9' value='较差'>较差</radio>
		</radio-group>
		<view class="title">安全情况</view>
		<radio-group name="security">
			<radio color='#009FE9' value='安全'>安全</radio>
			<radio color='#009FE9' value='一般'>一般</radio>
			<radio color='#009FE9' value='较差'>较差</radio>
		</radio-group>
		<view class="title">卫生环境</view>
		<radio-group name="hygiene">
			<radio color='#009FE9' value='良好'>良好</radio>
			<radio color='#009FE9' value='一般'>一般</radio>
			<radio color='#009FE9' value='较差'>较差</radio>
		</radio-group>
		<view class="title">居中环境</view>
		<radio-group name="live">
			<radio color='#009FE9' value='良好'>良好</radio>
			<radio color='#009FE9' value='一般'>一般</radio>
			<radio color='#009FE9' value='较差'>较差</radio>
		</radio-group>
		<view class="title">老人需求说明</view>
		<textarea class="view_textarea" name="demand" bindblur="bindTextAreaBlur" placeholder="请填写一下老人需求" />
		<view class="title">探访备注说明</view>
	<textarea class="view_textarea"  name="visitMessage" bindblur="bindTextAreaBlur" placeholder="请填写一下探访备注说明" />
	<view  class="title">现场含面部照片(正面照)</view>
		<view  style=" border: 1rpx solid #5398C8; color: #fff;  padding-left: 10rpx;background-color: #429EFF; font-size: 26rpx;width: 220rpx;margin-top: 40rpx; margin-bottom: 40rpx;" bindtap="zhaopian" wx:if='{{isTrue}}'>请上传含面部照片</view>
		<view style="  display: flex;">
			<view wx:for='{{imgPath}}' class="img-box">
			<image class="image"  src="	{{urls.url(item)}}"  mode='scaleToFill' bindtap="previewImg"></image>
			<van-icon size='23' name="clear" class="close" data-index="{{index}}" bindtap="closeImage"/>
		</view>
		</view>
			<view class="register">
				<button formType="submit">提交</button>
			</view>
				</form>
</view>