idinfo.wxml
1.6 KB
<!--pages/main/idinfo/idinfo.wxml-->
<view class='page'>
<view class='text_999_24'>身份证正面</view>
<view class='id_background' bindtap="chooseImage" id='id_face'>
<image class='id_image_wrap' src="{{facepath?facepath:'/images/id_face.png'}}"></image>
</view>
<view class='text_999_24'>身份证反面</view>
<view class='id_background' bindtap="chooseImage" id='id_back'>
<image class='id_image_wrap' src="{{backpath?backpath:'/images/id_back.png'}}"></image>
</view>
<view style='background-color:#fff;padding:0 32rpx ;margin-top:20rpx'>
<view class='item_body'>
<text class='text_666_28 float_left'>性别</text>
<text class='text_333_28 float_right'>{{idInfo.gender}}</text>
</view>
<view class="divide_line"></view>
<view class='item_body'>
<text class='text_666_28 float_left'>出生年月</text>
<text class='text_333_28 float_right'>{{idInfo.birthday.year}}-{{idInfo.birthday.month}}-{{idInfo.birthday.day}}</text>
</view>
<view class="divide_line"></view>
<view class='item_body'>
<text class='text_666_28 float_left'>身份证号码</text>
<text class='text_333_28 float_right'>{{idInfo.id_card_number}}</text>
</view>
<view class="divide_line" hidden='true'></view>
<view class='item_body' hidden='true'>
<text class='text_666_28 float_left'>户籍所在地</text>
<text class='text_333_28 float_right'>{{idInfo.address}}</text>
</view>
</view>
<view style='height:120rpx'></view>
<button class="btn_bottom" bindtap='savedata'> 保存</button>
</view>