<answer id='answer'></answer>
<view class="wrap">
	<text class="ptitle">服务信息</text>
	<view class="one-wrap">
		<view class="flex-name">
			<image class="touxiang"  mode="aspectFill" src="{{t_userInfo.image}}" binderror="binderrorimg"></image>
			<view class="jianj">
				<view>
					<text class="name">{{t_userInfo.name}}</text>
					<text class="zhic">{{t_userInfo.title}}</text>
				</view>
				<text class="yiyuan">{{t_userInfo.work_unit}}</text>
			</view>
		</view>
		<view class="fuwu">
			<view>服务名称</view>
			<view class="serviceName">{{serviceName}} </view>
		</view>
		<view class="fuwu">
			<view>订单编号</view>
			<view>{{ServicePay_datas.put_trade_no}}</view>
		</view>
		<view class="fuwu">
			<view>下单时间</view>
			<view>{{orderTime}}</view>
		</view>
		<view class="fuwu noborder">
			<view>服务金额</view>
			<view style="color:#EE5756;font-weight:700;font-size:34rpx;"><text style="font-weight:400;font-size:30rpx;">¥</text>{{ServicePay_datas.money}}</view>
		</view>
	</view>
	<view class="geren">
		<text>患者信息</text>
		<text>电话不会显示您的真实号码，请放心使用</text>
	</view>
	<view class="two-wrap">
		<view class="flex-xm">
			<view class="tname">姓名</view>
			<input class="sname" placeholder="请输入姓名或昵称" value="{{name}}" bindinput='bindName' maxlength="30"></input>
			<view class="row height20" bindtap="changeUser">
				<view class="ghyh">选择患者</view>
				<image class="right1" src="/images/arrow@2x.png"></image>
			</view>
		</view>
		<view class="flex-xm1">
			<view class="tname">性别</view>
			<radio-group class="radio-group" bindchange="radioChange">
				<radio class="radio" wx:for-items="{{items}}" color="#2684ff" wx:key="name" value="{{item.name}}" checked="{{item.checked}}">
					<text>{{item.value}}</text>
				</radio>
			</radio-group>
		</view>
		<view class="flex-xm1" wx:if='{{ServicePay_datas.counsel==20}}'>
			<view class="tname">证件类型</view>
			<picker bindchange="bindIdType" value="{{idType}}" range="{{idTypeArr}}">
			<view class="picker">
				{{idTypeArr[idType]}}
				<image class="right" src="/images/arrow@2x.png"></image>
			</view>
		</picker>
		</view>
		<view class="flex-xm1" wx:if='{{ServicePay_datas.counsel==20}}'>
			<view class="tname" wx:if="{{idType==0}}">身份证</view>
			<view class="tname" wx:if="{{idType==1}}">证件号</view>
			<input class="sIdCard" wx:if="{{idType==0}}" placeholder="请输入姓名对应的身份证" value="{{idCard}}" type="idcard" bindinput='bindIdCard' maxlength="18"></input>
			<input class="sIdCard" wx:if="{{idType==1}}" placeholder="请输入姓名对应的证件号" value="{{idCard}}" type="idcard" bindinput='bindIdCard' maxlength="18"></input>
		</view>
		<view class="flex-xm2">
			<view class="tname">生日</view>
			<picker mode="date" value="{{date}}" start="1900-01-01" end="{{endTime}}" bindchange="bindDateChange">
				<view class="picker {{date=='请选择'?'activ':'pic'}}">
					{{date}}
					<image class="right" src="/images/arrow@2x.png"></image>
				</view>
			</picker>
		</view>
		<view class="flex-xm2">
			<view class="tname">手机</view>
			<input type="number" class="phone" placeholder="输入手机号" value="{{phone}}" bindinput='bindPhone' maxlength="11"></input>
			<view wx:if="{{!phoneYes}}" class="line"></view>
			<button wx:if='{{!phoneYes}}' class="wxhq" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">微信获取</button>
			<button wx:if="{{time==0&&phoneYes}}" class="getcode" bindtap="getPhoneCode">获取验证码</button>
			<view wx:if="{{time!=0&&phoneYes}}" class="vcode">{{time}}s</view>
			<button wx:if="{{time!=0&&phoneYes}}" class="tcode"></button>
		</view>
		<view class="flex-xm3" wx:if="{{phoneYes}}">
			<view class="tcode">验证码</view>
			<input type="number" class="code" placeholder="输入验证码" value="{{code}}" bindinput='bindCode' maxlength="4"></input>
		</view>
	</view>
	<view class="tys" bindtap="agree" style="margin-bottom:{{iPhoneX?160:100}}rpx;">
		<view wx:if='{{!agree}}' class="unselected">
		</view>
		<view wx:if='{{agree}}' class="selected">
			<image src="/images/on2x.png"></image>
		</view>
		<text class="tys-text">我已阅读并接受</text>
		<text class="zqtys" catchtap="zqtys">《知情同意书》</text>
	</view>
	<view class="three-wrap" style="margin-bottom:{{iPhoneX?60:0}}rpx;">
		<view class="flex-zf">
			<view class="jg">
				<text>合计：</text>
				<text><text style="font-weight:400;font-size:32rpx;">¥</text>{{ServicePay_datas.money}}</text>
			</view>
			<view wx:if='{{!agree}}' class="qzf1">立即支付</view>
			<view wx:if='{{agree}}' class="qzf" bindtap="goPay">立即支付</view>
		</view>
		<view class='my-docuter-iPhoneX' wx:if="{{iPhoneX}}">
		</view>
	</view>
</view>