<view class="container" style="padding-bottom:150rpx">
	<view class="card_bj">
		<view class="p1">身份证上传</view>
		<view class="p2">注:上传横向且清晰的</view>
		<view class="p3">身份证头像面照片</view>
		<image class="cardimg" mode="aspectFit" src="{{imgsrc}}" data-type='card' bindtap="uploadCard"></image>
	</view>
	<view class="card_bj">
		<view class="p1">照片上传</view>
		<view class="p2">上传本人照片呦</view>
		<image class="cardimg" mode="aspectFit" src="{{photo}}" data-type='photo' bindtap="uploadCard"></image>
	</view>
	<form bindsubmit='formSubmit'>
		<view style="display:none">
			<input name="idFront" type="text" value="{{form.idFront}}"></input>
		</view>
		<view style="display:none">
			<input name="idCard" type="text" value="{{form.idCard}}"></input>
		</view>
		<view style="display:none">
			<input name="photoUrl" type="text" value="{{form.photoUrl}}"></input>
		</view>
		<view class="block">
			<view class='left'>姓名</view>
			<view class='right'>
				<input name="name" value="{{form.name}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
			</view>
		</view>
		<view class="block">
				<view class='left' style="width:40%">联系方式</view>
				<view class='right' style="width:60%">
					<input name="tel" wx:if="{{form.tel}}" value="{{form.tel}}" bindblur="phoneChange" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
					<button wx:else open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" id="photo_btn">未填写</button>
				</view>
			</view>
		<view class="block">
			<view class='left'>性别</view>
			<view class='right'>
				<radio-group class="parameter-wrap" bindchange="checkboxChange" name='sex' value="{{form.sex}}">
					<label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="index" wx:for="{{questionList}}">
						<checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
					</label>
				</radio-group>
			</view>
		</view>
		<view class="block">
			<view class='left'>年龄</view>
			<view class='right'>
				<input name="age" value="{{form.age}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
			</view>
		</view>
		<view class="block">
			<view class='left'>户籍</view>
			<view class='right'>
				<input name="nativePlace" value="{{form.nativePlace}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
			</view>
		</view>
		<view class="block">
			<view class='left'>民族</view>
			<view class='right'>
				<picker bindchange="nationPicker" range="{{mzArr}}" name='nation' value="{{form.nation}}">
					<view style="text-align:right">
						<view wx:if="{{form.nation}}">{{form.nation}}</view>
						<view wx:else class='placeStyle'>
							<view class="redpoint"></view>
							<view class="placetext">未选择</view>
							<van-icon size="15px" name="arrow" />
						</view>
					</view>
				</picker>
			</view>
		</view>
		<view class="block">
			<view class='left'>生日</view>
			<view class='right'>
				<picker mode='date' bindchange="birthdayPicker" name='birthday' value="{{form.birthday}}">
					<view style="text-align:right">
						<view wx:if="{{form.birthday}}">{{form.birthday}}</view>
						<view wx:else class='placeStyle'>
							<view class="redpoint"></view>
							<view class="placetext">未选择</view>
							<van-icon size="15px" name="arrow" />
						</view>
					</view>
				</picker>
			</view>
		</view>
		<view class="block">
			<view class='left'>星座</view>
			<view class='right'>
				<picker bindchange="constellationPicker" range="{{constellationArr}}" name='constellation' value="{{form.constellation}}">
					<view style="text-align:right">
						<view wx:if="{{constellationLabel}}">{{constellationLabel}}</view>
						<view wx:else class='placeStyle'>
							<view class="redpoint"></view>
							<view class="placetext">未选择</view>
							<van-icon size="15px" name="arrow" />
						</view>
					</view>
				</picker>
			</view>
		</view>


		<view class="btn-area">
			<button form-type="submit" id="sunbmit">
				<span wx:if="{{myInfo&&myInfo.height}}">确认</span>
				<span wx:else>确认，快去完善详细信息吧</span>
			</button>
		</view>
	</form>
</view>
<view class="tabbar">
	<view class="tab1" bindtap="goIndex">
		<image src="../../images/unactive_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view>首页</view>
	</view>
	<view class="tab1">
		<image src="../../images/unactive_bar2.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
	<button type="primary" id="red" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}|foreignid={{userInfo.foreignid}}|referrerTitle={{ysf.title}}|ysf.config= {{ysf.config}}"
        open-type="contact"
        >客服</button>
	</view>
		<view class="tab1">
		<image src="../../images/active_bar4.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view style="color:#a342ff">注册</view>
	</view>
	<view class="tab1" bindtap="goMy">
		<image src="../../images/unactive_bar3.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
		<view>我的</view>
	</view>
</view>