You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
3.1 KiB
61 lines
3.1 KiB
<!--pages/home/authory/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">实名认证</view>
|
|
</cu-custom>
|
|
|
|
<view class="cu-list menu no-card sm-border margin-top">
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">姓名:</view>
|
|
<input id="userName" maxlength="8" style="width:65%" placeholder="请输入真实姓名" bindinput="bindForm"></input>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx" bindtap="showPicker">
|
|
<view style="min-width:170rpx">证件类型:</view>
|
|
<input style="flex:1" disabled="true" bindblur="inputBlur" placeholder="请选择证件类型"></input>
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
</view> -->
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">身份证号码:</view>
|
|
<input id="idCard" maxlength="19" style="width:65%" type="idcard" bindblur="inputBlur" placeholder="请输入身份证号码" bindinput="bindForm"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="cu-bar bg-white margin-top" style="min-height:90rpx">
|
|
<view class="action" style="color:#333333">上传身份证</view>
|
|
<view class="action text-gray" style="font-size:12px">正反面共2张</view>
|
|
</view>
|
|
<view class="cu-form-group">
|
|
<view class="flex flex-justify" style="width:100%;padding-bottom:30rpx">
|
|
<view class="image-reader-item" bindtap="chooseImage" data-index="0" wx:if="{{!imgList[0]}}">
|
|
<text class="cuIcon-cameraadd md-icon" style="font-size:50rpx" wx:if="{{!flag}}"></text>
|
|
<text class="md-hint" wx:if="{{!flag}}">身份证正面</text>
|
|
</view>
|
|
<view class="image-reader-item" style="background-image:url({{imgList[0]}})" bindtap="viewImage" data-url="{{imgList[0]}}" wx:else >
|
|
<view class="delete" catchtap="deleteImg" data-index="0" wx:if="{{!flag}}">
|
|
<text class="cuIcon-close {{pathList[0].status===-1?'text-red':'text-white'}}"></text>
|
|
</view>
|
|
<view class="md-load load-spinner text-white" wx:if="{{pathList[0].status===1}}"/>
|
|
</view>
|
|
<view class="image-reader-item" bindtap="chooseImage" data-index="1" wx:if="{{!imgList[1]}}">
|
|
<text class="cuIcon-cameraadd md-icon" style="font-size:50rpx" wx:if="{{!flag}}"></text>
|
|
<text class="md-hint" wx:if="{{!flag}}">身份证背面</text>
|
|
</view>
|
|
<view class="image-reader-item" style="background-image:url({{imgList[1]}})" bindtap="viewImage" data-url="{{imgList[1]}}" wx:else>
|
|
<view class="delete" catchtap="deleteImg" data-index="1" wx:if="{{!flag}}">
|
|
<text class="cuIcon-close {{pathList[1].status===-1?'text-red':'text-white'}}"></text>
|
|
</view>
|
|
<view class="md-load load-spinner text-white" wx:if="{{pathList[1].status===1}}"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-direction" style="padding: 72rpx 32rpx">
|
|
<wux-button block type="positive" bind:click="submitForm">提交</wux-button>
|
|
</view>
|
|
|
|
<picker-view id="picker-view" bindcustomevent="onPickerChange"></picker-view>
|