<nav type="back" title="{{auth ? '个人信息' : '实名认证'}}" background-color="{{activeColor ? activeColor : '#ffffff'}}"
	frontColor="{{titleColor ? titleColor : '#000000'}}"></nav>
<view class="cauh_wrap" wx:if="{{!auth}}">
	<!-- 姓名 -->
	<view class="text">
		<text>真实姓名</text>
		<input class="weui-input" placeholder="请输入本人姓名" type="text" bindinput="bindKeyInput" data-prop="name"
			value="{{name}}" />
	</view>
	<!-- 手机号码 -->
	<view class="text">
		<text>手机号码</text>
		<input class="weui-input" placeholder="请输入手机号码" type="number" bindinput="bindKeyInput" data-prop="mobile"
			value="{{mobile}}" />
	</view>
	<!-- 身份证号 -->
	<view class="text">
		<text>身份证号</text>
		<input class="weui-input" type="idcard" placeholder="请输入本人身份证号" bindinput="bindKeyInput" data-prop="id"
			value="{{id}}" />
	</view>
	<button class="submit" bind:tap="submit" style="background-color: {{activeColor ? activeColor : '#1aad19'}}">提 交</button>
</view>
<view class="warp" wx:if="{{auth}}">
	<van-cell-group>
		<van-cell title="姓名" value="{{userInfo.name&&userInfo.name}}" />
		<van-cell title="手机号" value="{{userInfo.mobile&&userInfo.mobile}}" />
		<van-cell title="身份证号" value="{{userInfo.id&&userInfo.id}}"></van-cell>
	</van-cell-group>
</view>