weapps-plugin-jingtong-verify 1.6.1 → 1.6.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/app.json +33 -33
- package/package.json +20 -20
- package/sdk.js +309 -289
- package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.js +31 -31
- package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxml +9 -9
- package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxss +65 -65
- package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.js +37 -37
- package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxml +30 -30
- package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxss +79 -79
- package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.js +32 -32
- package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxml +16 -16
- package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxss +57 -57
- package/weapps-plugin-jingtong-verify/components/gsd-lib/anim/anim.min.js +1 -1
- package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/crypto.js +37 -37
- package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/index.js +44 -44
- package/weapps-plugin-jingtong-verify/components/gsd-lib/dayjs/index.js +351 -351
- package/weapps-plugin-jingtong-verify/components/gsd-lib/event/index.js +117 -117
- package/weapps-plugin-jingtong-verify/components/gsd-lib/index.js +63 -63
- package/weapps-plugin-jingtong-verify/components/gsd-lib/map/index.js +10 -10
- package/weapps-plugin-jingtong-verify/components/gsd-lib/map/qmap.js +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-lib/storage/index.js +114 -114
- package/weapps-plugin-jingtong-verify/components/gsd-lib/utils/index.js +218 -218
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formCheck.js +72 -72
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formController.js +47 -47
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/icon.js +11 -11
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/list.js +16 -16
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/navigator.js +33 -33
- package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/primarySecondButton.js +18 -18
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.js +12 -12
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.json +5 -5
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.wxml +15 -15
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.js +47 -47
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +3 -3
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -13
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -30
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -42
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -1
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -418
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +179 -179
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -49
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -14
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +236 -236
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -328
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -21
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -7
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -16
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
- package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -41
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -220
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -174
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +206 -206
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -176
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
- package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
- package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
- package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
- package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
- package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
- package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
- package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
- package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
- package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
- package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
- package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
- package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
- package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -72
- package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +39 -39
- package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
- package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +9 -9
- package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
- package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
- package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
- package/weapps-plugin-jingtong-verify/i18n/rules.js +262 -262
- package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
- package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
- package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -20
- package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -51
- package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
- package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
- package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
- package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
- package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
- package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
- package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
- package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1557 -1547
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +504 -504
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +133 -133
- package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -127
- package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
- package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
- package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
- package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
- package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
- package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
- package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
- package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
- package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
- package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
- package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
- package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +120 -120
- package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
- package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
- package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
- package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +864 -854
- package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +11 -11
- package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +162 -162
- package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +64 -64
- package/weapps-plugin-jingtong-verify/pages/setting/setting.js +328 -328
- package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
- package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
- package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
- package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -306
- package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -7
- package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -142
- package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -110
- package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
- package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
- package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
- package/weapps-plugin-jingtong-verify/utils/country.js +209 -209
- package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
- package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
- package/weapps-plugin-jingtong-verify/utils/rules.js +301 -301
- package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
- package/weapps-plugin-jingtong-verify/utils/validate.js +772 -772
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"usingComponents": {
|
|
3
|
-
"g-tips": "../../components/gsd-ui/g-tips/index",
|
|
4
|
-
"g-form": "../../components/gsd-ui/g-form/index",
|
|
5
|
-
"g-input": "../../components/gsd-ui/g-input/index",
|
|
6
|
-
"g-picker": "../../components/gsd-ui/g-picker/index",
|
|
7
|
-
"g-agree": "../../components/gsd-ui/g-agree/index",
|
|
8
|
-
"g-date-picker-en": "../../components/gsd-ui/g-date-picker-en/index",
|
|
9
|
-
"jt-modal": "../../components/modal/modal"
|
|
10
|
-
},
|
|
11
|
-
"navigationBarTitleText": "Verify"
|
|
1
|
+
{
|
|
2
|
+
"usingComponents": {
|
|
3
|
+
"g-tips": "../../components/gsd-ui/g-tips/index",
|
|
4
|
+
"g-form": "../../components/gsd-ui/g-form/index",
|
|
5
|
+
"g-input": "../../components/gsd-ui/g-input/index",
|
|
6
|
+
"g-picker": "../../components/gsd-ui/g-picker/index",
|
|
7
|
+
"g-agree": "../../components/gsd-ui/g-agree/index",
|
|
8
|
+
"g-date-picker-en": "../../components/gsd-ui/g-date-picker-en/index",
|
|
9
|
+
"jt-modal": "../../components/modal/modal"
|
|
10
|
+
},
|
|
11
|
+
"navigationBarTitleText": "Verify"
|
|
12
12
|
}
|
|
@@ -1,162 +1,162 @@
|
|
|
1
|
-
<view class="en-page">
|
|
2
|
-
<view wx:if="showCustomTips" class="custom-tips">
|
|
3
|
-
<g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
|
|
4
|
-
{{customTipsMsg}}
|
|
5
|
-
</g-tips>
|
|
6
|
-
</view>
|
|
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">Please fill in your personal information</view>
|
|
12
|
-
</view>
|
|
13
|
-
|
|
14
|
-
<!-- 英文版:证件类型为外国人护照 -->
|
|
15
|
-
<view class="content-box">
|
|
16
|
-
<g-form
|
|
17
|
-
id="form"
|
|
18
|
-
model="{{ formData }}"
|
|
19
|
-
rules="{{ rules }}"
|
|
20
|
-
showTips="{{ false }}"
|
|
21
|
-
validateType="{{ validateType }}"
|
|
22
|
-
primary-text="Submit"
|
|
23
|
-
bind:submit="handleFormSubmit"
|
|
24
|
-
>
|
|
25
|
-
<view class="form-item-wrap">
|
|
26
|
-
<g-picker
|
|
27
|
-
id="cid_type"
|
|
28
|
-
value="{{ formData.cid_type }}"
|
|
29
|
-
label="Type of ID"
|
|
30
|
-
bind:change="handleChange"
|
|
31
|
-
range="{{ cidTypeRange }}"
|
|
32
|
-
actionText=""
|
|
33
|
-
disabled
|
|
34
|
-
></g-picker>
|
|
35
|
-
</view>
|
|
36
|
-
|
|
37
|
-
<view class="form-item-wrap">
|
|
38
|
-
<g-input
|
|
39
|
-
id="id_card_number"
|
|
40
|
-
label="Passport No."
|
|
41
|
-
placeholder=""
|
|
42
|
-
value="{{ formData.id_card_number }}"
|
|
43
|
-
clearable="true"
|
|
44
|
-
bind:change="handleChange"
|
|
45
|
-
/>
|
|
46
|
-
</view>
|
|
47
|
-
|
|
48
|
-
<view class="form-item-wrap">
|
|
49
|
-
<g-picker
|
|
50
|
-
id="nation"
|
|
51
|
-
value="{{ formData.nation_name }}"
|
|
52
|
-
label="Nationality"
|
|
53
|
-
mode="none"
|
|
54
|
-
placeholder=""
|
|
55
|
-
bind:tap="handleNationTap"
|
|
56
|
-
actionText="select"
|
|
57
|
-
/>
|
|
58
|
-
</view>
|
|
59
|
-
|
|
60
|
-
<view class="form-item-wrap">
|
|
61
|
-
<g-input
|
|
62
|
-
id="sur_name"
|
|
63
|
-
label="Surname"
|
|
64
|
-
placeholder=""
|
|
65
|
-
value="{{ formData.sur_name }}"
|
|
66
|
-
clearable="true"
|
|
67
|
-
_required="{{ false }}"
|
|
68
|
-
bind:input="handleCustomChange"
|
|
69
|
-
/>
|
|
70
|
-
<view wx:if="!sur_name_state.valid" class="form-item__status-message--warn">{{ sur_name_state.msg }}</view>
|
|
71
|
-
</view>
|
|
72
|
-
|
|
73
|
-
<view class="form-item-wrap">
|
|
74
|
-
<g-input
|
|
75
|
-
id="first_name"
|
|
76
|
-
label="Given names"
|
|
77
|
-
placeholder=""
|
|
78
|
-
value="{{ formData.first_name }}"
|
|
79
|
-
clearable="true"
|
|
80
|
-
_required="{{ false }}"
|
|
81
|
-
bind:input="handleCustomChange"
|
|
82
|
-
/>
|
|
83
|
-
<view wx:if="!first_name_state.valid" class="form-item__status-message--warn">{{ first_name_state.msg }}</view>
|
|
84
|
-
</view>
|
|
85
|
-
|
|
86
|
-
<view class="form-item-wrap">
|
|
87
|
-
<g-picker
|
|
88
|
-
id="sex"
|
|
89
|
-
value="{{ formData.sex }}"
|
|
90
|
-
label="Gender"
|
|
91
|
-
placeholder=""
|
|
92
|
-
bind:change="handleChange"
|
|
93
|
-
range="{{ sexRange }}"
|
|
94
|
-
actionText="select"
|
|
95
|
-
></g-picker>
|
|
96
|
-
</view>
|
|
97
|
-
|
|
98
|
-
<view class="form-item-wrap">
|
|
99
|
-
<g-date-picker-en
|
|
100
|
-
id="birthday"
|
|
101
|
-
value="{{ formData.birthday }}"
|
|
102
|
-
label="Date of birth (yyyy/mm/dd)"
|
|
103
|
-
placeholder=""
|
|
104
|
-
maxDate="{{ birthdayMaxDate }}"
|
|
105
|
-
bind:change="handleChange"
|
|
106
|
-
>
|
|
107
|
-
</g-date-picker-en>
|
|
108
|
-
</view>
|
|
109
|
-
|
|
110
|
-
<view class="form-item-wrap">
|
|
111
|
-
<g-date-picker-en
|
|
112
|
-
id="cid_expire_date"
|
|
113
|
-
value="{{ formData.cid_expire_date }}"
|
|
114
|
-
label="Passport expiration date (yyyy/mm/dd)"
|
|
115
|
-
placeholder=""
|
|
116
|
-
minDate="{{ cidExpireMinDate }}"
|
|
117
|
-
bind:change="handleChange"
|
|
118
|
-
>
|
|
119
|
-
</g-date-picker-en>
|
|
120
|
-
</view>
|
|
121
|
-
|
|
122
|
-
<view class="form-item-wrap">
|
|
123
|
-
<g-input
|
|
124
|
-
id="phone"
|
|
125
|
-
label="Mobile phone number"
|
|
126
|
-
placeholder=""
|
|
127
|
-
value="{{ formData.phone }}"
|
|
128
|
-
clearable="true"
|
|
129
|
-
bind:change="handleChange"
|
|
130
|
-
/>
|
|
131
|
-
</view>
|
|
132
|
-
|
|
133
|
-
<view class="form-item-wrap">
|
|
134
|
-
<g-picker
|
|
135
|
-
id="verify_expire_time"
|
|
136
|
-
value="{{ formData.verify_expire_time }}"
|
|
137
|
-
label="Login validity period"
|
|
138
|
-
placeholder=""
|
|
139
|
-
bind:change="handleChange"
|
|
140
|
-
range="{{ loginTimeRangeEn }}"
|
|
141
|
-
actionText="select"
|
|
142
|
-
></g-picker>
|
|
143
|
-
</view>
|
|
144
|
-
|
|
145
|
-
<view class="agree-box" style="margin-top: 50rpx">
|
|
146
|
-
<g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
|
|
147
|
-
<view>
|
|
148
|
-
<view>
|
|
149
|
-
I have read and agree to the
|
|
150
|
-
<text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
|
|
151
|
-
<text> and </text>
|
|
152
|
-
<text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
|
|
153
|
-
</view>
|
|
154
|
-
</view>
|
|
155
|
-
</g-agree>
|
|
156
|
-
</view>
|
|
157
|
-
</g-form>
|
|
158
|
-
</view>
|
|
159
|
-
</view>
|
|
160
|
-
|
|
161
|
-
<!-- 外国人护照核验结果弹窗 -->
|
|
162
|
-
<jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
|
|
1
|
+
<view class="en-page">
|
|
2
|
+
<view wx:if="showCustomTips" class="custom-tips">
|
|
3
|
+
<g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
|
|
4
|
+
{{customTipsMsg}}
|
|
5
|
+
</g-tips>
|
|
6
|
+
</view>
|
|
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">Please fill in your personal information</view>
|
|
12
|
+
</view>
|
|
13
|
+
|
|
14
|
+
<!-- 英文版:证件类型为外国人护照 -->
|
|
15
|
+
<view class="content-box">
|
|
16
|
+
<g-form
|
|
17
|
+
id="form"
|
|
18
|
+
model="{{ formData }}"
|
|
19
|
+
rules="{{ rules }}"
|
|
20
|
+
showTips="{{ false }}"
|
|
21
|
+
validateType="{{ validateType }}"
|
|
22
|
+
primary-text="Submit"
|
|
23
|
+
bind:submit="handleFormSubmit"
|
|
24
|
+
>
|
|
25
|
+
<view class="form-item-wrap">
|
|
26
|
+
<g-picker
|
|
27
|
+
id="cid_type"
|
|
28
|
+
value="{{ formData.cid_type }}"
|
|
29
|
+
label="Type of ID"
|
|
30
|
+
bind:change="handleChange"
|
|
31
|
+
range="{{ cidTypeRange }}"
|
|
32
|
+
actionText=""
|
|
33
|
+
disabled
|
|
34
|
+
></g-picker>
|
|
35
|
+
</view>
|
|
36
|
+
|
|
37
|
+
<view class="form-item-wrap">
|
|
38
|
+
<g-input
|
|
39
|
+
id="id_card_number"
|
|
40
|
+
label="Passport No."
|
|
41
|
+
placeholder=""
|
|
42
|
+
value="{{ formData.id_card_number }}"
|
|
43
|
+
clearable="true"
|
|
44
|
+
bind:change="handleChange"
|
|
45
|
+
/>
|
|
46
|
+
</view>
|
|
47
|
+
|
|
48
|
+
<view class="form-item-wrap">
|
|
49
|
+
<g-picker
|
|
50
|
+
id="nation"
|
|
51
|
+
value="{{ formData.nation_name }}"
|
|
52
|
+
label="Nationality"
|
|
53
|
+
mode="none"
|
|
54
|
+
placeholder=""
|
|
55
|
+
bind:tap="handleNationTap"
|
|
56
|
+
actionText="select"
|
|
57
|
+
/>
|
|
58
|
+
</view>
|
|
59
|
+
|
|
60
|
+
<view class="form-item-wrap">
|
|
61
|
+
<g-input
|
|
62
|
+
id="sur_name"
|
|
63
|
+
label="Surname"
|
|
64
|
+
placeholder=""
|
|
65
|
+
value="{{ formData.sur_name }}"
|
|
66
|
+
clearable="true"
|
|
67
|
+
_required="{{ false }}"
|
|
68
|
+
bind:input="handleCustomChange"
|
|
69
|
+
/>
|
|
70
|
+
<view wx:if="!sur_name_state.valid" class="form-item__status-message--warn">{{ sur_name_state.msg }}</view>
|
|
71
|
+
</view>
|
|
72
|
+
|
|
73
|
+
<view class="form-item-wrap">
|
|
74
|
+
<g-input
|
|
75
|
+
id="first_name"
|
|
76
|
+
label="Given names"
|
|
77
|
+
placeholder=""
|
|
78
|
+
value="{{ formData.first_name }}"
|
|
79
|
+
clearable="true"
|
|
80
|
+
_required="{{ false }}"
|
|
81
|
+
bind:input="handleCustomChange"
|
|
82
|
+
/>
|
|
83
|
+
<view wx:if="!first_name_state.valid" class="form-item__status-message--warn">{{ first_name_state.msg }}</view>
|
|
84
|
+
</view>
|
|
85
|
+
|
|
86
|
+
<view class="form-item-wrap">
|
|
87
|
+
<g-picker
|
|
88
|
+
id="sex"
|
|
89
|
+
value="{{ formData.sex }}"
|
|
90
|
+
label="Gender"
|
|
91
|
+
placeholder=""
|
|
92
|
+
bind:change="handleChange"
|
|
93
|
+
range="{{ sexRange }}"
|
|
94
|
+
actionText="select"
|
|
95
|
+
></g-picker>
|
|
96
|
+
</view>
|
|
97
|
+
|
|
98
|
+
<view class="form-item-wrap">
|
|
99
|
+
<g-date-picker-en
|
|
100
|
+
id="birthday"
|
|
101
|
+
value="{{ formData.birthday }}"
|
|
102
|
+
label="Date of birth (yyyy/mm/dd)"
|
|
103
|
+
placeholder=""
|
|
104
|
+
maxDate="{{ birthdayMaxDate }}"
|
|
105
|
+
bind:change="handleChange"
|
|
106
|
+
>
|
|
107
|
+
</g-date-picker-en>
|
|
108
|
+
</view>
|
|
109
|
+
|
|
110
|
+
<view class="form-item-wrap">
|
|
111
|
+
<g-date-picker-en
|
|
112
|
+
id="cid_expire_date"
|
|
113
|
+
value="{{ formData.cid_expire_date }}"
|
|
114
|
+
label="Passport expiration date (yyyy/mm/dd)"
|
|
115
|
+
placeholder=""
|
|
116
|
+
minDate="{{ cidExpireMinDate }}"
|
|
117
|
+
bind:change="handleChange"
|
|
118
|
+
>
|
|
119
|
+
</g-date-picker-en>
|
|
120
|
+
</view>
|
|
121
|
+
|
|
122
|
+
<view class="form-item-wrap">
|
|
123
|
+
<g-input
|
|
124
|
+
id="phone"
|
|
125
|
+
label="Mobile phone number"
|
|
126
|
+
placeholder=""
|
|
127
|
+
value="{{ formData.phone }}"
|
|
128
|
+
clearable="true"
|
|
129
|
+
bind:change="handleChange"
|
|
130
|
+
/>
|
|
131
|
+
</view>
|
|
132
|
+
|
|
133
|
+
<view class="form-item-wrap">
|
|
134
|
+
<g-picker
|
|
135
|
+
id="verify_expire_time"
|
|
136
|
+
value="{{ formData.verify_expire_time }}"
|
|
137
|
+
label="Login validity period"
|
|
138
|
+
placeholder=""
|
|
139
|
+
bind:change="handleChange"
|
|
140
|
+
range="{{ loginTimeRangeEn }}"
|
|
141
|
+
actionText="select"
|
|
142
|
+
></g-picker>
|
|
143
|
+
</view>
|
|
144
|
+
|
|
145
|
+
<view class="agree-box" style="margin-top: 50rpx">
|
|
146
|
+
<g-agree id="agree" bind:change="handleChange" value="{{ formData.agree }}">
|
|
147
|
+
<view>
|
|
148
|
+
<view>
|
|
149
|
+
I have read and agree to the
|
|
150
|
+
<text class='link' catchtap='viewPrivacy' data-file='jtfuwuxieyi' data-name="User Agreement">User Agreement</text>
|
|
151
|
+
<text> and </text>
|
|
152
|
+
<text class='link' catchtap='viewPrivacy' data-file='jtyinsizhengce' data-name="Privacy Policy">Privacy Policy</text>.
|
|
153
|
+
</view>
|
|
154
|
+
</view>
|
|
155
|
+
</g-agree>
|
|
156
|
+
</view>
|
|
157
|
+
</g-form>
|
|
158
|
+
</view>
|
|
159
|
+
</view>
|
|
160
|
+
|
|
161
|
+
<!-- 外国人护照核验结果弹窗 -->
|
|
162
|
+
<jt-modal visible="{{ showModal }}" status="{{ modalStatus }}" bind:ok="handleModalOk"></jt-modal>
|
|
@@ -1,65 +1,65 @@
|
|
|
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
|
-
}
|
|
49
|
-
|
|
50
|
-
.form-item__status-message--warn {
|
|
51
|
-
color: #f13939;
|
|
52
|
-
font-size: 30rpx;
|
|
53
|
-
line-height: 40rpx;
|
|
54
|
-
margin-top: 10rpx;
|
|
55
|
-
padding-left: 40rpx;
|
|
56
|
-
padding-right: 40rpx;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.custom-tips {
|
|
60
|
-
position: fixed;
|
|
61
|
-
z-index: 905;
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
top: 0rpx;
|
|
64
|
-
width: 100%;
|
|
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
|
+
}
|
|
49
|
+
|
|
50
|
+
.form-item__status-message--warn {
|
|
51
|
+
color: #f13939;
|
|
52
|
+
font-size: 30rpx;
|
|
53
|
+
line-height: 40rpx;
|
|
54
|
+
margin-top: 10rpx;
|
|
55
|
+
padding-left: 40rpx;
|
|
56
|
+
padding-right: 40rpx;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.custom-tips {
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 905;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
top: 0rpx;
|
|
64
|
+
width: 100%;
|
|
65
65
|
}
|