weapps-plugin-jingtong-verify 1.3.9 → 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 (187) 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 -0
  37. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +4 -0
  38. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -0
  39. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxss +1 -0
  40. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
  41. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
  42. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
  43. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -0
  44. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +7 -0
  45. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -0
  46. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -0
  47. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -414
  48. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
  49. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
  50. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
  51. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
  52. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
  53. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +179 -179
  54. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
  55. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
  56. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
  57. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
  58. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
  59. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
  60. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -48
  61. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
  62. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -13
  63. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
  64. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
  65. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
  66. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
  67. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
  68. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
  69. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +237 -233
  70. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
  71. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
  72. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -324
  73. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
  74. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
  75. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
  76. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
  77. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
  78. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
  79. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
  80. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
  81. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -0
  82. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -0
  83. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -0
  84. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxss +1 -0
  85. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
  86. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
  87. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
  88. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
  89. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
  90. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
  91. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
  92. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
  93. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
  94. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -0
  95. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
  96. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -0
  97. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
  98. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
  99. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -167
  100. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
  101. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
  102. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
  103. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +206 -206
  104. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
  105. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
  106. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
  107. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -0
  108. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
  109. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
  110. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
  111. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
  112. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
  113. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
  114. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
  115. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
  116. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
  117. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
  118. package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
  119. package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
  120. package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
  121. package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
  122. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
  123. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
  124. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
  125. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -71
  126. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +39 -35
  127. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
  128. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +9 -9
  129. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
  130. package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
  131. package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
  132. package/weapps-plugin-jingtong-verify/i18n/rules.js +202 -189
  133. package/weapps-plugin-jingtong-verify/images/close-circle.png +0 -0
  134. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
  135. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
  136. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -17
  137. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -38
  138. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
  139. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
  140. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
  141. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
  142. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
  143. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
  144. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
  145. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
  146. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1382 -1286
  147. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +16 -15
  148. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +494 -410
  149. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +116 -76
  150. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -126
  151. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
  152. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
  153. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
  154. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
  155. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
  156. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
  157. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
  158. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
  159. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
  160. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
  161. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
  162. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +110 -97
  163. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
  164. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
  165. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
  166. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +641 -641
  167. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +10 -10
  168. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +152 -152
  169. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +47 -47
  170. package/weapps-plugin-jingtong-verify/pages/setting/setting.js +328 -328
  171. package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
  172. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
  173. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
  174. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -159
  175. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -6
  176. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -61
  177. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -64
  178. package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
  179. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
  180. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
  181. package/weapps-plugin-jingtong-verify/utils/country.js +209 -203
  182. package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
  183. package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
  184. package/weapps-plugin-jingtong-verify/utils/request.js +89 -24
  185. package/weapps-plugin-jingtong-verify/utils/rules.js +258 -162
  186. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  187. package/weapps-plugin-jingtong-verify/utils/validate.js +772 -754
