weapps-plugin-jingtong-verify 1.6.0 → 1.6.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/README.md +1 -1
  2. package/app.json +33 -41
  3. package/package.json +21 -21
  4. package/sdk.js +309 -320
  5. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.js +31 -31
  6. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.json +3 -3
  7. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxml +9 -9
  8. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxss +65 -65
  9. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.js +37 -37
  10. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.json +3 -3
  11. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxml +30 -30
  12. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxss +79 -79
  13. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.js +32 -32
  14. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.json +3 -3
  15. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxml +16 -16
  16. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxss +57 -57
  17. package/weapps-plugin-jingtong-verify/components/gsd-lib/anim/anim.min.js +1 -1
  18. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/crypto.js +37 -37
  19. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/index.js +44 -44
  20. package/weapps-plugin-jingtong-verify/components/gsd-lib/dayjs/index.js +351 -351
  21. package/weapps-plugin-jingtong-verify/components/gsd-lib/event/index.js +117 -117
  22. package/weapps-plugin-jingtong-verify/components/gsd-lib/index.js +63 -63
  23. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/index.js +10 -10
  24. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/qmap.js +6 -6
  25. package/weapps-plugin-jingtong-verify/components/gsd-lib/storage/index.js +114 -114
  26. package/weapps-plugin-jingtong-verify/components/gsd-lib/utils/index.js +218 -218
  27. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formCheck.js +72 -72
  28. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formController.js +47 -47
  29. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/icon.js +11 -11
  30. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/list.js +16 -16
  31. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/navigator.js +33 -33
  32. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/primarySecondButton.js +18 -18
  33. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.js +12 -12
  34. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.json +5 -5
  35. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.wxml +15 -15
  36. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.js +47 -47
  37. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +3 -3
  38. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -13
  39. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
  40. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
  41. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
  42. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -30
  43. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +6 -6
  44. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -42
  45. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -1
  46. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -418
  47. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
  48. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
  49. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
  50. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
  51. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
  52. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +179 -182
  53. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
  54. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
  55. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
  56. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
  57. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
  58. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
  59. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -49
  60. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
  61. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -14
  62. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
  63. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
  64. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
  65. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
  66. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
  67. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
  68. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +236 -241
  69. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
  70. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
  71. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -328
  72. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
  73. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
  74. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
  75. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
  76. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
  77. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
  78. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
  79. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
  80. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -21
  81. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -7
  82. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -16
  83. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
  84. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
  85. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
  86. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
  87. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
  88. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
  89. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
  90. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
  91. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
  92. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -41
  93. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
  94. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -220
  95. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
  96. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
  97. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -174
  98. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
  99. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
  100. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
  101. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +206 -214
  102. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
  103. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
  104. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
  105. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -176
  106. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
  107. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
  108. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
  109. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
  110. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
  111. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
  112. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
  113. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
  114. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
  115. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
  116. package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
  117. package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
  118. package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
  119. package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
  120. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
  121. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
  122. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
  123. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -72
  124. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +39 -47
  125. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
  126. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +9 -11
  127. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
  128. package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
  129. package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
  130. package/weapps-plugin-jingtong-verify/i18n/rules.js +262 -403
  131. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
  132. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
  133. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -20
  134. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -51
  135. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
  136. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
  137. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
  138. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
  139. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
  140. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
  141. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
  142. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
  143. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1558 -1812
  144. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
  145. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +504 -522
  146. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +133 -185
  147. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -127
  148. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
  149. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
  150. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
  151. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
  152. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
  153. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
  154. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
  155. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
  156. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
  157. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
  158. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
  159. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +120 -110
  160. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
  161. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
  162. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
  163. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +864 -854
  164. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +11 -11
  165. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +162 -162
  166. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +64 -64
  167. package/weapps-plugin-jingtong-verify/pages/setting/setting.js +328 -331
  168. package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
  169. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
  170. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
  171. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -306
  172. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -7
  173. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -142
  174. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -110
  175. package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
  176. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
  177. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
  178. package/weapps-plugin-jingtong-verify/utils/country.js +209 -209
  179. package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
  180. package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
  181. package/weapps-plugin-jingtong-verify/utils/request.js +1 -670
  182. package/weapps-plugin-jingtong-verify/utils/rules.js +301 -405
  183. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  184. package/weapps-plugin-jingtong-verify/utils/validate.js +772 -910
  185. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.js +0 -41
  186. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.json +0 -4
  187. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxml +0 -20
  188. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxss +0 -112
  189. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.js +0 -73
  190. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.json +0 -4
  191. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxml +0 -19
  192. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxss +0 -72
  193. package/weapps-plugin-jingtong-verify/images/bank-card-verify.png +0 -0
  194. package/weapps-plugin-jingtong-verify/images/chek_right.png +0 -0
  195. package/weapps-plugin-jingtong-verify/images/chevron-down.png +0 -0
  196. package/weapps-plugin-jingtong-verify/images/chevron-up.png +0 -0
  197. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.js +0 -506
  198. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.json +0 -8
  199. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxml +0 -79
  200. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxss +0 -212
  201. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.js +0 -1392
  202. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.json +0 -10
  203. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxml +0 -247
  204. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxss +0 -397
  205. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js +0 -66
  206. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.wxml +0 -2
  207. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.js +0 -463
  208. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.json +0 -8
  209. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxml +0 -69
  210. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxss +0 -232
  211. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.js +0 -984
  212. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.json +0 -12
  213. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxml +0 -157
  214. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxss +0 -258
  215. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.js +0 -147
  216. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.json +0 -4
  217. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxml +0 -48
  218. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxss +0 -166
  219. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.js +0 -189
  220. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.json +0 -4
  221. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxml +0 -19
  222. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxss +0 -69
  223. package/weapps-plugin-jingtong-verify/utils/constantVal.js +0 -75
  224. package/weapps-plugin-jingtong-verify/utils/md5.js +0 -184
