weapps-plugin-jingtong-verify 1.4.0 → 1.4.1-dev

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