face_verify.axml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <view class='face_verify-face_verify {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <import-sjs from='../../utils/util/util.sjs' name='util'>
  3. </import-sjs>
  4. <view a:if="{{ userInfo }}" class='card card-cont'>
  5. <view class='title'>
  6. {{international.Personnel_information[language]}}
  7. </view>
  8. <view>
  9. <view>
  10. <van-cell-group border='{{ false }}' ref='saveChildRef1'>
  11. <van-field a:if='{{companyName != null}}' clearable class='label' value='{{companyName}}' label='{{international.company[language]}}' input-align='right' border='{{ false }}' readonly ref='saveChildRef2'>
  12. </van-field>
  13. <block a:if="{{ language === 'ch' || userInfo }}">
  14. <van-field clearable class='label' value='{{username?util.desensitization(username, 1, 2):null}}' label='{{international.name[language]}}' placeholder='{{international.name_tit[language]}}' input-align='right' border='{{ false }}' readonly ref='saveChildRef3'>
  15. </van-field>
  16. <van-field clearable value='{{idNumber?util.desensitization(idNumber,6,14):null}}' label='{{international.idNumber[language]}}' placeholder='{{international.idNumber_tit[language]}}' input-align='right' border='{{ false }}' type='idcard' readonly ref='saveChildRef4'>
  17. </van-field>
  18. </block>
  19. <van-cell a:if="{{type==='访客'}}" title='{{international.Phone[language]}}' border='{{ false }}' ref='saveChildRef5'>
  20. <van-field class="phone-edit" clearable value='{{phone?util.desensitization(phone,3,7):null}}' placeholder='{{international.Phone_prompt[language]}}' type="{{language=='ch'?'phone':'text'}}" input-align='right' border='{{ false }}' readonly ref='saveChildRef11'>
  21. </van-field>
  22. <!-- <btn slot='right-icon' class='btn' hover-class='btn-click' hover-stay-time='100' open-type='getPhoneNumber' disabled='{{isDisabled}}' onGetPhoneNumber='getPhoneNumber'>
  23. {{userInfo&&isDisabled?util.desensitization(phone,3,7):phone?phone:international.Phone_tit[language]}}
  24. </btn> -->
  25. </van-cell>
  26. <van-cell a:if="{{type==='常客'}}" title-class="line-height" title='{{international.Phone[language]}}' border='{{ false }}' ref='saveChildRef6'>
  27. <van-field class="phone-edit" clearable value='{{userInfo&&isDisabled?util.desensitization(phone,3,7):phone}}' placeholder='{{international.Phone_prompt[language]}}' type="{{language=='ch'?'phone':'text'}}" input-align='right' border='{{ false }}' readonly ref='saveChildRef7'>
  28. </van-field>
  29. <!-- <btn slot='right-icon' class='btn btn1' open-type='getPhoneNumber' disabled='{{isDisabled}}' onGetPhoneNumber='getPhoneNumber'>
  30. {{international.Gain[language]}}
  31. </btn> -->
  32. </van-cell>
  33. </van-cell-group>
  34. </view>
  35. <view a:if="{{language === 'en' && !isDisabled && !userInfo}}">
  36. <view class='btn-area'>
  37. <btn hover-class='btn-click-submit' hover-stay-time='100' onTap='antmoveAction' data-antmove-tap='getAuthCode'>
  38. <!-- {{international.clickAuthentication[language]}} -->
  39. {{international.Certification[language]}}
  40. </btn>
  41. </view>
  42. </view>
  43. <!-- <view class='btn-area' a:if="{{(language === 'ch' && !isDisabled) || (language === 'en' && !isDisabled && userInfo)}}">
  44. <btn a:if="{{language === 'ch' && !isDisabled}}" onTap='antmoveAction' data-antmove-tap='getAuthCode'>
  45. {{international.Certification[language]}}
  46. </btn>
  47. <btn hover-class='btn-click-submit' hover-stay-time='100' a:if="{{language === 'en' && !isDisabled && userInfo}}" onTap='antmoveAction' data-antmove-tap='update'>
  48. {{international.confirm[language]}}
  49. </btn>
  50. </view> -->
  51. </view>
  52. </view>
  53. <auth_self onUpdateState='authResult' a:else></auth_self>
  54. </view>