@@ -1,522 +1,504 @@
1
- <view wx:if="showCustomTips" class="custom-tips">
2
- <g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
3
- {{customTipsMsg}}
4
- </g-tips>
5
- </view>
6
- <view class="{{ language == 'en' ? 'en-page' : ''}}">
7
- <view class="top-box">
8
- <view class="img-box">
9
- <image src="../../images/Frame.png" mode="aspectFit" class="img"></image>
10
- </view>
11
- <view class="title">{{ language == 'zh_CN' ? '请填写您的个人身份信息' : 'Please fill in your personal information' }}</view>
12
- <!-- <text class="info">信息将与当前微信绑定(用于身份认证)</text> -->
13
- </view>
14
-
15
- <!-- 中文版:证件类型非外国人护照时 -->
16
- <view class="content-box" wx:if="{{ language == 'zh_CN' }}">
17
- <g-form
18
- id="form"
19
- model="{{ formData }}"
20
- rules="{{ rules }}"
21
- validateType="{{ validateType }}"
22
- primary-text="开始人脸识别"
23
- bind:submit="handleFormSubmit"
24
- >
25
- <!-- 共有:证件类型 -->
26
- <view class="form-item-wrap">
27
- <g-picker
28
- id="cid_type"
29
- value="{{ formData.cid_type }}"
30
- label="证件类型"
31
- bind:change="handleChange"
32
- required
33
- range="{{ cidTypeRange }}"
34
- ></g-picker>
35
- </view>
36
-
37
- <!-- 外国人提示 -->
38
- <view class="foreign-tip" wx:if="{{ formData.cid_type === '111' && showForeignTip }}">
39
- <text>For foreign nationals, please click here to select International passport.</text>
40
- <image src="../../images/close-circle.png" mode="widthFix" bind:tap="closeForeignTip" />
41
- </view>
42
-
43
- <!-- 银行卡核验(港澳/台居住证) -->
44
- <view wx:if="{{ currentAuthType === 'cardAuth' }}">
45
- <view class="form-tip">
46
- <text class="space-block"></text>
47
- <text class="tip-desc">{{ rulesMap[formData.cid_type].tip }}</text>
48
- </view>
49
- <view class="form-item-wrap">
50
- <g-input
51
- id="id_card_number"
52
- label="证件号码"
53
- placeholder="请输入证件号码"
54
- value="{{ formData.id_card_number }}"
55
- clearable="true"
56
- bind:change="handleChange"
57
- />
58
- </view>
59
- <view class="form-item-wrap">
60
- <g-input
61
- id="bank_account"
62
- data-star="strBankCount"
63
- label="银行卡卡号"
64
- placeholder="请输入银行卡卡号(支持国内各主要银行)"
65
- value="{{ formData.strBankCount || formData.bank_account }}"
66
- clearable="true"
67
- bind:change="handleChange"
68
- />
69
- </view>
70
- <view class="form-item-wrap">
71
- <g-input
72
- id="name"
73
- label="银行卡绑定证件姓名"
74
- placeholder="请输入银行卡绑定证件姓名"
75
- value="{{ formData.name }}"
76
- clearable="true"
77
- bind:change="handleChange"
78
- />
79
- </view>
80
- <view class="form-item-wrap">
81
- <g-input
82
- id="phone"
83
- label="银行卡绑定手机号码"
84
- placeholder="请输入银行卡绑定手机号码"
85
- value="{{ formData.phone }}"
86
- clearable="true"
87
- bind:change="handleChange"
88
- />
89
- </view>
90
- </view>
91
-
92
- <!-- 微信人脸识别核验(大陆身份证) -->
93
- <view wx:if="{{ currentAuthType === 'wxFace' }}">
94
- <view class="form-item-wrap">
95
- <g-input
96
- id="name"
97
- data-star="strName"
98
- label="姓名"
99
- placeholder="请输入本人姓名"
100
- value="{{ formData.strName || formData.name }}"
101
- clearable="{{ false }}"
102
- showEye="{{ formData.name }}"
103
- isOpen="{{ !formData.strName }}"
104
- bind:change="handleChange"
105
- showQuestion="{{ true }}"
106
- bind:showQuestionTip="showQuestionTip"
107
- bind:openEye="openEye"
108
- />
109
- </view>
110
-
111
- <view class="form-item-wrap">
112
- <g-input
113
- id="id_card_number"
114
- data-star="strCid"
115
- label="证件号码"
116
- placeholder="请输入本人证件号码"
117
- value="{{ formData.strCid || formData.id_card_number }}"
118
- clearable="{{ false }}"
119
- showEye="{{ formData.id_card_number }}"
120
- isOpen="{{ !formData.strCid }}"
121
- bind:change="handleChange"
122
- showQuestion="{{ true }}"
123
- bind:showQuestionTip="showQuestionTip"
124
- bind:openEye="openEye"
125
- />
126
- </view>
127
- </view>
128
-
129
- <!-- 出入境微信人脸识别核验(港澳/台通行证、永居证、华侨护照、港澳/台居住证) -->
130
- <view wx:if="{{ currentAuthType === 'faceReceptionAuth' }}">
131
- <!-- 姓名 -->
132
- <view class="form-item-wrap">
133
- <g-input
134
- id="name"
135
- label="姓名"
136
- placeholder="请输入本人姓名"
137
- value="{{ formData.name }}"
138
- clearable="true"
139
- bind:change="handleChange"
140
- />
141
- </view>
142
-
143
- <!-- 居住证 -->
144
- <view wx:if="{{ formData.cid_type === '17' || formData.cid_type === '18' }}">
145
- <view class="form-item-wrap">
146
- <g-input
147
- id="id_card_number"
148
- label="证件号码"
149
- placeholder="请输入本人居住证号码"
150
- value="{{ formData.id_card_number }}"
151
- clearable="true"
152
- bind:change="handleChange"
153
- />
154
- </view>
155
-
156
- <view class="form-item-wrap">
157
- <g-picker
158
- id="validity_period"
159
- mode="date"
160
- value="{{ formData.validity_period }}"
161
- label="证件生效日期"
162
- placeholder="请选择居住证有效期起始日期"
163
- bind:change="handleChange"
164
- >
165
- </g-picker>
166
- </view>
167
-
168
- <view class="form-item-wrap">
169
- <g-input
170
- id="passport_number"
171
- label="通行证号码"
172
- placeholder="请输入本人通行证号码"
173
- value="{{ formData.passport_number }}"
174
- clearable="true"
175
- bind:change="handleChange"
176
- />
177
- </view>
178
- </view>
179
-
180
- <!-- 港澳/台通行证、永居证、华侨护照 -->
181
- <view wx:else>
182
- <!-- 证件号码 -->
183
- <view class="form-item-wrap">
184
- <g-input
185
- id="id_card_number"
186
- label="证件号码"
187
- placeholder="请输入本人证件号码"
188
- value="{{ formData.id_card_number }}"
189
- clearable="true"
190
- bind:change="handleChange"
191
- />
192
- </view>
193
-
194
- <!-- 证件有效期: 港澳通行证、台湾通行证、华侨护照-->
195
- <view wx:if="{{ formData.cid_type !== '553' }}">
196
- <view class="form-item-wrap">
197
- <g-picker
198
- id="cid_expire_date"
199
- mode="date"
200
- value="{{ formData.cid_expire_date }}"
201
- label="证件有效期"
202
- placeholder="请选择证件有效期截止日期"
203
- bind:change="handleChange"
204
- >
205
- </g-picker>
206
- </view>
207
- </view>
208
-
209
- <!-- 国籍:台湾通行证和华侨没有 -->
210
- <view class="form-item-wrap" wx:if="{{ formData.cid_type !== '511' && formData.cid_type !== '414' }}">
211
- <g-picker
212
- id="nation"
213
- value="{{ formData.nation_name }}"
214
- label="国籍"
215
- mode="none"
216
- placeholder="请选择国籍"
217
- bind:tap="handleNationTap"
218
- actionText="选择"
219
- />
220
- </view>
221
-
222
- <!-- 三证照:港澳通行证、台湾通行证、华侨护照 -->
223
- <view wx:if="{{ formData.cid_type !== '553' }}">
224
- <!-- 港澳居民来往内地通行证-外籍 -->
225
- <view wx:if="{{ formData.cid_type === '516' && formData.nation !== 'CHN'}}">
226
- <view class="form-item-wrap">
227
- <g-picker
228
- id="sex"
229
- value="{{ formData.sex }}"
230
- label="性别"
231
- placeholder="请选择本人性别"
232
- bind:change="handleChange"
233
- range="{{ sexRangeZH }}"
234
- actionText="选择"
235
- ></g-picker>
236
- </view>
237
-
238
- <view class="form-item-wrap">
239
- <g-picker
240
- id="birthday"
241
- mode="date"
242
- value="{{ formData.birthday }}"
243
- label="出生日期"
244
- placeholder="请选择本人出生日期"
245
- bind:change="handleChange"
246
- >
247
- </g-picker>
248
- </view>
249
- </view>
250
- <view wx:else>
251
- <view class="form-item-wrap">
252
- <g-switch
253
- value="{{ formData.sbSwitch }}"
254
- showTip="{{ true }}"
255
- label="性别 / 出生日期"
256
- desc="性别和出生日期可选填,以便办理出生医学证明等相关服务"
257
- bind:change="handleChangeSwtich"
258
- ></g-switch>
259
- </view>
260
- <view wx:if="{{ formData.sbSwitch }}" class="form-options">
261
- <view class="form-item-wrap">
262
- <g-picker
263
- id="sex"
264
- value="{{ formData.sex }}"
265
- label="性别"
266
- placeholder="请选择本人性别"
267
- bind:change="handleChange"
268
- range="{{ sexRangeZH }}"
269
- actionText="选择"
270
- required="{{ false }}"
271
- ></g-picker>
272
- </view>
273
-
274
- <view class="form-item-wrap">
275
- <g-picker
276
- id="birthday"
277
- mode="date"
278
- value="{{ formData.birthday }}"
279
- label="出生日期"
280
- placeholder="请选择本人出生日期"
281
- bind:change="handleChange"
282
- required="{{ false }}"
283
- >
284
- </g-picker>
285
- </view>
286
- </view>
287
- </view>
288
- </view>
289
- </view>
290
- </view>
291
-
292
- <!-- 共有:登录有效期 -->
293
- <view class="form-item-wrap">
294
- <g-picker
295
- id="verify_expire_time"
296
- value="{{ formData.verify_expire_time }}"
297
- label="登录有效期"
298
- placeholder="请选择登录有效期"
299
- bind:change="handleChange"
300
- range="{{ loginTimeRange }}"
301
- ></g-picker>
302
- </view>
303
-
304
- <!-- 共有:协议勾选 -->
305
- <view class="agree-box" style="margin-top: 30rpx">
306
- <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
307
- <view>
308
- <text>{{ agreeInfo }}</text>
309
- <view>
310
- 我已认真阅读并同意
311
- <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="用户服务协议">《用户服务协议》</text>
312
- <text> 及 </text>
313
- <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="隐私政策">《隐私政策》</text>
314
- </view>
315
- </view>
316
- </g-agree>
317
- </view>
318
- </g-form>
319
- <!-- 其他方式 start -->
320
- <view class="other-way" wx:if="{{ formData.cid_type === '111' }}">
321
- <view class="other-way-btn" bind:tap="handletoOther">
322
- 其他方式
323
- </view>
324
- </view>
325
- <view class="login-help">
326
- <view class="login-help-btn" bind:tap="handletoLoginHelp">
327
- 登录帮助
328
- </view>
329
- </view>
330
- <!-- 其他方式 end -->
331
- </view>
332
-
333
- <!-- 英文版:证件类型为外国人护照 -->
334
- <view class="content-box" wx:else>
335
- <g-form
336
- id="form"
337
- model="{{ formData }}"
338
- rules="{{ rules }}"
339
- showTips="{{ false }}"
340
- validateType="{{ validateType }}"
341
- primary-text="Submit"
342
- bind:submit="handleFormSubmit"
343
- >
344
- <!-- 证件类型 -->
345
- <view class="form-item-wrap">
346
- <g-picker
347
- id="cid_type"
348
- value="{{ formData.cid_type }}"
349
- label="Type of ID"
350
- bind:change="handleChange"
351
- range="{{ cidTypeRange }}"
352
- actionText="select"
353
- ></g-picker>
354
- </view>
355
-
356
- <!-- 外国护照号码 -->
357
- <view class="form-item-wrap">
358
- <g-input
359
- id="id_card_number"
360
- label="Passport No."
361
- placeholder=""
362
- value="{{ formData.id_card_number }}"
363
- clearable="true"
364
- bind:change="handleChange"
365
- />
366
- </view>
367
-
368
- <!-- 国籍 -->
369
- <view class="form-item-wrap">
370
- <g-picker
371
- id="nation"
372
- value="{{ formData.nation_name }}"
373
- label="Nationality"
374
- mode="none"
375
- placeholder=""
376
- bind:tap="handleNationTap"
377
- actionText="select"
378
- />
379
- </view>
380
-
381
- <!-- 姓 -->
382
- <view class="form-item-wrap">
383
- <g-input
384
- id="sur_name_en"
385
- label="Surname"
386
- placeholder=""
387
- value="{{ formData.sur_name_en }}"
388
- clearable="true"
389
- _required="{{ false }}"
390
- bind:change="handleChange"
391
- />
392
- <view wx:if="!sur_name_state.valid" class="form-item__status-message--warn">{{ sur_name_state.msg }}</view>
393
- </view>
394
-
395
- <!-- 名 -->
396
- <view class="form-item-wrap">
397
- <g-input
398
- id="first_name_en"
399
- label="Given names"
400
- placeholder=""
401
- value="{{ formData.first_name_en }}"
402
- clearable="true"
403
- _required="{{ false }}"
404
- bind:change="handleChange"
405
- />
406
- <view wx:if="!first_name_state.valid" class="form-item__status-message--warn">{{ first_name_state.msg }}</view>
407
- </view>
408
-
409
- <!-- 性别 -->
410
- <view class="form-item-wrap">
411
- <g-picker
412
- id="sex"
413
- value="{{ formData.sex }}"
414
- label="Gender"
415
- placeholder=""
416
- bind:change="handleChange"
417
- range="{{ sexRange }}"
418
- actionText="select"
419
- ></g-picker>
420
- </view>
421
-
422
- <!-- 出生日期 -->
423
- <view class="form-item-wrap">
424
- <g-date-picker-en
425
- id="birthday"
426
- value="{{ formData.birthday }}"
427
- label="Date of birth (yyyy/mm/dd)"
428
- placeholder=""
429
- maxDate="{{ birthdayMaxDate }}"
430
- bind:change="handleChange"
431
- >
432
- </g-date-picker-en>
433
- </view>
434
-
435
- <!-- 护照有效期 -->
436
- <view class="form-item-wrap">
437
- <g-date-picker-en
438
- id="cid_expire_date"
439
- value="{{ formData.cid_expire_date }}"
440
- label="Passport expiration date (yyyy/mm/dd)"
441
- placeholder=""
442
- minDate="{{ cidExpireMinDate }}"
443
- bind:change="handleChange"
444
- >
445
- </g-date-picker-en>
446
- </view>
447
-
448
- <!-- 手机号码 -->
449
- <view class="form-item-wrap">
450
- <g-input
451
- id="phone"
452
- label="Mobile phone number"
453
- placeholder=""
454
- value="{{ formData.phone }}"
455
- clearable="true"
456
- bind:change="handleChange"
457
- />
458
- </view>
459
-
460
- <!-- 登录有效期 -->
461
- <view class="form-item-wrap">
462
- <g-picker
463
- id="verify_expire_time"
464
- value="{{ formData.verify_expire_time }}"
465
- label="Login validity period"
466
- placeholder=""
467
- bind:change="handleChange"
468
- range="{{ loginTimeRangeEn }}"
469
- actionText="select"
470
- ></g-picker>
471
- </view>
472
-
473
- <!-- 协议 -->
474
- <view class="agree-box" style="margin-top: 50rpx">
475
- <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
476
- <view>
477
- <view>
478
- I have read and agree to the
479
- <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
480
- <text> and </text>
481
- <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
482
- </view>
483
- </view>
484
- </g-agree>
485
- </view>
486
- </g-form>
487
- </view>
488
- </view>
489
-
490
- <!-- 外国人护照核验结果弹窗 -->
491
- <jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
492
-
493
- <!-- 老/小6次、成人3次 人脸报错提示弹窗 -->
494
- <face-modal visible="{{ showFaceModal }}" isKidsOrOld="{{ isKidsOrOld }}" bind:ok="handleModalOk"></face-modal>
495
-
496
- <!-- 老/小18次、成人6次 人脸报错提示弹窗 -->
497
- <lock-face-modal visible="{{ showLockFaceModal }}" isKidsOrOld="{{ isKidsOrOld }}" bind:ok="handleModalOk"></lock-face-modal>
498
-
499
- <!-- 银行卡认证弹窗 -->
500
- <card-modal visible="{{ showCardModal }}" bind:ok="toCardAuth" bind:cancel="handleModalOk"></card-modal>
501
-
502
- <!-- 姓名、证件号码提示弹窗 -->
503
- <tip-modal
504
- visible="{{ showTipModal }}"
505
- bind:cancel="handleModalOk"
506
- desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您填写变更后的身份信息进行登录。"
507
- desc2="2、如果当前显示为他人信息(亲属/朋友等),请您删除后使用本人身份信息进行登录。"
508
- ></tip-modal>
509
-
510
- <!-- 扫脸失败温馨提示弹窗 -->
511
- <face-error-modal
512
- visible="{{ faceErrorModal }}"
513
- faceErrorType="{{ faceErrorType }}"
514
- bind:CancelBtn="cancelFaceErrorModal"
515
- bind:ConfirmBtn="okFaceErrorModal"
516
- ></face-error-modal>
517
- <!-- 其他方式锁定提示 -->
518
- <tip-modal
519
- visible="{{ showOtherWayTipModal }}"
520
- bind:cancel="handleModalOk"
521
- desc1="因您多次人脸识别验证未能通过,为保障账户安全,人脸识别的验证方式已暂时锁定,待锁定时效(10分钟)结束后,重新尝试人脸识别验证。"
522
- ></tip-modal>
1
+ <view wx:if="showCustomTips" class="custom-tips">
2
+ <g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
3
+ {{customTipsMsg}}
4
+ </g-tips>
5
+ </view>
6
+ <view class="{{ language == 'en' ? 'en-page' : ''}}">
7
+ <view class="top-box">
8
+ <view class="img-box">
9
+ <image src="../../images/Frame.png" mode="aspectFit" class="img"></image>
10
+ </view>
11
+ <view class="title">{{ language == 'zh_CN' ? '请填写您的个人身份信息' : 'Please fill in your personal information' }}</view>
12
+ <!-- <text class="info">信息将与当前微信绑定(用于身份认证)</text> -->
13
+ </view>
14
+
15
+ <!-- 中文版:证件类型非外国人护照时 -->
16
+ <view class="content-box" wx:if="{{ language == 'zh_CN' }}">
17
+ <g-form
18
+ id="form"
19
+ model="{{ formData }}"
20
+ rules="{{ rules }}"
21
+ validateType="{{ validateType }}"
22
+ primary-text="开始人脸识别"
23
+ bind:submit="handleFormSubmit"
24
+ >
25
+ <!-- 共有:证件类型 -->
26
+ <view class="form-item-wrap">
27
+ <g-picker
28
+ id="cid_type"
29
+ value="{{ formData.cid_type }}"
30
+ label="证件类型"
31
+ bind:change="handleChange"
32
+ required
33
+ range="{{ cidTypeRange }}"
34
+ ></g-picker>
35
+ </view>
36
+
37
+ <!-- 外国人提示 -->
38
+ <view class="foreign-tip" wx:if="{{ formData.cid_type === '111' && showForeignTip }}">
39
+ <text>For foreign nationals, please click here to select International passport.</text>
40
+ <image src="../../images/close-circle.png" mode="widthFix" bind:tap="closeForeignTip" />
41
+ </view>
42
+
43
+ <!-- 银行卡核验(港澳/台居住证) -->
44
+ <view wx:if="{{ currentAuthType === 'cardAuth' }}">
45
+ <view class="form-tip">
46
+ <text class="space-block"></text>
47
+ <text class="tip-desc">{{ rulesMap[formData.cid_type].tip }}</text>
48
+ </view>
49
+ <view class="form-item-wrap">
50
+ <g-input
51
+ id="id_card_number"
52
+ label="证件号码"
53
+ placeholder="请输入证件号码"
54
+ value="{{ formData.id_card_number }}"
55
+ clearable="true"
56
+ bind:change="handleChange"
57
+ />
58
+ </view>
59
+ <view class="form-item-wrap">
60
+ <g-input
61
+ id="bank_account"
62
+ data-star="strBankCount"
63
+ label="银行卡卡号"
64
+ placeholder="请输入银行卡卡号(支持国内各主要银行)"
65
+ value="{{ formData.strBankCount || formData.bank_account }}"
66
+ clearable="true"
67
+ bind:change="handleChange"
68
+ />
69
+ </view>
70
+ <view class="form-item-wrap">
71
+ <g-input
72
+ id="name"
73
+ label="银行卡绑定证件姓名"
74
+ placeholder="请输入银行卡绑定证件姓名"
75
+ value="{{ formData.name }}"
76
+ clearable="true"
77
+ bind:change="handleChange"
78
+ />
79
+ </view>
80
+ <view class="form-item-wrap">
81
+ <g-input
82
+ id="phone"
83
+ label="银行卡绑定手机号码"
84
+ placeholder="请输入银行卡绑定手机号码"
85
+ value="{{ formData.phone }}"
86
+ clearable="true"
87
+ bind:change="handleChange"
88
+ />
89
+ </view>
90
+ </view>
91
+
92
+ <!-- 微信人脸识别核验(大陆身份证) -->
93
+ <view wx:if="{{ currentAuthType === 'wxFace' }}">
94
+ <view class="form-item-wrap">
95
+ <g-input
96
+ id="name"
97
+ data-star="strName"
98
+ label="姓名"
99
+ placeholder="请输入本人姓名"
100
+ value="{{ formData.strName || formData.name }}"
101
+ clearable="{{ false }}"
102
+ showEye="{{ formData.name }}"
103
+ isOpen="{{ !formData.strName }}"
104
+ bind:change="handleChange"
105
+ showQuestion="{{ true }}"
106
+ bind:showQuestionTip="showQuestionTip"
107
+ bind:openEye="openEye"
108
+ />
109
+ </view>
110
+
111
+ <view class="form-item-wrap">
112
+ <g-input
113
+ id="id_card_number"
114
+ data-star="strCid"
115
+ label="证件号码"
116
+ placeholder="请输入本人证件号码"
117
+ value="{{ formData.strCid || formData.id_card_number }}"
118
+ clearable="{{ false }}"
119
+ showEye="{{ formData.id_card_number }}"
120
+ isOpen="{{ !formData.strCid }}"
121
+ bind:change="handleChange"
122
+ showQuestion="{{ true }}"
123
+ bind:showQuestionTip="showQuestionTip"
124
+ bind:openEye="openEye"
125
+ />
126
+ </view>
127
+ </view>
128
+
129
+ <!-- 出入境微信人脸识别核验(港澳/台通行证、永居证、华侨护照、港澳/台居住证) -->
130
+ <view wx:if="{{ currentAuthType === 'faceReceptionAuth' }}">
131
+ <!-- 姓名 -->
132
+ <view class="form-item-wrap">
133
+ <g-input
134
+ id="name"
135
+ label="姓名"
136
+ placeholder="请输入本人姓名"
137
+ value="{{ formData.name }}"
138
+ clearable="true"
139
+ bind:change="handleChange"
140
+ />
141
+ </view>
142
+
143
+ <!-- 居住证 -->
144
+ <view wx:if="{{ formData.cid_type === '17' || formData.cid_type === '18' }}">
145
+ <view class="form-item-wrap">
146
+ <g-input
147
+ id="id_card_number"
148
+ label="证件号码"
149
+ placeholder="请输入本人居住证号码"
150
+ value="{{ formData.id_card_number }}"
151
+ clearable="true"
152
+ bind:change="handleChange"
153
+ />
154
+ </view>
155
+
156
+ <view class="form-item-wrap">
157
+ <g-picker
158
+ id="validity_period"
159
+ mode="date"
160
+ value="{{ formData.validity_period }}"
161
+ label="证件生效日期"
162
+ placeholder="请选择居住证有效期起始日期"
163
+ bind:change="handleChange"
164
+ >
165
+ </g-picker>
166
+ </view>
167
+
168
+ <view class="form-item-wrap">
169
+ <g-input
170
+ id="passport_number"
171
+ label="通行证号码"
172
+ placeholder="请输入本人通行证号码"
173
+ value="{{ formData.passport_number }}"
174
+ clearable="true"
175
+ bind:change="handleChange"
176
+ />
177
+ </view>
178
+ </view>
179
+
180
+ <!-- 港澳/台通行证、永居证、华侨护照 -->
181
+ <view wx:else>
182
+ <!-- 证件号码 -->
183
+ <view class="form-item-wrap">
184
+ <g-input
185
+ id="id_card_number"
186
+ label="证件号码"
187
+ placeholder="请输入本人证件号码"
188
+ value="{{ formData.id_card_number }}"
189
+ clearable="true"
190
+ bind:change="handleChange"
191
+ />
192
+ </view>
193
+
194
+ <!-- 证件有效期: 港澳通行证、台湾通行证、华侨护照-->
195
+ <view wx:if="{{ formData.cid_type !== '553' }}">
196
+ <view class="form-item-wrap">
197
+ <g-picker
198
+ id="cid_expire_date"
199
+ mode="date"
200
+ value="{{ formData.cid_expire_date }}"
201
+ label="证件有效期"
202
+ placeholder="请选择证件有效期截止日期"
203
+ bind:change="handleChange"
204
+ >
205
+ </g-picker>
206
+ </view>
207
+ </view>
208
+
209
+ <!-- 国籍:台湾通行证和华侨没有 -->
210
+ <view class="form-item-wrap" wx:if="{{ formData.cid_type !== '511' && formData.cid_type !== '414' }}">
211
+ <g-picker
212
+ id="nation"
213
+ value="{{ formData.nation_name }}"
214
+ label="国籍"
215
+ mode="none"
216
+ placeholder="请选择国籍"
217
+ bind:tap="handleNationTap"
218
+ actionText="选择"
219
+ />
220
+ </view>
221
+
222
+ <!-- 三证照:港澳通行证、台湾通行证、华侨护照 -->
223
+ <view wx:if="{{ formData.cid_type !== '553' }}">
224
+ <!-- 港澳居民来往内地通行证-外籍 -->
225
+ <view wx:if="{{ formData.cid_type === '516' && formData.nation !== 'CHN'}}">
226
+ <view class="form-item-wrap">
227
+ <g-picker
228
+ id="sex"
229
+ value="{{ formData.sex }}"
230
+ label="性别"
231
+ placeholder="请选择本人性别"
232
+ bind:change="handleChange"
233
+ range="{{ sexRangeZH }}"
234
+ actionText="选择"
235
+ ></g-picker>
236
+ </view>
237
+
238
+ <view class="form-item-wrap">
239
+ <g-picker
240
+ id="birthday"
241
+ mode="date"
242
+ value="{{ formData.birthday }}"
243
+ label="出生日期"
244
+ placeholder="请选择本人出生日期"
245
+ bind:change="handleChange"
246
+ >
247
+ </g-picker>
248
+ </view>
249
+ </view>
250
+ <view wx:else>
251
+ <view class="form-item-wrap">
252
+ <g-switch
253
+ value="{{ formData.sbSwitch }}"
254
+ showTip="{{ true }}"
255
+ label="性别 / 出生日期"
256
+ desc="性别和出生日期可选填,以便办理出生医学证明等相关服务"
257
+ bind:change="handleChangeSwtich"
258
+ ></g-switch>
259
+ </view>
260
+ <view wx:if="{{ formData.sbSwitch }}" class="form-options">
261
+ <view class="form-item-wrap">
262
+ <g-picker
263
+ id="sex"
264
+ value="{{ formData.sex }}"
265
+ label="性别"
266
+ placeholder="请选择本人性别"
267
+ bind:change="handleChange"
268
+ range="{{ sexRangeZH }}"
269
+ actionText="选择"
270
+ required="{{ false }}"
271
+ ></g-picker>
272
+ </view>
273
+
274
+ <view class="form-item-wrap">
275
+ <g-picker
276
+ id="birthday"
277
+ mode="date"
278
+ value="{{ formData.birthday }}"
279
+ label="出生日期"
280
+ placeholder="请选择本人出生日期"
281
+ bind:change="handleChange"
282
+ required="{{ false }}"
283
+ >
284
+ </g-picker>
285
+ </view>
286
+ </view>
287
+ </view>
288
+ </view>
289
+ </view>
290
+ </view>
291
+
292
+ <!-- 共有:登录有效期 -->
293
+ <view class="form-item-wrap">
294
+ <g-picker
295
+ id="verify_expire_time"
296
+ value="{{ formData.verify_expire_time }}"
297
+ label="登录有效期"
298
+ placeholder="请选择登录有效期"
299
+ bind:change="handleChange"
300
+ range="{{ loginTimeRange }}"
301
+ ></g-picker>
302
+ </view>
303
+
304
+ <!-- 共有:协议勾选 -->
305
+ <view class="agree-box" style="margin-top: 50rpx">
306
+ <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
307
+ <view>
308
+ <text>{{ agreeInfo }}</text>
309
+ <view>
310
+ 我已认真阅读并同意
311
+ <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="用户服务协议">《用户服务协议》</text>
312
+ <text> 及 </text>
313
+ <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="隐私政策">《隐私政策》</text>
314
+ </view>
315
+ </view>
316
+ </g-agree>
317
+ </view>
318
+ </g-form>
319
+ </view>
320
+
321
+ <!-- 英文版:证件类型为外国人护照 -->
322
+ <view class="content-box" wx:else>
323
+ <g-form
324
+ id="form"
325
+ model="{{ formData }}"
326
+ rules="{{ rules }}"
327
+ showTips="{{ false }}"
328
+ validateType="{{ validateType }}"
329
+ primary-text="Submit"
330
+ bind:submit="handleFormSubmit"
331
+ >
332
+ <!-- 证件类型 -->
333
+ <view class="form-item-wrap">
334
+ <g-picker
335
+ id="cid_type"
336
+ value="{{ formData.cid_type }}"
337
+ label="Type of ID"
338
+ bind:change="handleChange"
339
+ range="{{ cidTypeRange }}"
340
+ actionText="select"
341
+ ></g-picker>
342
+ </view>
343
+
344
+ <!-- 外国护照号码 -->
345
+ <view class="form-item-wrap">
346
+ <g-input
347
+ id="id_card_number"
348
+ label="Passport No."
349
+ placeholder=""
350
+ value="{{ formData.id_card_number }}"
351
+ clearable="true"
352
+ bind:change="handleChange"
353
+ />
354
+ </view>
355
+
356
+ <!-- 国籍 -->
357
+ <view class="form-item-wrap">
358
+ <g-picker
359
+ id="nation"
360
+ value="{{ formData.nation_name }}"
361
+ label="Nationality"
362
+ mode="none"
363
+ placeholder=""
364
+ bind:tap="handleNationTap"
365
+ actionText="select"
366
+ />
367
+ </view>
368
+
369
+ <!-- 姓 -->
370
+ <view class="form-item-wrap">
371
+ <g-input
372
+ id="sur_name_en"
373
+ label="Surname"
374
+ placeholder=""
375
+ value="{{ formData.sur_name_en }}"
376
+ clearable="true"
377
+ _required="{{ false }}"
378
+ bind:change="handleChange"
379
+ />
380
+ <view wx:if="!sur_name_state.valid" class="form-item__status-message--warn">{{ sur_name_state.msg }}</view>
381
+ </view>
382
+
383
+ <!-- 名 -->
384
+ <view class="form-item-wrap">
385
+ <g-input
386
+ id="first_name_en"
387
+ label="Given names"
388
+ placeholder=""
389
+ value="{{ formData.first_name_en }}"
390
+ clearable="true"
391
+ _required="{{ false }}"
392
+ bind:change="handleChange"
393
+ />
394
+ <view wx:if="!first_name_state.valid" class="form-item__status-message--warn">{{ first_name_state.msg }}</view>
395
+ </view>
396
+
397
+ <!-- 性别 -->
398
+ <view class="form-item-wrap">
399
+ <g-picker
400
+ id="sex"
401
+ value="{{ formData.sex }}"
402
+ label="Gender"
403
+ placeholder=""
404
+ bind:change="handleChange"
405
+ range="{{ sexRange }}"
406
+ actionText="select"
407
+ ></g-picker>
408
+ </view>
409
+
410
+ <!-- 出生日期 -->
411
+ <view class="form-item-wrap">
412
+ <g-date-picker-en
413
+ id="birthday"
414
+ value="{{ formData.birthday }}"
415
+ label="Date of birth (yyyy/mm/dd)"
416
+ placeholder=""
417
+ maxDate="{{ birthdayMaxDate }}"
418
+ bind:change="handleChange"
419
+ >
420
+ </g-date-picker-en>
421
+ </view>
422
+
423
+ <!-- 护照有效期 -->
424
+ <view class="form-item-wrap">
425
+ <g-date-picker-en
426
+ id="cid_expire_date"
427
+ value="{{ formData.cid_expire_date }}"
428
+ label="Passport expiration date (yyyy/mm/dd)"
429
+ placeholder=""
430
+ minDate="{{ cidExpireMinDate }}"
431
+ bind:change="handleChange"
432
+ >
433
+ </g-date-picker-en>
434
+ </view>
435
+
436
+ <!-- 手机号码 -->
437
+ <view class="form-item-wrap">
438
+ <g-input
439
+ id="phone"
440
+ label="Mobile phone number"
441
+ placeholder=""
442
+ value="{{ formData.phone }}"
443
+ clearable="true"
444
+ bind:change="handleChange"
445
+ />
446
+ </view>
447
+
448
+ <!-- 登录有效期 -->
449
+ <view class="form-item-wrap">
450
+ <g-picker
451
+ id="verify_expire_time"
452
+ value="{{ formData.verify_expire_time }}"
453
+ label="Login validity period"
454
+ placeholder=""
455
+ bind:change="handleChange"
456
+ range="{{ loginTimeRangeEn }}"
457
+ actionText="select"
458
+ ></g-picker>
459
+ </view>
460
+
461
+ <!-- 协议 -->
462
+ <view class="agree-box" style="margin-top: 50rpx">
463
+ <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
464
+ <view>
465
+ <view>
466
+ I have read and agree to the
467
+ <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
468
+ <text> and </text>
469
+ <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
470
+ </view>
471
+ </view>
472
+ </g-agree>
473
+ </view>
474
+ </g-form>
475
+ </view>
476
+ </view>
477
+
478
+ <!-- 外国人护照核验结果弹窗 -->
479
+ <jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
480
+
481
+ <!-- 老/小6次、成人3次 人脸报错提示弹窗 -->
482
+ <face-modal visible="{{ showFaceModal }}" isKidsOrOld="{{ isKidsOrOld }}" bind:ok="handleModalOk"></face-modal>
483
+
484
+ <!-- 老/小18次、成人6次 人脸报错提示弹窗 -->
485
+ <lock-face-modal visible="{{ showLockFaceModal }}" isKidsOrOld="{{ isKidsOrOld }}" bind:ok="handleModalOk"></lock-face-modal>
486
+
487
+ <!-- 银行卡认证弹窗 -->
488
+ <card-modal visible="{{ showCardModal }}" bind:ok="toCardAuth" bind:cancel="handleModalOk"></card-modal>
489
+
490
+ <!-- 姓名、证件号码提示弹窗 -->
491
+ <tip-modal
492
+ visible="{{ showTipModal }}"
493
+ bind:cancel="handleModalOk"
494
+ desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您填写变更后的身份信息进行登录。"
495
+ desc2="2、如果当前显示为他人信息(亲属/朋友等),请您删除后使用本人身份信息进行登录。"
496
+ ></tip-modal>
497
+
498
+ <!-- 扫脸失败温馨提示弹窗 -->
499
+ <face-error-modal
500
+ visible="{{ faceErrorModal }}"
501
+ faceErrorType="{{ faceErrorType }}"
502
+ bind:CancelBtn="cancelFaceErrorModal"
503
+ bind:ConfirmBtn="okFaceErrorModal"
504
+ ></face-error-modal>