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,283 +1,283 @@
|
|
|
1
|
-
button::after, button::before {
|
|
2
|
-
content: '';
|
|
3
|
-
display: none;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
navigator {
|
|
7
|
-
display: inline;
|
|
8
|
-
padding: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
navigator-hover {
|
|
12
|
-
background-color: transparent;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.view--hover {
|
|
16
|
-
background: #c4c4c4;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.border--top {
|
|
20
|
-
position: relative;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.border--top::after {
|
|
24
|
-
height: 1px;
|
|
25
|
-
width: 100%;
|
|
26
|
-
transform: scaleY(0.5);
|
|
27
|
-
left: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
content: '';
|
|
30
|
-
position: absolute;
|
|
31
|
-
background-color: #ebebeb;
|
|
32
|
-
top: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.border--bottom {
|
|
36
|
-
position: relative;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.border--bottom::after {
|
|
40
|
-
height: 1px;
|
|
41
|
-
width: 100%;
|
|
42
|
-
transform: scaleY(0.5);
|
|
43
|
-
left: 0;
|
|
44
|
-
right: 0;
|
|
45
|
-
content: '';
|
|
46
|
-
position: absolute;
|
|
47
|
-
background-color: #ebebeb;
|
|
48
|
-
bottom: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.border--left {
|
|
52
|
-
position: relative;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.border--left::after {
|
|
56
|
-
width: 100%;
|
|
57
|
-
width: 1px;
|
|
58
|
-
transform: scaleX(0.5);
|
|
59
|
-
top: 0;
|
|
60
|
-
bottom: 0;
|
|
61
|
-
content: '';
|
|
62
|
-
position: absolute;
|
|
63
|
-
background-color: #ebebeb;
|
|
64
|
-
left: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.border--left {
|
|
68
|
-
position: relative;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.border--left::after {
|
|
72
|
-
width: 100%;
|
|
73
|
-
width: 1px;
|
|
74
|
-
transform: scaleX(0.5);
|
|
75
|
-
top: 0;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
content: '';
|
|
78
|
-
position: absolute;
|
|
79
|
-
background-color: #ebebeb;
|
|
80
|
-
right: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
button, button[type=default], button[disabled], button[disabled][type=default] {
|
|
84
|
-
font-size: 34rpx;
|
|
85
|
-
line-height: 46rpx;
|
|
86
|
-
border: 1px solid #ebebeb;
|
|
87
|
-
border-radius: 8rpx;
|
|
88
|
-
border-radius: 8rpx;
|
|
89
|
-
font-weight: bold;
|
|
90
|
-
height: 96rpx;
|
|
91
|
-
line-height: 96rpx;
|
|
92
|
-
border-color: #fff;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
button[size=mini] {
|
|
96
|
-
height: 60rpx;
|
|
97
|
-
line-height: 60rpx;
|
|
98
|
-
width: 160rpx;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
button, button[type=default], button[disabled], button[disabled][type=default] {
|
|
102
|
-
background: #fafafa;
|
|
103
|
-
color: #495060;
|
|
104
|
-
border-color: #ebebeb;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
button.button-hover, button[type=default].button-hover, button.button-hover[disabled] {
|
|
108
|
-
background: #c4c4c4;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
button[disabled], button[disabled], button[disabled][type=default] {
|
|
112
|
-
opacity: 0.3;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
button[type=primary], button[loading][type=primary], button.button-hover[loading][type=primary], button[disabled][type=primary] {
|
|
116
|
-
background: #cf0122;
|
|
117
|
-
color: #fff;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
button[type=primary].button-hover, button.button-hover[loading][type=primary] {
|
|
121
|
-
background: #cf0122;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
button[disabled][type=primary] {
|
|
125
|
-
opacity: 0.3;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.g-text--link {
|
|
129
|
-
color: #cf0122;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.table {
|
|
133
|
-
display: table;
|
|
134
|
-
table-layout: fixed;
|
|
135
|
-
width: 100%;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.colgroup {
|
|
139
|
-
display: table-column-group;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.col {
|
|
143
|
-
display: table-column;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.thead {
|
|
147
|
-
display: table-header-group;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.tbody {
|
|
151
|
-
display: table-row-group;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.tr {
|
|
155
|
-
display: table-row;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.th {
|
|
159
|
-
display: table-cell;
|
|
160
|
-
text-align: center;
|
|
161
|
-
word-break: break-all;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.td {
|
|
165
|
-
display: table-cell;
|
|
166
|
-
text-align: center;
|
|
167
|
-
word-break: break-all;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.border--top {
|
|
171
|
-
position: relative;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.border--top::after {
|
|
175
|
-
height: 1px;
|
|
176
|
-
width: 100%;
|
|
177
|
-
transform: scaleY(0.5);
|
|
178
|
-
left: 0;
|
|
179
|
-
right: 0;
|
|
180
|
-
content: '';
|
|
181
|
-
position: absolute;
|
|
182
|
-
background-color: #ebebeb;
|
|
183
|
-
top: 0;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.border--bottom {
|
|
187
|
-
position: relative;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.border--bottom::after {
|
|
191
|
-
height: 1px;
|
|
192
|
-
width: 100%;
|
|
193
|
-
transform: scaleY(0.5);
|
|
194
|
-
left: 0;
|
|
195
|
-
right: 0;
|
|
196
|
-
content: '';
|
|
197
|
-
position: absolute;
|
|
198
|
-
background-color: #ebebeb;
|
|
199
|
-
bottom: 0;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.border--left {
|
|
203
|
-
position: relative;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.border--left::after {
|
|
207
|
-
width: 100%;
|
|
208
|
-
width: 1px;
|
|
209
|
-
transform: scaleX(0.5);
|
|
210
|
-
top: 0;
|
|
211
|
-
bottom: 0;
|
|
212
|
-
content: '';
|
|
213
|
-
position: absolute;
|
|
214
|
-
background-color: #ebebeb;
|
|
215
|
-
left: 0;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.border--left {
|
|
219
|
-
position: relative;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.border--left::after {
|
|
223
|
-
width: 100%;
|
|
224
|
-
width: 1px;
|
|
225
|
-
transform: scaleX(0.5);
|
|
226
|
-
top: 0;
|
|
227
|
-
bottom: 0;
|
|
228
|
-
content: '';
|
|
229
|
-
position: absolute;
|
|
230
|
-
background-color: #ebebeb;
|
|
231
|
-
right: 0;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.preview--normal {
|
|
235
|
-
padding: 20rpx 0;
|
|
236
|
-
margin-left: 40rpx;
|
|
237
|
-
margin-right: 40rpx;
|
|
238
|
-
position: relative;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.preview--normal::after {
|
|
242
|
-
height: 1px;
|
|
243
|
-
width: 100%;
|
|
244
|
-
transform: scaleY(0.5);
|
|
245
|
-
left: 0;
|
|
246
|
-
right: 0;
|
|
247
|
-
content: '';
|
|
248
|
-
position: absolute;
|
|
249
|
-
background-color: #ebebeb;
|
|
250
|
-
bottom: 0;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.preview--grey {
|
|
254
|
-
margin-left: 40rpx;
|
|
255
|
-
margin-right: 40rpx;
|
|
256
|
-
padding: 20rpx 40rpx;
|
|
257
|
-
background: #FAFAFA;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.preview--card {
|
|
261
|
-
font-size: 14px;
|
|
262
|
-
margin: 20rpx 0;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
page {
|
|
266
|
-
font-size: 28rpx;
|
|
267
|
-
font-weight: normal;
|
|
268
|
-
line-height: 38rpx;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.layout-padding {
|
|
272
|
-
padding-left: 40rpx;
|
|
273
|
-
padding-right: 40rpx;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.layout-margin {
|
|
277
|
-
margin-left: 40rpx;
|
|
278
|
-
margin-right: 40rpx;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.view--hover {
|
|
282
|
-
background: #c4c4c4;
|
|
283
|
-
}
|
|
1
|
+
button::after, button::before {
|
|
2
|
+
content: '';
|
|
3
|
+
display: none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
navigator {
|
|
7
|
+
display: inline;
|
|
8
|
+
padding: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
navigator-hover {
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.view--hover {
|
|
16
|
+
background: #c4c4c4;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.border--top {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.border--top::after {
|
|
24
|
+
height: 1px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
transform: scaleY(0.5);
|
|
27
|
+
left: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
content: '';
|
|
30
|
+
position: absolute;
|
|
31
|
+
background-color: #ebebeb;
|
|
32
|
+
top: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.border--bottom {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.border--bottom::after {
|
|
40
|
+
height: 1px;
|
|
41
|
+
width: 100%;
|
|
42
|
+
transform: scaleY(0.5);
|
|
43
|
+
left: 0;
|
|
44
|
+
right: 0;
|
|
45
|
+
content: '';
|
|
46
|
+
position: absolute;
|
|
47
|
+
background-color: #ebebeb;
|
|
48
|
+
bottom: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.border--left {
|
|
52
|
+
position: relative;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.border--left::after {
|
|
56
|
+
width: 100%;
|
|
57
|
+
width: 1px;
|
|
58
|
+
transform: scaleX(0.5);
|
|
59
|
+
top: 0;
|
|
60
|
+
bottom: 0;
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
background-color: #ebebeb;
|
|
64
|
+
left: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.border--left {
|
|
68
|
+
position: relative;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.border--left::after {
|
|
72
|
+
width: 100%;
|
|
73
|
+
width: 1px;
|
|
74
|
+
transform: scaleX(0.5);
|
|
75
|
+
top: 0;
|
|
76
|
+
bottom: 0;
|
|
77
|
+
content: '';
|
|
78
|
+
position: absolute;
|
|
79
|
+
background-color: #ebebeb;
|
|
80
|
+
right: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
button, button[type=default], button[disabled], button[disabled][type=default] {
|
|
84
|
+
font-size: 34rpx;
|
|
85
|
+
line-height: 46rpx;
|
|
86
|
+
border: 1px solid #ebebeb;
|
|
87
|
+
border-radius: 8rpx;
|
|
88
|
+
border-radius: 8rpx;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
height: 96rpx;
|
|
91
|
+
line-height: 96rpx;
|
|
92
|
+
border-color: #fff;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
button[size=mini] {
|
|
96
|
+
height: 60rpx;
|
|
97
|
+
line-height: 60rpx;
|
|
98
|
+
width: 160rpx;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
button, button[type=default], button[disabled], button[disabled][type=default] {
|
|
102
|
+
background: #fafafa;
|
|
103
|
+
color: #495060;
|
|
104
|
+
border-color: #ebebeb;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
button.button-hover, button[type=default].button-hover, button.button-hover[disabled] {
|
|
108
|
+
background: #c4c4c4;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
button[disabled], button[disabled], button[disabled][type=default] {
|
|
112
|
+
opacity: 0.3;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
button[type=primary], button[loading][type=primary], button.button-hover[loading][type=primary], button[disabled][type=primary] {
|
|
116
|
+
background: #cf0122;
|
|
117
|
+
color: #fff;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
button[type=primary].button-hover, button.button-hover[loading][type=primary] {
|
|
121
|
+
background: #cf0122;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
button[disabled][type=primary] {
|
|
125
|
+
opacity: 0.3;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.g-text--link {
|
|
129
|
+
color: #cf0122;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.table {
|
|
133
|
+
display: table;
|
|
134
|
+
table-layout: fixed;
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.colgroup {
|
|
139
|
+
display: table-column-group;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.col {
|
|
143
|
+
display: table-column;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.thead {
|
|
147
|
+
display: table-header-group;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.tbody {
|
|
151
|
+
display: table-row-group;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.tr {
|
|
155
|
+
display: table-row;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.th {
|
|
159
|
+
display: table-cell;
|
|
160
|
+
text-align: center;
|
|
161
|
+
word-break: break-all;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.td {
|
|
165
|
+
display: table-cell;
|
|
166
|
+
text-align: center;
|
|
167
|
+
word-break: break-all;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.border--top {
|
|
171
|
+
position: relative;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.border--top::after {
|
|
175
|
+
height: 1px;
|
|
176
|
+
width: 100%;
|
|
177
|
+
transform: scaleY(0.5);
|
|
178
|
+
left: 0;
|
|
179
|
+
right: 0;
|
|
180
|
+
content: '';
|
|
181
|
+
position: absolute;
|
|
182
|
+
background-color: #ebebeb;
|
|
183
|
+
top: 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.border--bottom {
|
|
187
|
+
position: relative;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.border--bottom::after {
|
|
191
|
+
height: 1px;
|
|
192
|
+
width: 100%;
|
|
193
|
+
transform: scaleY(0.5);
|
|
194
|
+
left: 0;
|
|
195
|
+
right: 0;
|
|
196
|
+
content: '';
|
|
197
|
+
position: absolute;
|
|
198
|
+
background-color: #ebebeb;
|
|
199
|
+
bottom: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.border--left {
|
|
203
|
+
position: relative;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.border--left::after {
|
|
207
|
+
width: 100%;
|
|
208
|
+
width: 1px;
|
|
209
|
+
transform: scaleX(0.5);
|
|
210
|
+
top: 0;
|
|
211
|
+
bottom: 0;
|
|
212
|
+
content: '';
|
|
213
|
+
position: absolute;
|
|
214
|
+
background-color: #ebebeb;
|
|
215
|
+
left: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.border--left {
|
|
219
|
+
position: relative;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.border--left::after {
|
|
223
|
+
width: 100%;
|
|
224
|
+
width: 1px;
|
|
225
|
+
transform: scaleX(0.5);
|
|
226
|
+
top: 0;
|
|
227
|
+
bottom: 0;
|
|
228
|
+
content: '';
|
|
229
|
+
position: absolute;
|
|
230
|
+
background-color: #ebebeb;
|
|
231
|
+
right: 0;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.preview--normal {
|
|
235
|
+
padding: 20rpx 0;
|
|
236
|
+
margin-left: 40rpx;
|
|
237
|
+
margin-right: 40rpx;
|
|
238
|
+
position: relative;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.preview--normal::after {
|
|
242
|
+
height: 1px;
|
|
243
|
+
width: 100%;
|
|
244
|
+
transform: scaleY(0.5);
|
|
245
|
+
left: 0;
|
|
246
|
+
right: 0;
|
|
247
|
+
content: '';
|
|
248
|
+
position: absolute;
|
|
249
|
+
background-color: #ebebeb;
|
|
250
|
+
bottom: 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.preview--grey {
|
|
254
|
+
margin-left: 40rpx;
|
|
255
|
+
margin-right: 40rpx;
|
|
256
|
+
padding: 20rpx 40rpx;
|
|
257
|
+
background: #FAFAFA;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.preview--card {
|
|
261
|
+
font-size: 14px;
|
|
262
|
+
margin: 20rpx 0;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
page {
|
|
266
|
+
font-size: 28rpx;
|
|
267
|
+
font-weight: normal;
|
|
268
|
+
line-height: 38rpx;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.layout-padding {
|
|
272
|
+
padding-left: 40rpx;
|
|
273
|
+
padding-right: 40rpx;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.layout-margin {
|
|
277
|
+
margin-left: 40rpx;
|
|
278
|
+
margin-right: 40rpx;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.view--hover {
|
|
282
|
+
background: #c4c4c4;
|
|
283
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
standardPath(path) {
|
|
3
|
-
const charCodeOfDot = '.'.charCodeAt(0);
|
|
4
|
-
const reEscapeChar = /\\(\\)?/g;
|
|
5
|
-
const rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
6
|
-
const result = [];
|
|
7
|
-
if (path.charCodeAt(0) === charCodeOfDot) {
|
|
8
|
-
result.push('');
|
|
9
|
-
}
|
|
10
|
-
path.replace(rePropName, (match, expression, quote, subString) => {
|
|
11
|
-
let key = match;
|
|
12
|
-
if (quote) {
|
|
13
|
-
key = subString.replace(reEscapeChar, '$1');
|
|
14
|
-
}
|
|
15
|
-
else if (expression) {
|
|
16
|
-
key = expression.trim();
|
|
17
|
-
}
|
|
18
|
-
result.push(key);
|
|
19
|
-
return '';
|
|
20
|
-
});
|
|
21
|
-
return result.join('.');
|
|
22
|
-
},
|
|
23
|
-
get(object, path, defaultValue) {
|
|
24
|
-
if (typeof path === 'undefined') {
|
|
25
|
-
throw new Error('请输入正确的 path 参数!');
|
|
26
|
-
}
|
|
27
|
-
const pathArray = !Array.isArray(path) ? this.standardPath(path).split('.') : path;
|
|
28
|
-
// 如果是 [0].name 这种数组开头的,需要过滤掉第一位
|
|
29
|
-
if (pathArray && pathArray[0] === '') {
|
|
30
|
-
pathArray.splice(0, 1);
|
|
31
|
-
}
|
|
32
|
-
return pathArray.reduce((all, item) => (all || {})[item], object) || defaultValue;
|
|
33
|
-
},
|
|
34
|
-
paths(object, prefixes) {
|
|
35
|
-
let paths = [];
|
|
36
|
-
let value;
|
|
37
|
-
let key;
|
|
38
|
-
prefixes = prefixes || [];
|
|
39
|
-
if (typeof object === 'object') {
|
|
40
|
-
for (key in object) {
|
|
41
|
-
value = object[key];
|
|
42
|
-
if (Array.isArray(value) && value.length && typeof value[0] === 'object' || value && value.toString() === '[object Object]') {
|
|
43
|
-
paths = paths.concat(this.paths(value, prefixes.concat([key])));
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
paths.push(prefixes.concat(key).join('.'));
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
throw new Error('model 属性必须是一个 Object');
|
|
52
|
-
}
|
|
53
|
-
return paths;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
standardPath(path) {
|
|
3
|
+
const charCodeOfDot = '.'.charCodeAt(0);
|
|
4
|
+
const reEscapeChar = /\\(\\)?/g;
|
|
5
|
+
const rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
6
|
+
const result = [];
|
|
7
|
+
if (path.charCodeAt(0) === charCodeOfDot) {
|
|
8
|
+
result.push('');
|
|
9
|
+
}
|
|
10
|
+
path.replace(rePropName, (match, expression, quote, subString) => {
|
|
11
|
+
let key = match;
|
|
12
|
+
if (quote) {
|
|
13
|
+
key = subString.replace(reEscapeChar, '$1');
|
|
14
|
+
}
|
|
15
|
+
else if (expression) {
|
|
16
|
+
key = expression.trim();
|
|
17
|
+
}
|
|
18
|
+
result.push(key);
|
|
19
|
+
return '';
|
|
20
|
+
});
|
|
21
|
+
return result.join('.');
|
|
22
|
+
},
|
|
23
|
+
get(object, path, defaultValue) {
|
|
24
|
+
if (typeof path === 'undefined') {
|
|
25
|
+
throw new Error('请输入正确的 path 参数!');
|
|
26
|
+
}
|
|
27
|
+
const pathArray = !Array.isArray(path) ? this.standardPath(path).split('.') : path;
|
|
28
|
+
// 如果是 [0].name 这种数组开头的,需要过滤掉第一位
|
|
29
|
+
if (pathArray && pathArray[0] === '') {
|
|
30
|
+
pathArray.splice(0, 1);
|
|
31
|
+
}
|
|
32
|
+
return pathArray.reduce((all, item) => (all || {})[item], object) || defaultValue;
|
|
33
|
+
},
|
|
34
|
+
paths(object, prefixes) {
|
|
35
|
+
let paths = [];
|
|
36
|
+
let value;
|
|
37
|
+
let key;
|
|
38
|
+
prefixes = prefixes || [];
|
|
39
|
+
if (typeof object === 'object') {
|
|
40
|
+
for (key in object) {
|
|
41
|
+
value = object[key];
|
|
42
|
+
if (Array.isArray(value) && value.length && typeof value[0] === 'object' || value && value.toString() === '[object Object]') {
|
|
43
|
+
paths = paths.concat(this.paths(value, prefixes.concat([key])));
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
paths.push(prefixes.concat(key).join('.'));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
throw new Error('model 属性必须是一个 Object');
|
|
52
|
+
}
|
|
53
|
+
return paths;
|
|
54
|
+
}
|
|
55
|
+
};
|