|
|
|
|
<view class="authentication">
|
|
|
|
|
<form bindsubmit="onSubmit" bindreset="onReset">
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
<view class="key">
|
|
|
|
|
<text>姓名</text>
|
|
|
|
|
</view>
|
|
|
|
|
<input class="value" id="name" placeholder="输入姓名" name="name" value="{{name}}"></input>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
<text class="key">显示姓名
|
|
|
|
|
<text class="tip">关闭后将展示您的昵称</text>
|
|
|
|
|
</text>
|
|
|
|
|
<switch color="#00b0f0" id="show_realname" name="show_realname" checked="{{show_realname}}"></switch>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
<text>性别</text>
|
|
|
|
|
<picker class="value" id="gender" name="gender" range="{{['男','女']}}" bindcolumnchange="log" value="{{gender}}" bindchange="onGenderChange">{{gender==0?'男':gender==1?'女':'未设置'}}</picker>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="form-item">
|
|
|
|
|
<text class="key">身份证号</text>
|
|
|
|
|
<input class="value" type="idcard" cursor-spacing="36" name="id_number" placeholder="请输入身份证号"></input>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="idcard-wrap">
|
|
|
|
|
<view class="key">身份证上传</view>
|
|
|
|
|
<view class="idcards">
|
|
|
|
|
<image class="idcard" mode="aspectFit" src="{{attachDir}}762168"></image>
|
|
|
|
|
<image wx:if="{{image_path}}" bindtap="upload" class="idcard" mode="aspectFit" src="{{image_path}}"></image>
|
|
|
|
|
<view wx:else bindtap="upload" class="idcard upload">
|
|
|
|
|
<view class="photo">
|
|
|
|
|
<iconfont type="paizhao" color="white"/>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tips">
|
|
|
|
|
<view>png/jpg/bmp格式,不超过2MB</view>
|
|
|
|
|
<view>上传身份证头像面</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<checkbox-group name="attachment_ids" hidden="1">
|
|
|
|
|
<checkbox value="{{attachment_id}}" checked="{{attachment_id}}"></checkbox>
|
|
|
|
|
</checkbox-group>
|
|
|
|
|
<input name="user_id" hidden="1" disabled="1" value="{{user_id}}"></input>
|
|
|
|
|
<button class="submit" type="main" form-type="submit">提交信息</button>
|
|
|
|
|
<view class="footer-tip">
|
|
|
|
|
*提交前请检查信息并阅读认证须知
|
|
|
|
|
</view>
|
|
|
|
|
</form>
|
|
|
|
|
<rich-md nodes="{{information}}" type="markdown" />
|
|
|
|
|
</view>
|