weapps-plugin-jingtong-verify 1.4.5 → 1.4.7

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 (222) hide show
  1. package/app.json +41 -33
  2. package/package.json +20 -20
  3. package/sdk.js +289 -289
  4. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.js +31 -31
  5. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.json +3 -3
  6. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxml +9 -9
  7. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxss +65 -65
  8. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.js +41 -0
  9. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.json +4 -0
  10. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxml +20 -0
  11. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxss +112 -0
  12. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.js +37 -37
  13. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.json +3 -3
  14. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxml +30 -30
  15. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxss +79 -79
  16. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.js +32 -32
  17. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.json +3 -3
  18. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxml +16 -16
  19. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxss +57 -57
  20. package/weapps-plugin-jingtong-verify/components/gsd-lib/anim/anim.min.js +1 -1
  21. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/crypto.js +37 -37
  22. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/index.js +44 -44
  23. package/weapps-plugin-jingtong-verify/components/gsd-lib/dayjs/index.js +351 -351
  24. package/weapps-plugin-jingtong-verify/components/gsd-lib/event/index.js +117 -117
  25. package/weapps-plugin-jingtong-verify/components/gsd-lib/index.js +63 -63
  26. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/index.js +10 -10
  27. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/qmap.js +6 -6
  28. package/weapps-plugin-jingtong-verify/components/gsd-lib/storage/index.js +114 -114
  29. package/weapps-plugin-jingtong-verify/components/gsd-lib/utils/index.js +218 -218
  30. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formCheck.js +72 -72
  31. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formController.js +47 -47
  32. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/icon.js +11 -11
  33. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/list.js +16 -16
  34. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/navigator.js +33 -33
  35. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/primarySecondButton.js +18 -18
  36. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.js +12 -12
  37. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.json +5 -5
  38. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.wxml +15 -15
  39. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.js +47 -47
  40. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +3 -3
  41. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -13
  42. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
  43. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
  44. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
  45. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -30
  46. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +6 -6
  47. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -42
  48. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -1
  49. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -418
  50. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
  51. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
  52. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
  53. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
  54. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
  55. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +182 -179
  56. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
  57. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
  58. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
  59. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
  60. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
  61. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
  62. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -49
  63. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
  64. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -14
  65. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
  66. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
  67. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
  68. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
  69. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
  70. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
  71. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +241 -236
  72. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
  73. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
  74. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -328
  75. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
  76. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
  77. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
  78. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
  79. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
  80. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
  81. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
  82. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
  83. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -21
  84. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -7
  85. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -16
  86. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
  87. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
  88. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
  89. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
  90. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
  91. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
  92. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
  93. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
  94. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
  95. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -41
  96. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
  97. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -220
  98. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
  99. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
  100. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -174
  101. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
  102. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
  103. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
  104. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +214 -206
  105. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
  106. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
  107. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
  108. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -176
  109. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
  110. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
  111. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
  112. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
  113. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
  114. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
  115. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
  116. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
  117. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
  118. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
  119. package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
  120. package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
  121. package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
  122. package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
  123. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
  124. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
  125. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
  126. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -72
  127. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +47 -39
  128. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
  129. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +11 -9
  130. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
  131. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.js +73 -0
  132. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.json +4 -0
  133. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxml +19 -0
  134. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxss +72 -0
  135. package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
  136. package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
  137. package/weapps-plugin-jingtong-verify/i18n/rules.js +374 -262
  138. package/weapps-plugin-jingtong-verify/images/bank-card-verify.png +0 -0
  139. package/weapps-plugin-jingtong-verify/images/chek_right.png +0 -0
  140. package/weapps-plugin-jingtong-verify/images/chevron-down.png +0 -0
  141. package/weapps-plugin-jingtong-verify/images/chevron-up.png +0 -0
  142. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.js +488 -0
  143. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.json +7 -0
  144. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxml +73 -0
  145. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxss +205 -0
  146. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.js +1218 -0
  147. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.json +10 -0
  148. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxml +254 -0
  149. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxss +389 -0
  150. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js +66 -0
  151. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.wxml +2 -0
  152. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.js +461 -0
  153. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.json +8 -0
  154. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxml +67 -0
  155. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxss +231 -0
  156. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.js +477 -0
  157. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.json +12 -0
  158. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxml +120 -0
  159. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxss +217 -0
  160. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
  161. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
  162. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -20
  163. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -51
  164. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
  165. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
  166. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
  167. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
  168. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
  169. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
  170. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
  171. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
  172. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1687 -1548
  173. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
  174. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +516 -504
  175. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +185 -133
  176. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -127
  177. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
  178. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
  179. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
  180. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.js +147 -0
  181. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.json +4 -0
  182. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxml +48 -0
  183. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxss +166 -0
  184. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
  185. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
  186. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
  187. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
  188. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.js +156 -0
  189. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.json +4 -0
  190. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxml +19 -0
  191. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxss +69 -0
  192. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
  193. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
  194. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
  195. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
  196. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +110 -110
  197. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
  198. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
  199. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
  200. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +854 -854
  201. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +11 -11
  202. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +162 -162
  203. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +64 -64
  204. package/weapps-plugin-jingtong-verify/pages/setting/setting.js +331 -328
  205. package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
  206. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
  207. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
  208. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -306
  209. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -7
  210. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -142
  211. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -110
  212. package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
  213. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
  214. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
  215. package/weapps-plugin-jingtong-verify/utils/constantVal.js +75 -0
  216. package/weapps-plugin-jingtong-verify/utils/country.js +209 -209
  217. package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
  218. package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
  219. package/weapps-plugin-jingtong-verify/utils/request.js +604 -1
  220. package/weapps-plugin-jingtong-verify/utils/rules.js +387 -301
  221. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  222. package/weapps-plugin-jingtong-verify/utils/validate.js +894 -772
@@ -1,504 +1,516 @@
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>
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>