@@ -1,11 +1,11 @@
1
- {
2
- "usingComponents": {
3
- "g-form": "../../components/gsd-ui/g-form/index",
4
- "g-input": "../../components/gsd-ui/g-input/index",
5
- "g-picker": "../../components/gsd-ui/g-picker/index",
6
- "g-agree": "../../components/gsd-ui/g-agree/index",
7
- "g-date-picker-en": "../../components/gsd-ui/g-date-picker-en/index",
8
- "jt-modal": "../../components/modal/modal"
9
- },
10
- "navigationBarTitleText": "Verify"
1
+ {
2
+ "usingComponents": {
3
+ "g-form": "../../components/gsd-ui/g-form/index",
4
+ "g-input": "../../components/gsd-ui/g-input/index",
5
+ "g-picker": "../../components/gsd-ui/g-picker/index",
6
+ "g-agree": "../../components/gsd-ui/g-agree/index",
7
+ "g-date-picker-en": "../../components/gsd-ui/g-date-picker-en/index",
8
+ "jt-modal": "../../components/modal/modal"
9
+ },
10
+ "navigationBarTitleText": "Verify"
11
11
  }
@@ -1,152 +1,152 @@
1
- <view class="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">Please fill in your personal information</view>
7
- </view>
8
-
9
- <!-- 英文版:证件类型为外国人护照 -->
10
- <view class="content-box">
11
- <g-form
12
- id="form"
13
- model="{{ formData }}"
14
- rules="{{ rules }}"
15
- validateType="{{ validateType }}"
16
- primary-text="Submit"
17
- bind:submit="handleFormSubmit"
18
- >
19
- <view class="form-item-wrap">
20
- <g-picker
21
- id="cid_type"
22
- value="{{ formData.cid_type }}"
23
- label="Type of ID"
24
- bind:change="handleChange"
25
- range="{{ cidTypeRange }}"
26
- actionText=""
27
- disabled
28
- ></g-picker>
29
- </view>
30
-
31
- <view class="form-item-wrap">
32
- <g-input
33
- id="id_card_number"
34
- label="Passport No."
35
- placeholder=""
36
- value="{{ formData.id_card_number }}"
37
- clearable="true"
38
- bind:change="handleChange"
39
- />
40
- </view>
41
-
42
- <view class="form-item-wrap">
43
- <g-picker
44
- id="nation"
45
- value="{{ formData.nation_name }}"
46
- label="Nationality"
47
- mode="none"
48
- placeholder=""
49
- bind:tap="handleNationTap"
50
- actionText="select"
51
- />
52
- </view>
53
-
54
- <view class="form-item-wrap">
55
- <g-input
56
- id="sur_name"
57
- label="Surname"
58
- placeholder=""
59
- value="{{ formData.sur_name }}"
60
- clearable="true"
61
- bind:change="handleChange"
62
- />
63
- </view>
64
-
65
- <view class="form-item-wrap">
66
- <g-input
67
- id="first_name"
68
- label="Given names"
69
- placeholder=""
70
- value="{{ formData.first_name }}"
71
- clearable="true"
72
- bind:change="handleChange"
73
- />
74
- </view>
75
-
76
- <view class="form-item-wrap">
77
- <g-picker
78
- id="sex"
79
- value="{{ formData.sex }}"
80
- label="Gender"
81
- placeholder=""
82
- bind:change="handleChange"
83
- range="{{ sexRange }}"
84
- actionText="select"
85
- ></g-picker>
86
- </view>
87
-
88
- <view class="form-item-wrap">
89
- <g-date-picker-en
90
- id="birthday"
91
- value="{{ formData.birthday }}"
92
- label="Date of birth (yyyy/mm/dd)"
93
- placeholder=""
94
- maxDate="{{ birthdayMaxDate }}"
95
- bind:change="handleChange"
96
- >
97
- </g-date-picker-en>
98
- </view>
99
-
100
- <view class="form-item-wrap">
101
- <g-date-picker-en
102
- id="cid_expire_date"
103
- value="{{ formData.cid_expire_date }}"
104
- label="Passport expiration date (yyyy/mm/dd)"
105
- placeholder=""
106
- minDate="{{ cidExpireMinDate }}"
107
- bind:change="handleChange"
108
- >
109
- </g-date-picker-en>
110
- </view>
111
-
112
- <view class="form-item-wrap">
113
- <g-input
114
- id="phone"
115
- label="Mobile phone number"
116
- placeholder=""
117
- value="{{ formData.phone }}"
118
- clearable="true"
119
- bind:change="handleChange"
120
- />
121
- </view>
122
-
123
- <view class="form-item-wrap">
124
- <g-picker
125
- id="verify_expire_time"
126
- value="{{ formData.verify_expire_time }}"
127
- label="Login validity period"
128
- placeholder=""
129
- bind:change="handleChange"
130
- range="{{ loginTimeRangeEn }}"
131
- actionText="select"
132
- ></g-picker>
133
- </view>
134
-
135
- <view class="agree-box" style="margin-top: 50rpx">
136
- <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
137
- <view>
138
- <view>
139
- I have read and agree to the
140
- <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
141
- <text> and </text>
142
- <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
143
- </view>
144
- </view>
145
- </g-agree>
146
- </view>
147
- </g-form>
148
- </view>
149
- </view>
150
-
151
- <!-- 外国人护照核验结果弹窗 -->
152
- <jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
1
+ <view class="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">Please fill in your personal information</view>
7
+ </view>
8
+
9
+ <!-- 英文版:证件类型为外国人护照 -->
10
+ <view class="content-box">
11
+ <g-form
12
+ id="form"
13
+ model="{{ formData }}"
14
+ rules="{{ rules }}"
15
+ validateType="{{ validateType }}"
16
+ primary-text="Submit"
17
+ bind:submit="handleFormSubmit"
18
+ >
19
+ <view class="form-item-wrap">
20
+ <g-picker
21
+ id="cid_type"
22
+ value="{{ formData.cid_type }}"
23
+ label="Type of ID"
24
+ bind:change="handleChange"
25
+ range="{{ cidTypeRange }}"
26
+ actionText=""
27
+ disabled
28
+ ></g-picker>
29
+ </view>
30
+
31
+ <view class="form-item-wrap">
32
+ <g-input
33
+ id="id_card_number"
34
+ label="Passport No."
35
+ placeholder=""
36
+ value="{{ formData.id_card_number }}"
37
+ clearable="true"
38
+ bind:change="handleChange"
39
+ />
40
+ </view>
41
+
42
+ <view class="form-item-wrap">
43
+ <g-picker
44
+ id="nation"
45
+ value="{{ formData.nation_name }}"
46
+ label="Nationality"
47
+ mode="none"
48
+ placeholder=""
49
+ bind:tap="handleNationTap"
50
+ actionText="select"
51
+ />
52
+ </view>
53
+
54
+ <view class="form-item-wrap">
55
+ <g-input
56
+ id="sur_name"
57
+ label="Surname"
58
+ placeholder=""
59
+ value="{{ formData.sur_name }}"
60
+ clearable="true"
61
+ bind:change="handleChange"
62
+ />
63
+ </view>
64
+
65
+ <view class="form-item-wrap">
66
+ <g-input
67
+ id="first_name"
68
+ label="Given names"
69
+ placeholder=""
70
+ value="{{ formData.first_name }}"
71
+ clearable="true"
72
+ bind:change="handleChange"
73
+ />
74
+ </view>
75
+
76
+ <view class="form-item-wrap">
77
+ <g-picker
78
+ id="sex"
79
+ value="{{ formData.sex }}"
80
+ label="Gender"
81
+ placeholder=""
82
+ bind:change="handleChange"
83
+ range="{{ sexRange }}"
84
+ actionText="select"
85
+ ></g-picker>
86
+ </view>
87
+
88
+ <view class="form-item-wrap">
89
+ <g-date-picker-en
90
+ id="birthday"
91
+ value="{{ formData.birthday }}"
92
+ label="Date of birth (yyyy/mm/dd)"
93
+ placeholder=""
94
+ maxDate="{{ birthdayMaxDate }}"
95
+ bind:change="handleChange"
96
+ >
97
+ </g-date-picker-en>
98
+ </view>
99
+
100
+ <view class="form-item-wrap">
101
+ <g-date-picker-en
102
+ id="cid_expire_date"
103
+ value="{{ formData.cid_expire_date }}"
104
+ label="Passport expiration date (yyyy/mm/dd)"
105
+ placeholder=""
106
+ minDate="{{ cidExpireMinDate }}"
107
+ bind:change="handleChange"
108
+ >
109
+ </g-date-picker-en>
110
+ </view>
111
+
112
+ <view class="form-item-wrap">
113
+ <g-input
114
+ id="phone"
115
+ label="Mobile phone number"
116
+ placeholder=""
117
+ value="{{ formData.phone }}"
118
+ clearable="true"
119
+ bind:change="handleChange"
120
+ />
121
+ </view>
122
+
123
+ <view class="form-item-wrap">
124
+ <g-picker
125
+ id="verify_expire_time"
126
+ value="{{ formData.verify_expire_time }}"
127
+ label="Login validity period"
128
+ placeholder=""
129
+ bind:change="handleChange"
130
+ range="{{ loginTimeRangeEn }}"
131
+ actionText="select"
132
+ ></g-picker>
133
+ </view>
134
+
135
+ <view class="agree-box" style="margin-top: 50rpx">
136
+ <g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
137
+ <view>
138
+ <view>
139
+ I have read and agree to the
140
+ <text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
141
+ <text> and </text>
142
+ <text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
143
+ </view>
144
+ </view>
145
+ </g-agree>
146
+ </view>
147
+ </g-form>
148
+ </view>
149
+ </view>
150
+
151
+ <!-- 外国人护照核验结果弹窗 -->
152
+ <jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
@@ -1,48 +1,48 @@
1
- /* weapps-plugin-jingtong-verify/pages/face-verify/index.wxss */
2
- @import '../../components/gsd-ui/static/style/main';
3
-
4
- .top-box {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- flex-direction: column;
9
- }
10
-
11
- .title {
12
- font-size: 44rpx;
13
- margin-bottom: 44rpx;
14
- text-align: center;
15
- }
16
-
17
- .en-page .title {
18
- font-size: 36rpx;
19
- }
20
-
21
- .agree-box {
22
- font-size: 28rpx;
23
- color: #979797;
24
- padding: 0 40rpx 0;
25
- }
26
-
27
- .agree-box text {
28
- line-height: 40rpx;
29
- }
30
-
31
- .img-box {
32
- width: 160rpx;
33
- height: 160rpx;
34
- margin: 56rpx 0 52rpx;
35
- }
36
-
37
- .img {
38
- width: 160rpx;
39
- height: 160rpx;
40
- }
41
-
42
- .link {
43
- color: #ce0022;
44
- }
45
-
46
- .content-box {
47
- padding-bottom: 60rpx;
1
+ /* weapps-plugin-jingtong-verify/pages/face-verify/index.wxss */
2
+ @import '../../components/gsd-ui/static/style/main';
3
+
4
+ .top-box {
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ flex-direction: column;
9
+ }
10
+
11
+ .title {
12
+ font-size: 44rpx;
13
+ margin-bottom: 44rpx;
14
+ text-align: center;
15
+ }
16
+
17
+ .en-page .title {
18
+ font-size: 36rpx;
19
+ }
20
+
21
+ .agree-box {
22
+ font-size: 28rpx;
23
+ color: #979797;
24
+ padding: 0 40rpx 0;
25
+ }
26
+
27
+ .agree-box text {
28
+ line-height: 40rpx;
29
+ }
30
+
31
+ .img-box {
32
+ width: 160rpx;
33
+ height: 160rpx;
34
+ margin: 56rpx 0 52rpx;
35
+ }
36
+
37
+ .img {
38
+ width: 160rpx;
39
+ height: 160rpx;
40
+ }
41
+
42
+ .link {
43
+ color: #ce0022;
44
+ }
45
+
46
+ .content-box {
47
+ padding-bottom: 60rpx;
48
48
  }