@conecli/cone-render 0.8.15-taroUpdate.2 → 0.8.15-taroUpdate.5
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/dist/api/index.ts +1 -0
- package/dist/assets/fans_price@2x.png +0 -0
- package/dist/assets/jsbundles_jdreactshopactivitytab_images_samprice.png +0 -0
- package/dist/assets/plus-icon.png +0 -0
- package/dist/common/business.ts +1 -0
- package/dist/common/const.ts +1 -0
- package/dist/common/index.h5.ts +1 -0
- package/dist/common/index.jd.ts +1 -0
- package/dist/common/index.ts +1 -0
- package/dist/common/index.weapp.ts +1 -0
- package/dist/common/wxappApi.ts +1 -0
- package/dist/components/ErrorBoundary.tsx +1 -0
- package/dist/components/base/CommonFloorHead/index.module.scss +146 -0
- package/dist/components/base/CommonFloorHead/index.tsx +1 -0
- package/dist/components/base/CountDown/index.module.scss +47 -0
- package/dist/components/base/CountDown/index.tsx +1 -0
- package/dist/components/base/CustomImageLoadRealInfo/index.module.scss +10 -0
- package/dist/components/base/CustomImageLoadRealInfo/index.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.module.scss +18 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.weapp.tsx +1 -0
- package/dist/components/base/CustomVideo/index.module.scss +66 -0
- package/dist/components/base/CustomVideo/index.tsx +1 -0
- package/dist/components/base/Dialog/const.ts +1 -0
- package/dist/components/base/Dialog/index.module.scss +112 -0
- package/dist/components/base/Dialog/index.tsx +1 -0
- package/dist/components/base/Exposure/index.h5.module.scss +8 -0
- package/dist/components/base/Exposure/index.h5.tsx +1 -0
- package/dist/components/base/Exposure/index.module.scss +11 -0
- package/dist/components/base/Exposure/index.tsx +1 -0
- package/dist/components/base/ExposureSmart/index.h5.module.scss +8 -0
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -0
- package/dist/components/base/ExposureSmart/index.module.scss +11 -0
- package/dist/components/base/ExposureSmart/index.tsx +1 -0
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -0
- package/dist/components/base/InOrOutViewObserver/index.module.scss +0 -0
- package/dist/components/base/InOrOutViewObserver/index.tsx +1 -0
- package/dist/components/base/InViewRender/const.ts +1 -0
- package/dist/components/base/InViewRender/index.module.scss +17 -0
- package/dist/components/base/InViewRender/index.tsx +1 -0
- package/dist/components/base/InViewRender/index.weapp.tsx +1 -0
- package/dist/components/base/JdLoading/index.module.scss +34 -0
- package/dist/components/base/JdLoading/index.tsx +1 -0
- package/dist/components/base/LazyLayoutLoad/const.ts +1 -0
- package/dist/components/base/LazyLayoutLoad/index.module.scss +17 -0
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -0
- package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -0
- package/dist/components/base/LazyLoadImage/const.ts +1 -0
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +24 -0
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -0
- package/dist/components/base/LazyLoadImage/index.module.scss +17 -0
- package/dist/components/base/LazyLoadImage/index.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -0
- package/dist/components/base/NetworkDataError/index.module.scss +76 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -0
- package/dist/components/base/Price/const.ts +1 -0
- package/dist/components/base/Price/index.module.scss +127 -0
- package/dist/components/base/Price/index.tsx +1 -0
- package/dist/components/base/Skeleton/index.module.scss +14 -0
- package/dist/components/base/Skeleton/index.tsx +1 -0
- package/dist/components/base/Skeleton/old.tsx +1 -0
- package/dist/components/base/Skeleton/svg/const.ts +1 -0
- package/dist/components/base/Skeleton/svg/shopHeader.svg +72 -0
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +18 -0
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -0
- package/dist/components/decorate/EmptyFloorModule/index.module.scss +20 -0
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -0
- package/dist/components/decorate/PlaceHolder/index.module.scss +36 -0
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -0
- package/dist/components/floorItem.tsx +1 -0
- package/dist/components/floorItem.weapp.tsx +1 -0
- package/dist/components/isv/Floor/index.module.scss +4 -0
- package/dist/components/isv/Floor/index.tsx +1 -0
- package/dist/config/env.ts +1 -0
- package/dist/config/shop.ts +1 -0
- package/dist/customHooks/useDocumentVisibilitychange.ts +1 -0
- package/dist/interface/common.ts +1 -0
- package/dist/interface/component.ts +1 -0
- package/dist/interface/index.ts +1 -0
- package/dist/interface/jumpEventReport.ts +1 -0
- package/dist/interface/service.ts +1 -0
- package/dist/interface/utils.ts +1 -0
- package/dist/jumpEventReport/base.ts +1 -0
- package/dist/jumpEventReport/const.ts +1 -0
- package/dist/jumpEventReport/createReportFloorData.ts +1 -0
- package/dist/jumpEventReport/index.h5.ts +1 -0
- package/dist/jumpEventReport/index.jd.ts +1 -0
- package/dist/jumpEventReport/index.ts +1 -0
- package/dist/jumpEventReport/index.weapp.ts +1 -0
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -0
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -0
- package/dist/jumpEventReport/jumpUrlConfig/index.h5.ts +1 -0
- package/dist/jumpEventReport/jumpUrlConfig/index.jd.ts +1 -0
- package/dist/jumpEventReport/jumpUrlConfig/index.ts +1 -0
- package/dist/jumpEventReport/jumpUrlConfig/index.weapp.ts +1 -0
- package/dist/jumpEventReport/logEventConfig.ts +1 -0
- package/dist/jumpEventReport/web/report.ts +1 -0
- package/dist/jumpEventReport/web/wqshop.report.ts +1 -0
- package/dist/jumpEventReport/web.base.ts +1 -0
- package/dist/jumpEventReport/web.jd.ts +1 -0
- package/dist/jumpEventReport/web.wxapp.ts +1 -0
- package/dist/libs/taroAppReport.js +4 -0
- package/dist/modules/ContainerFloorList/index.h5.module.scss +43 -0
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -0
- package/dist/modules/ContainerFloorList/index.module.scss +17 -0
- package/dist/modules/ContainerFloorList/index.tsx +1 -0
- package/dist/modules/DecorateContainerFloorList/index.module.scss +34 -0
- package/dist/modules/DecorateContainerFloorList/index.tsx +1 -0
- package/dist/open/api/device.ts +1 -0
- package/dist/open/api/environment.ts +1 -0
- package/dist/open/api/global.ts +1 -0
- package/dist/open/api/index.ts +1 -0
- package/dist/open/api/jump.ts +1 -0
- package/dist/open/api/moduleUtil.ts +1 -0
- package/dist/open/api/storage.ts +1 -0
- package/dist/open/api/track.ts +1 -0
- package/dist/open/api/util.ts +1 -0
- package/dist/open/components/index.ts +1 -0
- package/dist/open/index.ts +1 -0
- package/dist/open/modules/index.ts +1 -0
- package/dist/sass/app.h5.scss +607 -0
- package/dist/sass/app.scss +21 -0
- package/dist/sass/base.scss +351 -0
- package/dist/sass/decorate.h5.scss +33 -0
- package/dist/sass/normalize.scss +261 -0
- package/dist/utils/MQ.ts +1 -0
- package/dist/utils/connectNativeJsBridge.ts +1 -0
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -0
- package/dist/utils/draExceptionAndProfile.ts +1 -0
- package/dist/utils/floorDataFindDataDefines.ts +1 -0
- package/dist/utils/h5Utils.ts +1 -0
- package/dist/utils/index.h5.ts +1 -0
- package/dist/utils/index.ts +1 -0
- package/dist/utils/index.weapp.ts +1 -0
- package/dist/utils/intersectionObserver.ts +1 -0
- package/dist/utils/jm-common.js +1 -0
- package/dist/utils/jm-cookie.js +1 -0
- package/dist/utils/jm-js-agent-jd-profile.js +1 -0
- package/dist/utils/utils.ts +1 -0
- package/dist/wxapp/api/reportGDT.js +1 -0
- package/dist/wxapp/common/JD.js +1 -0
- package/dist/wxapp/common/biz.js +1 -0
- package/dist/wxapp/common/finger-report/index.js +1 -0
- package/dist/wxapp/common/login/login.js +1 -0
- package/dist/wxapp/common/navigator.js +1 -0
- package/dist/wxapp/common/request/params-sign.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -0
- package/dist/wxapp/components/nav-bar/nav-bar.js +1 -0
- package/dist/wxapp/components/nav-bar/nav-bar.json +5 -0
- package/dist/wxapp/components/nav-bar/nav-bar.wxml +0 -0
- package/dist/wxapp/components/nav-bar/nav-bar.wxss +0 -0
- package/dist/wxapp/libs/sha256.js +191 -0
- package/package.json +1 -1
- package/dist/app.js +0 -2
- package/dist/app.js.LICENSE.txt +0 -29
- package/dist/app.json +0 -1
- package/dist/app.wxss +0 -1
- package/dist/base.wxml +0 -855
- package/dist/common.js +0 -1
- package/dist/common.wxss +0 -1
- package/dist/comp.js +0 -1
- package/dist/comp.json +0 -1
- package/dist/comp.wxml +0 -2
- package/dist/pages/index/ContainerFloorListDemo.js +0 -1
- package/dist/pages/index/ContainerFloorListDemo.json +0 -1
- package/dist/pages/index/ContainerFloorListDemo.wxml +0 -2
- package/dist/pages/index/ContainerFloorListDemo.wxss +0 -1
- package/dist/pages/index/DecorateContainerFloorListDemo.js +0 -1
- package/dist/pages/index/DecorateContainerFloorListDemo.json +0 -1
- package/dist/pages/index/DecorateContainerFloorListDemo.wxml +0 -2
- package/dist/pages/index/DecorateContainerFloorListDemo.wxss +0 -1
- package/dist/pages/index/decorate.js +0 -1
- package/dist/pages/index/decorate.json +0 -1
- package/dist/pages/index/decorate.wxml +0 -2
- package/dist/pages/index/index.js +0 -1
- package/dist/pages/index/index.json +0 -1
- package/dist/pages/index/index.wxml +0 -2
- package/dist/project.config.json +0 -13
- package/dist/runtime.js +0 -1
- package/dist/taro.js +0 -1
- package/dist/utils.wxs +0 -39
- package/dist/vendors.js +0 -2
- package/dist/vendors.js.LICENSE.txt +0 -25
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'JDZhengHT-Bold';
|
|
4
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Bold.ttf) format('truetype');
|
|
5
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Bold.ttf')
|
|
6
|
+
format('truetype');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'JDZhengHT-Light';
|
|
13
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
14
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Light.ttf')
|
|
15
|
+
format('truetype');
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'JDZhengHT-Regular';
|
|
22
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
23
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZH_Regular.ttf')
|
|
24
|
+
format('truetype');
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
31
|
+
src: url('https://wq.360buyimg.com/data/ppms/others/JDZhengHei_01_Bold.ttf')
|
|
32
|
+
format('truetype');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.font-jdzht {
|
|
36
|
+
font-family: 'JDZhengHT-Regular';
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.font-jdzht-bold {
|
|
40
|
+
font-family: 'JDZhengHT-Bold';
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.font-jdzht-en-bold {
|
|
44
|
+
font-family: 'JDZhengHT-EN-Bold';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.font-jdzht-light {
|
|
48
|
+
font-family: 'JDZhengHT-Light';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
.border-box {
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.content-box {
|
|
58
|
+
box-sizing: content-box;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
.flexible-box {
|
|
63
|
+
display: flex;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.flexible-box-important {
|
|
67
|
+
display: flex !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
//竖向布局
|
|
71
|
+
.flexible-box-h {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.flexible-box-h-important {
|
|
77
|
+
display: flex !important;
|
|
78
|
+
flex-direction: column !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//垂直居中布局
|
|
82
|
+
.flexible-vertical-center-box {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//水平居中布局
|
|
88
|
+
.flexible-horizontal-center-box {
|
|
89
|
+
display: flex;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
//水平垂直居中布局
|
|
94
|
+
.flexible-center-box {
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
.adaptive-box-flex {
|
|
102
|
+
flex: 1;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.left {
|
|
106
|
+
float: left;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.right {
|
|
110
|
+
float: right;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.vertical-align-t {
|
|
114
|
+
vertical-align: top;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.vertical-align-m {
|
|
118
|
+
vertical-align: middle;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.vertical-align-b {
|
|
122
|
+
vertical-align: bottom;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.margin-lr-auto {
|
|
126
|
+
margin: 0 auto;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.pos-relative {
|
|
130
|
+
position: relative;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.pos-absolute {
|
|
134
|
+
position: absolute;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.pos-fixed {
|
|
138
|
+
position: fixed;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.align-left {
|
|
142
|
+
text-align: left;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.align-center {
|
|
146
|
+
text-align: center;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.align-right {
|
|
150
|
+
text-align: right;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.display-none {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.display-none-important {
|
|
158
|
+
display: none !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.display-block {
|
|
162
|
+
display: block;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.display-block-important {
|
|
166
|
+
display: block !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.display-inline-block {
|
|
170
|
+
display: inline-block;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.display-inline-block-important {
|
|
174
|
+
display: inline-block !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.display-inline {
|
|
178
|
+
display: inline;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.display-inline-important {
|
|
182
|
+
display: inline !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.font-bold {
|
|
186
|
+
font-weight: bold;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.pointer {
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.over-hidden {
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.over-auto {
|
|
198
|
+
overflow: auto;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.over-auto-hidden-x {
|
|
202
|
+
overflow: auto;
|
|
203
|
+
overflow-x: hidden;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.over-auto-hidden-y {
|
|
207
|
+
overflow: auto;
|
|
208
|
+
overflow-y: hidden;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.over-x-auto {
|
|
212
|
+
overflow-x: auto;
|
|
213
|
+
overflow-y: hidden;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.over-y-auto {
|
|
217
|
+
overflow-y: auto;
|
|
218
|
+
overflow-x: hidden;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.font-size-0 {
|
|
222
|
+
font-size: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
.text-ellipsis {
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
white-space: nowrap;
|
|
229
|
+
text-overflow: ellipsis;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.text-ellipsis-2 {
|
|
233
|
+
display: -webkit-box;
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
word-break: break-all;
|
|
236
|
+
text-overflow: ellipsis;
|
|
237
|
+
-webkit-line-clamp: 2;
|
|
238
|
+
|
|
239
|
+
-webkit-box-orient: vertical;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.text-ellipsis-3 {
|
|
243
|
+
display: -webkit-box;
|
|
244
|
+
overflow: hidden;
|
|
245
|
+
word-break: break-all;
|
|
246
|
+
text-overflow: ellipsis;
|
|
247
|
+
-webkit-line-clamp: 3;
|
|
248
|
+
|
|
249
|
+
-webkit-box-orient: vertical;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.text-ellipsis-no-omit {
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
white-space: nowrap;
|
|
255
|
+
text-overflow: clip;
|
|
256
|
+
//display: -webkit-box;
|
|
257
|
+
//overflow: hidden;
|
|
258
|
+
//word-break: break-all;
|
|
259
|
+
//text-overflow: ellipsis;
|
|
260
|
+
//-webkit-line-clamp: 1;
|
|
261
|
+
//
|
|
262
|
+
//-webkit-box-orient: inherit;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.text-ellipsis-1-no-omit {
|
|
266
|
+
display: -webkit-box;
|
|
267
|
+
overflow: hidden;
|
|
268
|
+
word-break: break-all;
|
|
269
|
+
text-overflow: ellipsis;
|
|
270
|
+
-webkit-line-clamp: 1;
|
|
271
|
+
|
|
272
|
+
// -webkit-box-orient: inherit;
|
|
273
|
+
-webkit-box-orient: vertical;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.text-ellipsis-2-no-omit {
|
|
277
|
+
display: -webkit-box;
|
|
278
|
+
overflow: hidden;
|
|
279
|
+
word-break: break-all;
|
|
280
|
+
text-overflow: ellipsis;
|
|
281
|
+
-webkit-line-clamp: 2;
|
|
282
|
+
|
|
283
|
+
-webkit-box-orient: inherit;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.text-ellipsis-3-no-omit {
|
|
287
|
+
display: -webkit-box;
|
|
288
|
+
overflow: hidden;
|
|
289
|
+
word-break: break-all;
|
|
290
|
+
text-overflow: ellipsis;
|
|
291
|
+
-webkit-line-clamp: 3;
|
|
292
|
+
|
|
293
|
+
-webkit-box-orient: inherit;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
.d-half-1px-line, .d-half-1px-border {
|
|
299
|
+
position: relative;
|
|
300
|
+
&:after {
|
|
301
|
+
content: '';
|
|
302
|
+
position: absolute;
|
|
303
|
+
width: 200%;
|
|
304
|
+
height: 200%;
|
|
305
|
+
top: 0;
|
|
306
|
+
left: 0;
|
|
307
|
+
transform-origin: 0 0;
|
|
308
|
+
border: 1PX solid #fa2c19;
|
|
309
|
+
//transform: perspective(1PX) translate3d(0, 0, 0) scale(0.5, 0.5);
|
|
310
|
+
transform: scale(0.5, 0.5);
|
|
311
|
+
border-radius: 1PX;
|
|
312
|
+
box-sizing: border-box;
|
|
313
|
+
pointer-events: none;
|
|
314
|
+
//-webkit-backface-visibility: hidden;
|
|
315
|
+
//-webkit-transform-style: preserve-3d;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
.d-half-1px-line::after {
|
|
321
|
+
border-width: 0;
|
|
322
|
+
border-radius: 0;
|
|
323
|
+
border-bottom-width: 1PX;
|
|
324
|
+
}
|
|
325
|
+
//解决安卓行高不居中对齐问题
|
|
326
|
+
.d-android-vertical-align {
|
|
327
|
+
&:before {
|
|
328
|
+
content: '';
|
|
329
|
+
display: inline-block;
|
|
330
|
+
margin-top: 1px;
|
|
331
|
+
width: 0;
|
|
332
|
+
min-height: 10px;
|
|
333
|
+
height: 100%;
|
|
334
|
+
vertical-align: middle;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.d-button-no-border {
|
|
339
|
+
&::after {
|
|
340
|
+
border: none;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
.d-imag-rendering-crisp-edges {
|
|
346
|
+
image-rendering: -moz-crisp-edges;
|
|
347
|
+
image-rendering: -o-crisp-edges;
|
|
348
|
+
image-rendering: -webkit-optimize-contrast;
|
|
349
|
+
image-rendering: crisp-edges;
|
|
350
|
+
-ms-interpolation-mode: nearest-neighbor;
|
|
351
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
html,
|
|
3
|
+
body {
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
::-webkit-scrollbar {
|
|
6
|
+
display: none;
|
|
7
|
+
width: 0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.taro_router,
|
|
11
|
+
.taro_page {
|
|
12
|
+
height: auto !important;
|
|
13
|
+
max-height: inherit !important;
|
|
14
|
+
overflow: auto !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.taro_router {
|
|
18
|
+
min-height: 800PX;
|
|
19
|
+
// TODO: 这里的全局样式,用于本地开发工具装修端。但经打包后会影响浏览端样式,使得多出一段间距。暂时屏蔽处理
|
|
20
|
+
padding-bottom: 50PX;
|
|
21
|
+
.taro_page {
|
|
22
|
+
position: static!important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
page {
|
|
28
|
+
background: #f2f2f2;
|
|
29
|
+
}
|
|
30
|
+
body {
|
|
31
|
+
background-size: 100% auto;
|
|
32
|
+
background-repeat: repeat-y;
|
|
33
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
html {
|
|
8
|
+
line-height: 1.15;
|
|
9
|
+
-webkit-text-size-adjust: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
main {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
h1 {
|
|
29
|
+
font-size: 2em;
|
|
30
|
+
margin: 0.67em 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
hr {
|
|
38
|
+
box-sizing: content-box;
|
|
39
|
+
height: 0;
|
|
40
|
+
overflow: visible;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
pre {
|
|
46
|
+
font-family: monospace, monospace;
|
|
47
|
+
font-size: 1em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
a {
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
abbr[title] {
|
|
61
|
+
border-bottom: none;
|
|
62
|
+
text-decoration: underline;
|
|
63
|
+
text-decoration: underline dotted;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
b,
|
|
69
|
+
strong {
|
|
70
|
+
font-weight: bolder;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
code,
|
|
76
|
+
kbd,
|
|
77
|
+
samp {
|
|
78
|
+
font-family: monospace, monospace;
|
|
79
|
+
font-size: 1em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
small {
|
|
85
|
+
font-size: 80%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
sub,
|
|
91
|
+
sup {
|
|
92
|
+
font-size: 75%;
|
|
93
|
+
line-height: 0;
|
|
94
|
+
position: relative;
|
|
95
|
+
vertical-align: baseline;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
sub {
|
|
99
|
+
bottom: -0.25em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
sup {
|
|
103
|
+
top: -0.5em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
img {
|
|
111
|
+
border-style: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
button,
|
|
119
|
+
input,
|
|
120
|
+
optgroup,
|
|
121
|
+
select,
|
|
122
|
+
textarea {
|
|
123
|
+
font-family: inherit;
|
|
124
|
+
font-size: 100%;
|
|
125
|
+
line-height: 1.15;
|
|
126
|
+
margin: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
button,
|
|
132
|
+
input {
|
|
133
|
+
overflow: visible;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
button,
|
|
139
|
+
select {
|
|
140
|
+
text-transform: none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
button,
|
|
146
|
+
[type="button"],
|
|
147
|
+
[type="reset"],
|
|
148
|
+
[type="submit"] {
|
|
149
|
+
-webkit-appearance: button;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
button::-moz-focus-inner,
|
|
155
|
+
[type="button"]::-moz-focus-inner,
|
|
156
|
+
[type="reset"]::-moz-focus-inner,
|
|
157
|
+
[type="submit"]::-moz-focus-inner {
|
|
158
|
+
border-style: none;
|
|
159
|
+
padding: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
button:-moz-focusring,
|
|
165
|
+
[type="button"]:-moz-focusring,
|
|
166
|
+
[type="reset"]:-moz-focusring,
|
|
167
|
+
[type="submit"]:-moz-focusring {
|
|
168
|
+
outline: 1px dotted ButtonText;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
fieldset {
|
|
174
|
+
padding: 0.35em 0.75em 0.625em;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
legend {
|
|
180
|
+
box-sizing: border-box;
|
|
181
|
+
color: inherit;
|
|
182
|
+
display: table;
|
|
183
|
+
max-width: 100%;
|
|
184
|
+
padding: 0;
|
|
185
|
+
white-space: normal;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
progress {
|
|
191
|
+
vertical-align: baseline;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
textarea {
|
|
197
|
+
overflow: auto;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
[type="checkbox"],
|
|
203
|
+
[type="radio"] {
|
|
204
|
+
box-sizing: border-box;
|
|
205
|
+
padding: 0;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
[type="number"]::-webkit-inner-spin-button,
|
|
211
|
+
[type="number"]::-webkit-outer-spin-button {
|
|
212
|
+
height: auto;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
[type="search"] {
|
|
218
|
+
-webkit-appearance: textfield;
|
|
219
|
+
outline-offset: -2px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
[type="search"]::-webkit-search-decoration {
|
|
225
|
+
-webkit-appearance: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
::-webkit-file-upload-button {
|
|
231
|
+
-webkit-appearance: button;
|
|
232
|
+
font: inherit;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
details {
|
|
240
|
+
display: block;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
summary {
|
|
246
|
+
display: list-item;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
template {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
[hidden] {
|
|
260
|
+
display: none;
|
|
261
|
+
}
|
package/dist/utils/MQ.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
interface Message {
|
|
2
|
callback:Function
|
|
1
3
|
time: number
|
|
2
4
|
messages: Message[]
|
|
3
5
|
timerId: number
|
|
4
6
|
timeGap: number
|
|
5
7
|
mqDelay: number
|
|
6
8
|
constructor() {
|
|
7
9
|
this.messages = []
|
|
8
10
|
this.timerId = 0
|
|
9
11
|
this.timeGap = 17
|
|
10
12
|
this.mqDelay = 50
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
static getInstance() {
|
|
14
16
|
_mq = new MQ()
|
|
15
17
|
}
|
|
16
18
|
return _mq
|
|
17
19
|
}
|
|
18
20
|
onTimer() {
|
|
19
21
|
const nowTime = Date.now()
|
|
20
22
|
let leftMsgList:Message[] = []
|
|
21
23
|
const msgList = this.messages.filter((item:Message)=>{
|
|
22
24
|
if(nowTime - item.time >= this.mqDelay){
|
|
23
25
|
return true
|
|
24
26
|
}
|
|
25
27
|
else{
|
|
26
28
|
leftMsgList.push(item)
|
|
27
29
|
return false
|
|
28
30
|
}
|
|
29
31
|
})
|
|
30
32
|
msgList.forEach((msg)=>{
|
|
31
33
|
msg.callback()
|
|
32
34
|
})
|
|
33
35
|
this.messages = leftMsgList
|
|
34
36
|
if(this.messages.length>0){
|
|
35
37
|
this.timerId = 0
|
|
36
38
|
this.starTimer()
|
|
37
39
|
}
|
|
38
40
|
else{
|
|
39
41
|
this.stopTimer()
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
starTimer() {
|
|
43
45
|
if(this.timerId== 0){
|
|
44
46
|
this.timerId = setTimeout(()=>{
|
|
45
47
|
this.onTimer()
|
|
46
48
|
}, this.timeGap)
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
stopTimer() {
|
|
50
52
|
if(this.timerId>0){
|
|
51
53
|
clearTimeout(this.timerId)
|
|
52
54
|
}
|
|
53
55
|
this.timerId = 0
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
addCallBack(callback: Function) {
|
|
57
59
|
if(callback){
|
|
58
60
|
const msg: Message = {
|
|
59
61
|
callback,
|
|
60
62
|
time: Date.now()
|
|
61
63
|
}
|
|
62
64
|
this.messages.push(msg)
|
|
63
65
|
this.starTimer()
|
|
64
66
|
}
|
|
65
67
|
}
|
|
66
68
|
clear() {
|
|
67
69
|
this.messages = []
|
|
68
70
|
this.stopTimer()
|
|
69
71
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import Taro from '@tarojs/taro'
|
|
2
|
latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] = {
|
|
1
3
|
displayHeight: 1920,
|
|
2
4
|
offSetY: 0
|
|
3
5
|
}
|
|
4
6
|
console.log('>>>>>>>>>>>>>>>>>>> render taroEventSendPageScrollInfo origin time:', Date.now(), 'res:', options)
|
|
5
7
|
if(options){
|
|
6
8
|
latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] = options
|
|
7
9
|
}
|
|
8
10
|
const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import Taro from "@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import JdDraProfileAndException from "./jm-js-agent-jd-profile";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const FloorMiddleTypeFilterList = ['J_NORMAL_ARRAY', 'J_FLOOR_TITLE']
|