weapps-plugin-jingtong-verify 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.json +41 -33
- package/package.json +20 -20
- package/sdk.js +289 -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/custom-steps/custom-steps.js +41 -0
- package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.json +4 -0
- package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxml +20 -0
- package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxss +112 -0
- 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 +182 -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 +241 -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 +214 -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 +47 -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 +11 -9
- package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
- package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.js +73 -0
- package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.json +4 -0
- package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxml +19 -0
- package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxss +72 -0
- 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 +374 -262
- package/weapps-plugin-jingtong-verify/images/bank-card-verify.png +0 -0
- package/weapps-plugin-jingtong-verify/images/chek_right.png +0 -0
- package/weapps-plugin-jingtong-verify/images/chevron-down.png +0 -0
- package/weapps-plugin-jingtong-verify/images/chevron-up.png +0 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.js +488 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.json +7 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxml +73 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxss +205 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.js +1218 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.json +10 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxml +254 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxss +389 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js +66 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.wxml +2 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.js +461 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.json +8 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxml +67 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxss +231 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.js +477 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.json +12 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxml +120 -0
- package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxss +217 -0
- 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 +1687 -1548
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +516 -504
- package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +185 -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-help/login-help.js +147 -0
- package/weapps-plugin-jingtong-verify/pages/login-help/login-help.json +4 -0
- package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxml +48 -0
- package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxss +166 -0
- 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/login-manage-setting/login-manage-setting.js +156 -0
- package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.json +4 -0
- package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxml +19 -0
- package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxss +69 -0
- 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 +110 -110
- 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 +854 -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 +331 -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/constantVal.js +75 -0
- 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/request.js +604 -1
- package/weapps-plugin-jingtong-verify/utils/rules.js +387 -301
- package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
- package/weapps-plugin-jingtong-verify/utils/validate.js +894 -772
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<view wx:if="showCustomTips" class="custom-tips">
|
|
2
|
+
<g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
|
|
3
|
+
{{customTipsMsg}}
|
|
4
|
+
</g-tips>
|
|
5
|
+
</view>
|
|
6
|
+
<view class="{{ language == 'en' ? 'en-page' : ''}}">
|
|
7
|
+
<view class="top-box">
|
|
8
|
+
<view class="img-box">
|
|
9
|
+
<image src="../../images/bank-card-verify.png" mode="aspectFit" class="img"></image>
|
|
10
|
+
</view>
|
|
11
|
+
<view class="title">{{ language == 'zh_CN' ? '请使用银联卡实人核验能力' : 'Please use UnionPay cards real-person verification capability' }}</view>
|
|
12
|
+
</view>
|
|
13
|
+
|
|
14
|
+
<!-- 中文版:银联卡实人核验能力 -->
|
|
15
|
+
<view class="content-box" wx:if="{{ language === 'zh_CN' }}">
|
|
16
|
+
<g-form
|
|
17
|
+
id="form"
|
|
18
|
+
model="{{ formData }}"
|
|
19
|
+
rules="{{ rules }}"
|
|
20
|
+
validateType="{{ validateType }}"
|
|
21
|
+
primary-text="确定"
|
|
22
|
+
bind:submit="handleFormSubmit"
|
|
23
|
+
>
|
|
24
|
+
<!-- 姓名 -->
|
|
25
|
+
<view class="form-item-wrap">
|
|
26
|
+
<g-input
|
|
27
|
+
id="cardholder_name"
|
|
28
|
+
label="持卡人姓名"
|
|
29
|
+
placeholder="请输入持卡人姓名"
|
|
30
|
+
value="{{ formData.cardholder_name }}"
|
|
31
|
+
class="readonly-input"
|
|
32
|
+
/>
|
|
33
|
+
</view>
|
|
34
|
+
<view class="form-item-wrap">
|
|
35
|
+
<g-picker
|
|
36
|
+
id="cid_type"
|
|
37
|
+
value="{{ formData.cid_type }}"
|
|
38
|
+
label="证件类型"
|
|
39
|
+
required
|
|
40
|
+
actionText=""
|
|
41
|
+
class="readonly-picker"
|
|
42
|
+
range="{{ cidTypeRange }}"
|
|
43
|
+
></g-picker>
|
|
44
|
+
</view>
|
|
45
|
+
<!-- 证件号码 -->
|
|
46
|
+
<view class="form-item-wrap">
|
|
47
|
+
<g-input
|
|
48
|
+
id="id_card_number"
|
|
49
|
+
data-star="strCid"
|
|
50
|
+
label="证件号码"
|
|
51
|
+
placeholder="请输入本人证件号码"
|
|
52
|
+
value="{{ formData.strCid || formData.id_card_number }}"
|
|
53
|
+
showEye="{{ formData.id_card_number }}"
|
|
54
|
+
isOpen="{{ !formData.strCid }}"
|
|
55
|
+
bind:change="handleChange"
|
|
56
|
+
showQuestion="{{ true }}"
|
|
57
|
+
class="readonly-input"
|
|
58
|
+
bind:showQuestionTip="showQuestionTip"
|
|
59
|
+
bind:openEye="openEye"
|
|
60
|
+
/>
|
|
61
|
+
</view>
|
|
62
|
+
<view class="form-item-wrap">
|
|
63
|
+
<g-input
|
|
64
|
+
id="bank_card_account"
|
|
65
|
+
label="该证件的银行卡卡号"
|
|
66
|
+
placeholder="请输入支持银联的银行卡卡号(带有银联标识)"
|
|
67
|
+
placeholder-class="bank-card-verify-placeholder"
|
|
68
|
+
value="{{ formData.bank_card_account }}"
|
|
69
|
+
clearable="true"
|
|
70
|
+
bind:change="handleChange"
|
|
71
|
+
/>
|
|
72
|
+
</view>
|
|
73
|
+
<view class="form-item-wrap">
|
|
74
|
+
<g-input
|
|
75
|
+
id="bank_phone"
|
|
76
|
+
label="绑定手机号"
|
|
77
|
+
placeholder="请输入银行卡绑定的手机号码"
|
|
78
|
+
placeholder-class="bank-card-verify-placeholder"
|
|
79
|
+
value="{{ formData.bank_phone }}"
|
|
80
|
+
clearable="true"
|
|
81
|
+
bind:change="handleChange"
|
|
82
|
+
/>
|
|
83
|
+
</view>
|
|
84
|
+
<view class="describe-box" style="margin-top: 50rpx">
|
|
85
|
+
<view class="special-describe-box" >
|
|
86
|
+
<view>特别说明:</view>
|
|
87
|
+
<view>您提供的银行卡号及其绑定手机号仅用于您的身份认证,北京市大数据中心不会留存你的银行卡信息</view>
|
|
88
|
+
</view>
|
|
89
|
+
</view>
|
|
90
|
+
</g-form>
|
|
91
|
+
<view class="login-help">
|
|
92
|
+
<view class="login-help-btn" bind:tap="handletoLoginHelp">
|
|
93
|
+
登录帮助
|
|
94
|
+
</view>
|
|
95
|
+
</view>
|
|
96
|
+
</view>
|
|
97
|
+
</view>
|
|
98
|
+
<!-- 银行卡认证弹窗 -->
|
|
99
|
+
<to-other-modal
|
|
100
|
+
title="提示"
|
|
101
|
+
Confirm="true"
|
|
102
|
+
Cancel="true"
|
|
103
|
+
ConfirmText="人脸识别"
|
|
104
|
+
CancelText="取消"
|
|
105
|
+
confirmColor="#ce0022"
|
|
106
|
+
cancelColor="#999"
|
|
107
|
+
visible="{{ showToOtherModal }}"
|
|
108
|
+
bindConfirmBtn="handleToFace"
|
|
109
|
+
bindCancelBtn="handleToCancel">
|
|
110
|
+
<view class="leave-modal">
|
|
111
|
+
<view style="color: #666666;">因您多次银行卡验证未能通过,为保障账户安全,银行卡的验证方式已暂时锁定,锁定期间您可使用人脸识别进行验证或待锁定时效(30分钟)结束后,重新尝试银行卡验证。</view>
|
|
112
|
+
</view>
|
|
113
|
+
</to-other-modal>
|
|
114
|
+
<!-- 姓名、证件号码提示弹窗 -->
|
|
115
|
+
<tip-modal
|
|
116
|
+
visible="{{ showTipModal }}"
|
|
117
|
+
bind:cancel="handleModalOk"
|
|
118
|
+
desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您填写变更后的身份信息进行登录。"
|
|
119
|
+
desc2="2、如果当前显示为他人信息(亲属/朋友等),请您删除后使用本人身份信息进行登录。"
|
|
120
|
+
></tip-modal>
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
@import '../../components/gsd-ui/static/style/main';
|
|
2
|
+
|
|
3
|
+
.top-box {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.title {
|
|
11
|
+
font-size: 44rpx;
|
|
12
|
+
margin-bottom: 44rpx;
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.en-page .title {
|
|
17
|
+
font-size: 36rpx;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.info {
|
|
21
|
+
margin-top: 28rpx;
|
|
22
|
+
color: #999999;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.agree-box {
|
|
26
|
+
font-size: 28rpx;
|
|
27
|
+
color: #979797;
|
|
28
|
+
padding: 0 40rpx 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.agree-box text {
|
|
32
|
+
line-height: 40rpx;
|
|
33
|
+
}
|
|
34
|
+
.describe-box {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
padding-left: 20px;
|
|
39
|
+
padding-right: 20px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.special-describe-box {
|
|
43
|
+
display: flex;
|
|
44
|
+
background: #9096a41a;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
border-radius: 8px;
|
|
47
|
+
padding: 12px;
|
|
48
|
+
flex: 1 0 0;
|
|
49
|
+
color: #ce0022;
|
|
50
|
+
font-family: "PingFang SC";
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 500;
|
|
54
|
+
line-height: 24px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.img-box {
|
|
58
|
+
width: 160rpx;
|
|
59
|
+
height: 160rpx;
|
|
60
|
+
margin: 56rpx 0 52rpx;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.img {
|
|
64
|
+
width: 160rpx;
|
|
65
|
+
height: 160rpx;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.link {
|
|
69
|
+
color: #ce0022;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.content-box {
|
|
73
|
+
padding-bottom: 60rpx;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.form-tip {
|
|
77
|
+
/* border: 1px solid red; */
|
|
78
|
+
border-radius: 24rpx;
|
|
79
|
+
background: linear-gradient(180deg, #f1f4f9ff 0%, #faf8f700 100%);
|
|
80
|
+
padding: 32rpx 36rpx 0;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
justify-content: flex-start;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
margin-top: -2rpx;
|
|
86
|
+
}
|
|
87
|
+
.space-block {
|
|
88
|
+
width: 6rpx;
|
|
89
|
+
height: 20rpx;
|
|
90
|
+
background: #ce0022;
|
|
91
|
+
margin-right: 8rpx;
|
|
92
|
+
flex-shrink: 0;
|
|
93
|
+
margin-top: 10rpx;
|
|
94
|
+
}
|
|
95
|
+
.tip-desc {
|
|
96
|
+
color: #27282eff;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
}
|
|
99
|
+
.form-options {
|
|
100
|
+
width: 750rpx;
|
|
101
|
+
background: linear-gradient( #F5FAFF 0%, #F1F7FF 100%);
|
|
102
|
+
padding: 0 20rpx 20rpx;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.foreign-tip {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: row;
|
|
109
|
+
justify-content: space-between;
|
|
110
|
+
align-items: center;
|
|
111
|
+
margin: -12rpx 32rpx 0;
|
|
112
|
+
background: #EEF2F6;
|
|
113
|
+
border-radius: 8rpx;
|
|
114
|
+
padding: 24rpx 16rpx 24rpx 24rpx;
|
|
115
|
+
position: relative;
|
|
116
|
+
}
|
|
117
|
+
.foreign-tip::before {
|
|
118
|
+
content: '';
|
|
119
|
+
position: absolute;
|
|
120
|
+
border-left: 17rpx solid transparent;
|
|
121
|
+
border-top: 17rpx solid transparent;
|
|
122
|
+
border-bottom: 17rpx solid #EEF2F6;
|
|
123
|
+
border-right: 17rpx solid transparent;
|
|
124
|
+
top: -30rpx;
|
|
125
|
+
right: 18rpx;
|
|
126
|
+
|
|
127
|
+
}
|
|
128
|
+
.foreign-tip text {
|
|
129
|
+
font-weight: 500;
|
|
130
|
+
font-size: 26rpx;
|
|
131
|
+
color: #62667A;
|
|
132
|
+
line-height: 30rpx;
|
|
133
|
+
}
|
|
134
|
+
.foreign-tip image {
|
|
135
|
+
width: 40rpx;
|
|
136
|
+
height: 40rpx;
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.form-item__status-message--warn {
|
|
141
|
+
color: #f13939;
|
|
142
|
+
font-size: 30rpx;
|
|
143
|
+
line-height: 40rpx;
|
|
144
|
+
margin-top: 10rpx;
|
|
145
|
+
padding-left: 40rpx;
|
|
146
|
+
padding-right: 40rpx;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.custom-tips {
|
|
150
|
+
position: fixed;
|
|
151
|
+
z-index: 905;
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
top: 0rpx;
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.other-way{
|
|
158
|
+
display: flex;
|
|
159
|
+
align-items: center;
|
|
160
|
+
justify-content: center;
|
|
161
|
+
padding-left:40rpx;
|
|
162
|
+
padding-right: 40rpx;
|
|
163
|
+
padding-top: 30rpx;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.other-way-btn{
|
|
167
|
+
width: 100%;
|
|
168
|
+
height: 76rpx;
|
|
169
|
+
border: 1px solid;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
border-radius: 10rpx;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.login-help{
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
justify-content: center;
|
|
180
|
+
padding-left:40rpx;
|
|
181
|
+
padding-right: 40rpx;
|
|
182
|
+
padding-top: 30rpx;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.login-help-btn{
|
|
186
|
+
width: 100%;
|
|
187
|
+
height: 76rpx;
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
justify-content: center;
|
|
191
|
+
border-radius: 10rpx;
|
|
192
|
+
color: #62667a;
|
|
193
|
+
text-align: center;
|
|
194
|
+
font-family: "PingFang SC";
|
|
195
|
+
font-size: 17px;
|
|
196
|
+
font-style: normal;
|
|
197
|
+
font-weight: 500;
|
|
198
|
+
line-height: normal;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.readonly-input input {
|
|
202
|
+
pointer-events: none !important;
|
|
203
|
+
color: #333 !important;
|
|
204
|
+
}
|
|
205
|
+
/* 保持图标可点击 */
|
|
206
|
+
.readonly-input .input__icon__container {
|
|
207
|
+
pointer-events: auto !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.readonly-picker {
|
|
211
|
+
pointer-events: none !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/* 在现有样式中添加隐藏选择文字 */
|
|
215
|
+
.readonly-picker .picker__action {
|
|
216
|
+
display: none !important;
|
|
217
|
+
}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
// weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js
|
|
2
|
-
const jingtongVerifyRequest = require('../../utils/request')
|
|
3
|
-
const utils = require("../../utils/index")
|
|
4
|
-
const { flow } = require("@wecity/weda-plugin-utils");
|
|
5
|
-
|
|
6
|
-
Page({
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 页面的初始数据
|
|
10
|
-
*/
|
|
11
|
-
data: {
|
|
12
|
-
source: ''
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
// 微信获取手机号码授权
|
|
16
|
-
async getPhoneNumber(e) {
|
|
17
|
-
console.log('微信获取手机号码授权', e)
|
|
18
|
-
if (e.detail.iv) {
|
|
19
|
-
const params = Object.assign(e.detail, {
|
|
20
|
-
source: this.data.source || ''
|
|
21
|
-
})
|
|
22
|
-
const [err1, session] = await utils.awaitTo(jingtongVerifyRequest.loginPhone(params))
|
|
23
|
-
if (err1) {
|
|
24
|
-
wx.showToast({
|
|
25
|
-
title: err1.errmsg || '手机号码获取失败',
|
|
26
|
-
icon: 'none',
|
|
27
|
-
mask: true
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
// 解决用户未找到的问题:跳转到认证信息填写页面
|
|
31
|
-
if (err1.errcode === 2034) {
|
|
32
|
-
setTimeout(() => {
|
|
33
|
-
flow.redirectTo({
|
|
34
|
-
url: '../face-verify/face-verify?needUnite=true'
|
|
35
|
-
})
|
|
36
|
-
}, 1500)
|
|
37
|
-
}
|
|
38
|
-
return
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
wx.showToast({
|
|
42
|
-
title: '绑定成功, 跳转中…',
|
|
43
|
-
icon: 'none',
|
|
44
|
-
duration: 5000,
|
|
45
|
-
mask: true
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
// 登录成功回调 => 业务侧操作事项
|
|
49
|
-
wx.$_ServiceConfiguration && wx.$_ServiceConfiguration.methods && wx.$_ServiceConfiguration.methods._loginSuccessCallBack && wx.$_ServiceConfiguration.methods._loginSuccessCallBack(session)
|
|
50
|
-
|
|
51
|
-
const [err2, token] = await utils.awaitTo(jingtongVerifyRequest.personToken({ source: '8' }))
|
|
52
|
-
if (err2) {
|
|
53
|
-
return
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// 埋点 - 个人用户实体全属性上报
|
|
57
|
-
let last_login_time = utils.getCurrentTime()
|
|
58
|
-
wx.setStorageSync('tif.lastLoginTime', last_login_time)
|
|
59
|
-
const data = Object.assign(session, {
|
|
60
|
-
user_status: '1',
|
|
61
|
-
last_login_time,
|
|
62
|
-
user_date_of_birth: session.cid_type === '111' ? utils.getBirthByIDCard(session.cid) : ''
|
|
63
|
-
})
|
|
64
|
-
await utils.awaitTo(jingtongVerifyRequest.userEntityReport(data))
|
|
65
|
-
|
|
66
|
-
// 返回主包
|
|
67
|
-
setTimeout(() => {
|
|
68
|
-
flow.resolve({
|
|
69
|
-
token
|
|
70
|
-
})
|
|
71
|
-
}, 1200)
|
|
72
|
-
} else {
|
|
73
|
-
wx.showToast({
|
|
74
|
-
title: '您的微信版本太低,无法授权',
|
|
75
|
-
icon: 'none'
|
|
76
|
-
})
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
onLoad(options) {
|
|
81
|
-
console.log('参数', options)
|
|
82
|
-
this.setData({
|
|
83
|
-
source: options && options.source || ''
|
|
84
|
-
})
|
|
85
|
-
wx.hideShareMenu()
|
|
86
|
-
}
|
|
1
|
+
// weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js
|
|
2
|
+
const jingtongVerifyRequest = require('../../utils/request')
|
|
3
|
+
const utils = require("../../utils/index")
|
|
4
|
+
const { flow } = require("@wecity/weda-plugin-utils");
|
|
5
|
+
|
|
6
|
+
Page({
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* 页面的初始数据
|
|
10
|
+
*/
|
|
11
|
+
data: {
|
|
12
|
+
source: ''
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
// 微信获取手机号码授权
|
|
16
|
+
async getPhoneNumber(e) {
|
|
17
|
+
console.log('微信获取手机号码授权', e)
|
|
18
|
+
if (e.detail.iv) {
|
|
19
|
+
const params = Object.assign(e.detail, {
|
|
20
|
+
source: this.data.source || ''
|
|
21
|
+
})
|
|
22
|
+
const [err1, session] = await utils.awaitTo(jingtongVerifyRequest.loginPhone(params))
|
|
23
|
+
if (err1) {
|
|
24
|
+
wx.showToast({
|
|
25
|
+
title: err1.errmsg || '手机号码获取失败',
|
|
26
|
+
icon: 'none',
|
|
27
|
+
mask: true
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
// 解决用户未找到的问题:跳转到认证信息填写页面
|
|
31
|
+
if (err1.errcode === 2034) {
|
|
32
|
+
setTimeout(() => {
|
|
33
|
+
flow.redirectTo({
|
|
34
|
+
url: '../face-verify/face-verify?needUnite=true'
|
|
35
|
+
})
|
|
36
|
+
}, 1500)
|
|
37
|
+
}
|
|
38
|
+
return
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
wx.showToast({
|
|
42
|
+
title: '绑定成功, 跳转中…',
|
|
43
|
+
icon: 'none',
|
|
44
|
+
duration: 5000,
|
|
45
|
+
mask: true
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
// 登录成功回调 => 业务侧操作事项
|
|
49
|
+
wx.$_ServiceConfiguration && wx.$_ServiceConfiguration.methods && wx.$_ServiceConfiguration.methods._loginSuccessCallBack && wx.$_ServiceConfiguration.methods._loginSuccessCallBack(session)
|
|
50
|
+
|
|
51
|
+
const [err2, token] = await utils.awaitTo(jingtongVerifyRequest.personToken({ source: '8' }))
|
|
52
|
+
if (err2) {
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 埋点 - 个人用户实体全属性上报
|
|
57
|
+
let last_login_time = utils.getCurrentTime()
|
|
58
|
+
wx.setStorageSync('tif.lastLoginTime', last_login_time)
|
|
59
|
+
const data = Object.assign(session, {
|
|
60
|
+
user_status: '1',
|
|
61
|
+
last_login_time,
|
|
62
|
+
user_date_of_birth: session.cid_type === '111' ? utils.getBirthByIDCard(session.cid) : ''
|
|
63
|
+
})
|
|
64
|
+
await utils.awaitTo(jingtongVerifyRequest.userEntityReport(data))
|
|
65
|
+
|
|
66
|
+
// 返回主包
|
|
67
|
+
setTimeout(() => {
|
|
68
|
+
flow.resolve({
|
|
69
|
+
token
|
|
70
|
+
})
|
|
71
|
+
}, 1200)
|
|
72
|
+
} else {
|
|
73
|
+
wx.showToast({
|
|
74
|
+
title: '您的微信版本太低,无法授权',
|
|
75
|
+
icon: 'none'
|
|
76
|
+
})
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
onLoad(options) {
|
|
81
|
+
console.log('参数', options)
|
|
82
|
+
this.setData({
|
|
83
|
+
source: options && options.source || ''
|
|
84
|
+
})
|
|
85
|
+
wx.hideShareMenu()
|
|
86
|
+
}
|
|
87
87
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {
|
|
4
|
-
"g-button-group": "../../components/gsd-ui/g-button-group"
|
|
5
|
-
},
|
|
6
|
-
"navigationBarTitleText": "手机绑定"
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"g-button-group": "../../components/gsd-ui/g-button-group"
|
|
5
|
+
},
|
|
6
|
+
"navigationBarTitleText": "手机绑定"
|
|
7
7
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<view>
|
|
2
|
-
<view class="top-box">
|
|
3
|
-
<image src="../../images/phone.png" mode="" style="width: 272px; height: 229px;"/>
|
|
4
|
-
</view>
|
|
5
|
-
<view class="content-box">
|
|
6
|
-
<text class="title">绑定手机号码</text>
|
|
7
|
-
<view class="important-info">
|
|
8
|
-
(同步注册到北京市统一身份认证平台)
|
|
9
|
-
</view>
|
|
10
|
-
<view class="info">
|
|
11
|
-
信息将与当前微信绑定(用于身份验证)
|
|
12
|
-
</view>
|
|
13
|
-
</view>
|
|
14
|
-
<view class="bottom-box">
|
|
15
|
-
<button class="btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
|
|
16
|
-
<text class="cn">从微信获取,完成绑定</text>
|
|
17
|
-
<text class="en">You can access your phone number from WeChat to complete the bonding process.</text>
|
|
18
|
-
</button>
|
|
19
|
-
</view>
|
|
20
|
-
</view>
|
|
1
|
+
<view>
|
|
2
|
+
<view class="top-box">
|
|
3
|
+
<image src="../../images/phone.png" mode="" style="width: 272px; height: 229px;"/>
|
|
4
|
+
</view>
|
|
5
|
+
<view class="content-box">
|
|
6
|
+
<text class="title">绑定手机号码</text>
|
|
7
|
+
<view class="important-info">
|
|
8
|
+
(同步注册到北京市统一身份认证平台)
|
|
9
|
+
</view>
|
|
10
|
+
<view class="info">
|
|
11
|
+
信息将与当前微信绑定(用于身份验证)
|
|
12
|
+
</view>
|
|
13
|
+
</view>
|
|
14
|
+
<view class="bottom-box">
|
|
15
|
+
<button class="btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
|
|
16
|
+
<text class="cn">从微信获取,完成绑定</text>
|
|
17
|
+
<text class="en">You can access your phone number from WeChat to complete the bonding process.</text>
|
|
18
|
+
</button>
|
|
19
|
+
</view>
|
|
20
|
+
</view>
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
/* weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss */
|
|
2
|
-
.top-box {
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
margin-top: 166rpx;
|
|
6
|
-
}
|
|
7
|
-
.btn {
|
|
8
|
-
background: rgba(206, 0, 34, 1);
|
|
9
|
-
color: #ffffff;
|
|
10
|
-
width: 686rpx !important;
|
|
11
|
-
border-radius: 16rpx;
|
|
12
|
-
padding: 24rpx 28rpx;
|
|
13
|
-
box-shadow: 0 24rpx 48rpx 0 rgba(206, 0, 34, 0.15);
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
align-items: center;
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
}
|
|
20
|
-
.btn .cn {
|
|
21
|
-
font-size: 34rpx;
|
|
22
|
-
line-height: 40rpx;
|
|
23
|
-
margin-bottom: 12rpx;
|
|
24
|
-
}
|
|
25
|
-
.btn .en {
|
|
26
|
-
font-size: 26rpx;
|
|
27
|
-
line-height: 30rpx;
|
|
28
|
-
}
|
|
29
|
-
.content-box {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
align-items: center;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
}
|
|
35
|
-
.title {
|
|
36
|
-
font-size: 48rpx;
|
|
37
|
-
color: #27282E;
|
|
38
|
-
font-weight: 400;
|
|
39
|
-
margin-bottom: 12rpx;
|
|
40
|
-
}
|
|
41
|
-
.important-info {
|
|
42
|
-
color: rgba(206, 0, 34, 1);
|
|
43
|
-
font-weight: 400;
|
|
44
|
-
font-size: 32rpx;
|
|
45
|
-
margin-bottom: 20rpx;
|
|
46
|
-
}
|
|
47
|
-
.info {
|
|
48
|
-
color: #999999;
|
|
49
|
-
font-size: 28rpx;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
margin-bottom: 84rpx;
|
|
1
|
+
/* weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss */
|
|
2
|
+
.top-box {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
margin-top: 166rpx;
|
|
6
|
+
}
|
|
7
|
+
.btn {
|
|
8
|
+
background: rgba(206, 0, 34, 1);
|
|
9
|
+
color: #ffffff;
|
|
10
|
+
width: 686rpx !important;
|
|
11
|
+
border-radius: 16rpx;
|
|
12
|
+
padding: 24rpx 28rpx;
|
|
13
|
+
box-shadow: 0 24rpx 48rpx 0 rgba(206, 0, 34, 0.15);
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
font-weight: normal;
|
|
19
|
+
}
|
|
20
|
+
.btn .cn {
|
|
21
|
+
font-size: 34rpx;
|
|
22
|
+
line-height: 40rpx;
|
|
23
|
+
margin-bottom: 12rpx;
|
|
24
|
+
}
|
|
25
|
+
.btn .en {
|
|
26
|
+
font-size: 26rpx;
|
|
27
|
+
line-height: 30rpx;
|
|
28
|
+
}
|
|
29
|
+
.content-box {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
}
|
|
35
|
+
.title {
|
|
36
|
+
font-size: 48rpx;
|
|
37
|
+
color: #27282E;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
margin-bottom: 12rpx;
|
|
40
|
+
}
|
|
41
|
+
.important-info {
|
|
42
|
+
color: rgba(206, 0, 34, 1);
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
font-size: 32rpx;
|
|
45
|
+
margin-bottom: 20rpx;
|
|
46
|
+
}
|
|
47
|
+
.info {
|
|
48
|
+
color: #999999;
|
|
49
|
+
font-size: 28rpx;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
margin-bottom: 84rpx;
|
|
52
52
|
}
|