提交 f03c1edde56a6f0aae0f6cfd62d0f7fbaf206d54

作者 pangy
1 个父辈 e8bb3a88

身份证识别 完结

... ... @@ -840,7 +840,7 @@ Page({
840 840 console.log('id_info', res.data)
841 841 if (res.data && res.data.length > 0) {
842 842 var id_info = JSON.parse(res.data)
843   - var birth_day
  843 + var birth_day, data={}
844 844 if (id_info.birthday.month > 9 && id_info.birthday.day > 9) {
845 845 birth_day = id_info.birthday.year + '-' + id_info.birthday.month + '-' + id_info.birthday.day;
846 846 } else if (id_info.birthday.month > 9 && id_info.birthday.day < 10) {
... ...
... ... @@ -324,7 +324,7 @@
324 324 <view style='height:90rpx'>
325 325 <text class='text_black_30 float_left'>配偶证照号码</text>
326 326 <view wx:if="{{isIdCard}}">
327   - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image>
  327 + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="spouse_id_card_no"></image>
328 328 <input class='input_wrap01 float_right' placeholder='请输入证照号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' type='idcard' value='{{spouse_id_card_no}}' bindinput="idChange" id='spouse_id_card_no_input'></input>
329 329 </view>
330 330 </view>
... ...
注册登录 后发表评论