You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
3.8 KiB
Plaintext

2 years ago
<!-- pages/realName/index.wxml -->
<!-- <view class="navagition">
<view class="goback iconfont icon-xiangzuo" bindtap='goBack'></view>
</view> -->
<view class="" hover-class="none" hover-stop-propagation="false" wx:if="{{!isFinish}}">
<view class="progress">
<view class="{{level == 1 || level == 2|| level == 3? 'active':''}}"></view>
<view class="{{level == 2 || level == 3 && level != 1 ?'active':''}}"></view>
<view class="{{level == 3 ?'active':''}}"></view>
</view>
<view class="progressInfo" hover-class="none" hover-stop-propagation="false">
<view class="{{level == 1 || level == 2|| level == 3? 'active':''}}" hover-class="none" hover-stop-propagation="false">身份证正面</view>
<view class="{{level == 2 || level == 3 && level != 1 ?'active':''}}" hover-class="none" hover-stop-propagation="false">身份证背面</view>
<view class="{{level == 3 ?'active':''}}" hover-class="none" hover-stop-propagation="false">确认信息</view>
</view>
</view>
<view class="imgBox" bindtap='uploadCard' data-type='2' wx:if='{{level == 1 && !isFinish}}'>
<image src="{{user.idcardImgFront ? user.idcardImgFront : '../../assets/images/face.png'}}" alt="" />
<view class="cardText" hover-class="none" hover-stop-propagation="false" wx:if='{{!user.idcardImgFrontm}}'>
<i class="iconfont icon-tianjia"></i>
<text class="" selectable="false" space="false" decode="false">人像面照片</text>
</view>
</view>
<view class="imgBox" bindtap='uploadCard' data-type='3' wx:elif='{{level == 2 && !isFinish}}'>
<image src="{{user.idcardImgBack ? user.idcardImgBack : '../../assets/images/back.png'}}" alt="" />
<view class="cardText" hover-class="none" hover-stop-propagation="false" wx:if='{{!user.idcardImgBackm}}'>
<i class="iconfont icon-tianjia"></i>
<text class="" selectable="false" space="false" decode="false">国徽面照片</text>
</view>
</view>
<view class="imgBox" wx:elif='{{level == 3 && !isFinish }}'>
<view class="userInfo">
<view class="">
<span>姓名</span>
<span><input class="tar" type="text" bindinput="getRealName" value="{{user.realName}}"/></span>
</view>
<view class="" hover-class="none" hover-stop-propagation="false">
<span>证件号</span>
<span><input class="tar" type="text" bindinput="getId" value="{{user.IDCard}}" maxlength="18"/></span>
</view>
</view>
</view>
<view class="successIcon" wx:if='{{isFinish}}'>
<view class="iconfont icon-tijiaochenggong"></view>
<view class="">上传成功</view>
</view>
<view class="f12 tc c045 display-flex" style="align-items:center;margin-left:16px;margin-bottom: 16px;margin-top: 80px;" wx:if="{{!isFinish}}">
<!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> -->
<radio-group class="dib">
<radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#f40" style="transform:scale(.7)" />
</radio-group>
我已阅读并同意
<navigator url="../serviceTerm/index" class="aLink">《用户服务协议》</navigator>
<navigator url="../secret/index" class="aLink">《隐私政策》</navigator>
</view>
<view class="toNext {{user.idcardImgFront ? 'ysd-basebg-color':''}}" hover-class="none" data-level='1' bindtap='toNext' wx:if='{{level == 1 && !isFinish}}'>下一步</view>
<view class="toNext {{user.idcardImgBack ? 'ysd-basebg-color':''}}" hover-class="none" data-level='2' bindtap='toNext' wx:if='{{level == 2 && !isFinish}}'>下一步</view>
<view class="toNext {{canFinish ? 'ysd-basebg-color':''}}" hover-class="none" bindtap='toFinish' wx:if='{{level == 3 && !isFinish}}'>确定</view>
<view class="finish" hover-class="none" hover-stop-propagation="false" bindtap='tomine' wx:if='{{isFinish}}'>完成</view>