@conecli/cone-render 0.9.1-shop2.2 → 0.9.1-shop2.20
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 -1
- package/dist/common/const.ts +1 -1
- package/dist/common/environmentType.ts +1 -0
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/jdplayerSdk.ts +1 -0
- package/dist/common/jssdk.ts +1 -0
- package/dist/common/pageType.ts +1 -0
- package/dist/common/sgmCustomCode.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/token/token.ts +1 -1
- package/dist/common/wxappApi.jd.ts +1 -0
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.jd.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.module.scss +7 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +5 -0
- package/dist/components/base/Dialog/index.tsx +1 -1
- package/dist/components/base/Exposure/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +23 -20
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +17 -0
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +7 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/Price/index.tsx +1 -1
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +32 -2
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
- package/dist/components/floorItem.jd.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/floorItem.weapp.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/interface/utils.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -0
- package/dist/jumpEventReport/web.tjapp.ts +1 -0
- package/dist/jumpEventReport/web.tjm.ts +1 -0
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.module.scss +18 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/device.ts +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/jump copy.ts +1 -1
- package/dist/open/api/request.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/sass/app.h5.scss +49 -3
- package/dist/sass/base.scss +57 -0
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/draExceptionAndProfile.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +1 -1
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
package/dist/open/api/track.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
|
|
2
1
|
initOpenTriggerExposure: (type: string) => void
|
|
3
2
|
logPageIdInfo: Object
|
|
4
3
|
logPnameInfo: Object
|
|
5
4
|
getFloorPointIndexClassName: (obj: object, index?: number, tip?: string) => string
|
|
6
5
|
initOpenTriggerExposure: () => {},
|
|
7
6
|
initOpenTriggerExposure,
|
|
8
7
|
logPageIdInfo,
|
|
9
8
|
logPnameInfo
|
|
10
9
|
initReportBaseData: ReportContainerData.initReportBaseData.bind(ReportContainerData),
|
|
11
10
|
updateSectionTabDataInfo: ReportContainerData.updateSectionTabDataInfo.bind(ReportContainerData),
|
|
12
11
|
initOpenTriggerExposure: initOpenTriggerExposure.bind(JumpEventReport),
|
|
13
12
|
logPnameInfo: logPnameInfo,
|
|
14
13
|
logPageIdInfo: logPageIdInfo,
|
|
15
14
|
getFloorPointIndexClassName: ReportContainerData.getFloorPointIndexClassName.bind(ReportContainerData)
|
|
15
|
+
import { JumpEventReport, JumpEventReportPromise } from '../../jumpEventReport'
|
|
16
16
|
getCustomClickEventInfo: (obj: object, obj2: object, obj3: object, groupState?: boolean) => object
|
|
17
17
|
getCustomExposureInfo: (obj: object, obj2: object, obj3: object, groupState?: boolean) => object
|
|
18
18
|
initOpenTriggerExposure: (type: string) => void
|
|
19
19
|
logPageIdInfo: Object
|
|
20
20
|
logPnameInfo: Object
|
|
21
21
|
getFloorPointIndexClassName: (obj: object, index?: number, tip?: string) => string
|
|
22
22
|
getIsvClickEventInfo: (obj) => obj,
|
|
23
23
|
getIsvExposureInfo: (obj) => obj,
|
|
24
24
|
getCustomClickEventInfo: (obj) => obj,
|
|
25
25
|
getCustomExposureInfo: (obj) => obj,
|
|
26
26
|
initOpenTriggerExposure: () => {},
|
|
27
27
|
logPageIdInfo: {},
|
|
28
28
|
logPnameInfo: {},
|
|
29
29
|
initOpenTriggerExposure,
|
|
30
30
|
logPageIdInfo,
|
|
31
31
|
logPnameInfo
|
|
32
32
|
getCustomClickEventInfo: ReportContainerData.getCustomClickEventInfo.bind(ReportContainerData),
|
|
33
33
|
getCustomExposureInfo: ReportContainerData.getCustomExposureInfo.bind(ReportContainerData),
|
|
34
34
|
initReportBaseData: ReportContainerData.initReportBaseData.bind(ReportContainerData),
|
|
35
35
|
updateSectionTabDataInfo: ReportContainerData.updateSectionTabDataInfo.bind(ReportContainerData),
|
|
36
36
|
initOpenTriggerExposure: initOpenTriggerExposure.bind(JumpEventReport),
|
|
37
37
|
logPnameInfo: logPnameInfo,
|
|
38
38
|
logPageIdInfo: logPageIdInfo,
|
|
39
39
|
getFloorPointIndexClassName: ReportContainerData.getFloorPointIndexClassName.bind(ReportContainerData)
|
package/dist/open/api/util.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
2
1
|
dateFormat,
|
|
3
2
|
showSuccessToast,
|
|
4
3
|
showFailToast,
|
|
5
4
|
showNormalToast,
|
|
6
5
|
isJdApp,
|
|
7
6
|
isH5AndJdShopView,
|
|
8
7
|
isH5,
|
|
9
8
|
isH5AndJdShopViewH5Scroll
|
|
10
9
|
openTaroEventDialog,
|
|
11
10
|
closeTaroEventDialog,
|
|
12
11
|
dateFormat,
|
|
13
12
|
showSuccessToast,
|
|
14
13
|
showFailToast,
|
|
15
14
|
showNormalToast,
|
|
16
15
|
openDialog: openTaroEventDialog,
|
|
17
16
|
closeDialog: closeTaroEventDialog,
|
|
18
17
|
isJdApp,
|
|
19
18
|
isH5AndJdShopView,
|
|
20
19
|
isH5,
|
|
21
20
|
isH5AndJdShopViewH5Scroll
|
|
21
|
+
import {
|
|
22
22
|
dateFormat,
|
|
23
23
|
showSuccessToast,
|
|
24
24
|
showFailToast,
|
|
25
25
|
showNormalToast,
|
|
26
26
|
isJdApp,
|
|
27
27
|
isH5AndJdShopView,
|
|
28
28
|
isH5,
|
|
29
29
|
isH5AndJdShopViewH5Scroll,
|
|
30
30
|
stopNativeScrollEvent,
|
|
31
31
|
pxTransformFromData
|
|
32
32
|
openTaroEventDialog,
|
|
33
33
|
closeTaroEventDialog,
|
|
34
34
|
dateFormat,
|
|
35
35
|
showSuccessToast,
|
|
36
36
|
showFailToast,
|
|
37
37
|
showNormalToast,
|
|
38
38
|
openDialog: openTaroEventDialog,
|
|
39
39
|
closeDialog: closeTaroEventDialog,
|
|
40
40
|
isJdApp,
|
|
41
41
|
isH5AndJdShopView,
|
|
42
42
|
isH5,
|
|
43
43
|
isH5AndJdShopViewH5Scroll,
|
|
44
44
|
stopNativeScrollEvent,
|
|
45
45
|
pxTransformFromData
|
package/dist/sass/app.h5.scss
CHANGED
|
@@ -148,6 +148,11 @@ img {
|
|
|
148
148
|
//transform: perspective(1px) translate3d(0, 0, 0);
|
|
149
149
|
//-webkit-backface-visibility: hidden;
|
|
150
150
|
//-webkit-transform-style: preserve-3d;
|
|
151
|
+
// 图片加载过慢,在可视化区域等可能导致线出现裂图,然后加载正常url,这里如果是没有src就隐藏
|
|
152
|
+
&[src=""],
|
|
153
|
+
&:not([src]){
|
|
154
|
+
opacity:0;
|
|
155
|
+
}
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
.clearFlow {
|
|
@@ -228,6 +233,11 @@ video {
|
|
|
228
233
|
}
|
|
229
234
|
}
|
|
230
235
|
|
|
236
|
+
// tarojs会在运行时动态给页面写入这个样式,但是动态写入可能导致在写入之前,有些依赖于 taro-view-core 块行为的逻辑出现异常,比如获取一个view的宽度,block情况下应该是有宽度的,但可能会出现获取到的宽度值是0。所以改成样式表里就直接定义好
|
|
237
|
+
taro-view-core {
|
|
238
|
+
display: block;
|
|
239
|
+
}
|
|
240
|
+
|
|
231
241
|
taro-view-core,
|
|
232
242
|
taro-image-core,
|
|
233
243
|
taro-text-core,
|
|
@@ -295,19 +305,55 @@ taro-radio-core {
|
|
|
295
305
|
.weui-check + .weui-icon-checked {
|
|
296
306
|
vertical-align: middle;
|
|
297
307
|
&:before {
|
|
308
|
+
content: "";
|
|
309
|
+
width: 32px;
|
|
310
|
+
height: 32px;
|
|
311
|
+
margin-left: 0;
|
|
298
312
|
margin-top: -4px;
|
|
299
|
-
|
|
313
|
+
border: 2px solid #909090;
|
|
314
|
+
//color: #909090;
|
|
315
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
316
|
+
border-radius: 50%;
|
|
317
|
+
box-sizing: border-box;
|
|
300
318
|
vertical-align: middle;
|
|
301
319
|
}
|
|
302
320
|
}
|
|
303
321
|
.weui-check:checked + .weui-icon-checked {
|
|
304
322
|
&:before {
|
|
305
|
-
|
|
323
|
+
content: "";
|
|
324
|
+
border: none;
|
|
325
|
+
background: url("https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png") no-repeat 0 0 / cover;
|
|
306
326
|
}
|
|
307
327
|
}
|
|
308
328
|
}
|
|
309
329
|
}
|
|
310
|
-
|
|
330
|
+
taro-checkbox-core{
|
|
331
|
+
.taro-checkbox_checked {
|
|
332
|
+
border: 2px solid #909090;
|
|
333
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
334
|
+
border-radius: 50%;
|
|
335
|
+
box-sizing: border-box;
|
|
336
|
+
&:checked {
|
|
337
|
+
border: none;
|
|
338
|
+
background: url("https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png") no-repeat 0 0 / cover;
|
|
339
|
+
&:before {
|
|
340
|
+
content: none;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
.weui-picker{
|
|
346
|
+
font-size: 30px;
|
|
347
|
+
.weui-picker__hd{
|
|
348
|
+
font-size: 32px;
|
|
349
|
+
}
|
|
350
|
+
.weui-picker__action{
|
|
351
|
+
color: #FA2C19;
|
|
352
|
+
&:first-child{
|
|
353
|
+
color: #1A1A1A;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
311
357
|
|
|
312
358
|
.taro__toast {
|
|
313
359
|
transition: none !important;
|
package/dist/sass/base.scss
CHANGED
|
@@ -31,6 +31,39 @@
|
|
|
31
31
|
src: url('https://wq.360buyimg.com/data/ppms/others/JDZhengHei_01_Bold.ttf')
|
|
32
32
|
format('truetype');
|
|
33
33
|
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'JDZhengHeiV2-Bold';
|
|
36
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Bold.otf')
|
|
37
|
+
format('truetype');
|
|
38
|
+
font-weight: normal;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'JDZhengHeiV2-Light';
|
|
44
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Light.ttf) format('truetype');
|
|
45
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Light.otf')
|
|
46
|
+
format('truetype');
|
|
47
|
+
font-weight: normal;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: 'JDZhengHeiV2-Regular';
|
|
53
|
+
//src: url(https://storage.360buyimg.com/jshopstorage/JDZhengHT-Regular.ttf) format('truetype');
|
|
54
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Regular.otf ')
|
|
55
|
+
format('truetype');
|
|
56
|
+
font-weight: normal;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'JDZhengHeiV2-Heavy';
|
|
62
|
+
src: url('https://jscss.360buyimg.com/static-common/font/JDZhengHeiV20_Heavy.otf')
|
|
63
|
+
format('truetype');
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
}
|
|
34
67
|
|
|
35
68
|
.font-jdzht {
|
|
36
69
|
font-family: 'JDZhengHT-Regular';
|
|
@@ -47,7 +80,19 @@
|
|
|
47
80
|
.font-jdzht-light {
|
|
48
81
|
font-family: 'JDZhengHT-Light';
|
|
49
82
|
}
|
|
83
|
+
.font-jdzht-v2 {
|
|
84
|
+
font-family: 'JDZhengHeiV2-Regular';
|
|
85
|
+
}
|
|
86
|
+
.font-jdzht-v2-bold {
|
|
87
|
+
font-family: 'JDZhengHeiV2-Bold';
|
|
88
|
+
}
|
|
89
|
+
.font-jdzht-v2-heavy {
|
|
90
|
+
font-family: 'JDZhengHeiV2-Heavy';
|
|
91
|
+
}
|
|
50
92
|
|
|
93
|
+
.font-jdzht-v2-light {
|
|
94
|
+
font-family: 'JDZhengHeiV2-Light';
|
|
95
|
+
}
|
|
51
96
|
|
|
52
97
|
.border-box {
|
|
53
98
|
box-sizing: border-box;
|
|
@@ -340,3 +385,15 @@
|
|
|
340
385
|
border: none;
|
|
341
386
|
}
|
|
342
387
|
}
|
|
388
|
+
.slide-in-left {
|
|
389
|
+
animation: slide-in-left 1s forwards;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
@keyframes slide-in-left {
|
|
393
|
+
0% {
|
|
394
|
+
transform: translateX(0);
|
|
395
|
+
}
|
|
396
|
+
100% {
|
|
397
|
+
transform: translateX(-270px);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { api } from '../api'
|
|
2
1
|
clientVersion: '11.0.0',
|
|
3
2
|
client: 'wh5',
|
|
4
3
|
area: '1_72_2799_0',
|
|
5
4
|
loginType: '2',
|
|
6
5
|
uuid: UUID,
|
|
7
6
|
functionId: string,
|
|
8
7
|
body = {},
|
|
9
8
|
options = {},
|
|
10
9
|
requestOptions = {},
|
|
11
10
|
const params = Object.assign(
|
|
12
11
|
{},
|
|
13
12
|
{
|
|
14
13
|
t: Date.now(),
|
|
15
14
|
functionId,
|
|
16
15
|
appid: 'shop_m_jd_com',
|
|
17
16
|
body: JSON.stringify(body),
|
|
18
17
|
},
|
|
19
18
|
clientParams,
|
|
20
19
|
options,
|
|
21
20
|
)
|
|
22
21
|
console.warn(
|
|
23
22
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
24
23
|
)
|
|
25
24
|
return http.post(api.apiFunc, params, requestOptions)
|
|
25
|
+
import { api } from '../api'
|
|
26
26
|
clientVersion: '11.0.0',
|
|
27
27
|
client: 'wh5',
|
|
28
28
|
area: '1_72_2799_0',
|
|
29
29
|
uuid: UUID,
|
|
30
30
|
functionId: string,
|
|
31
31
|
body = {},
|
|
32
32
|
options = {},
|
|
33
33
|
requestOptions = {},
|
|
34
34
|
const params = Object.assign(
|
|
35
35
|
{},
|
|
36
36
|
{
|
|
37
37
|
t: Date.now(),
|
|
38
38
|
functionId,
|
|
39
39
|
appid: 'shop_m_jd_com',
|
|
40
40
|
body: JSON.stringify(body),
|
|
41
41
|
},
|
|
42
42
|
clientParams,
|
|
43
43
|
options,
|
|
44
44
|
)
|
|
45
45
|
console.warn(
|
|
46
46
|
'fetchGateway url:' + api.apiFunc + ',functionId:' + params.functionId,
|
|
47
47
|
)
|
|
48
48
|
return http.post(api.apiFunc, params, requestOptions)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const HttpStatus = {
|
|
2
1
|
SUCCESS: 200,
|
|
3
2
|
CREATED: 201,
|
|
4
3
|
ACCEPTED: 202,
|
|
5
4
|
CLIENT_ERROR: 400,
|
|
6
5
|
AUTHENTICATE: 401,
|
|
7
6
|
FORBIDDEN: 403,
|
|
8
7
|
NOT_FOUND: 404,
|
|
9
8
|
SERVER_ERROR: 500,
|
|
10
9
|
BAD_GATEWAY: 502,
|
|
11
10
|
SERVICE_UNAVAILABLE: 503,
|
|
12
11
|
GATEWAY_TIMEOUT: 504,
|
|
13
12
|
[HttpStatus.NOT_FOUND]: '请求资源不存在',
|
|
14
13
|
[HttpStatus.BAD_GATEWAY]: '服务端异常,请稍后重试',
|
|
15
14
|
[HttpStatus.FORBIDDEN]: '没有权限访问',
|
|
16
15
|
[HttpStatus.AUTHENTICATE]: '需要鉴权',
|
|
17
16
|
[HttpStatus.SUCCESS]: '成功',
|
|
18
17
|
'whx_getShopHomeFloorInfo',
|
|
19
18
|
'whx_searchWare',
|
|
20
19
|
'shopGuessYouLike',
|
|
21
20
|
'whx_getMShopCategory',
|
|
22
21
|
'whx_newWareList',
|
|
23
22
|
'getShopHomePromotionWebPage',
|
|
24
23
|
'whx_getShopCampaignPage',
|
|
25
24
|
'whx_getPromotionWares',
|
|
26
25
|
'whx_buyerShowPage',
|
|
27
26
|
'whx_getShopGwredPage',
|
|
28
27
|
'whx_getShopSpeciSecKillPage',
|
|
29
28
|
'whx_getSignInfo',
|
|
30
29
|
'whx_getSignPrize',
|
|
31
30
|
'getShopHomeFloorInfo',
|
|
32
31
|
'shopGuessYouLike',
|
|
33
32
|
'getShopHomePromotionWebPage',
|
|
34
33
|
'getVipDetail',
|
|
35
34
|
'getShopCategory',
|
|
36
35
|
'getShopNavigationCategory',
|
|
37
36
|
'getPagePreview',
|
|
38
37
|
'bmall_cart',
|
|
39
38
|
'bmall_getOmittedProduct',
|
|
40
39
|
'bmall_cartAdd',
|
|
41
40
|
'bmall_cartChange',
|
|
42
41
|
'bmall_cartRemove',
|
|
43
42
|
"whx_getShopHomeFloorInfo",
|
|
44
43
|
"whx_searchWare",
|
|
45
44
|
"shopGuessYouLike",
|
|
46
45
|
"whx_getMShopCategory",
|
|
47
46
|
"whx_newWareList",
|
|
48
47
|
"getShopHomePromotionWebPage",
|
|
49
48
|
"whx_getShopCampaignPage",
|
|
50
49
|
"whx_getPromotionWares",
|
|
51
50
|
"whx_buyerShowPage"
|
|
52
51
|
'getShopHomeFloorInfo',
|
|
53
52
|
'getShopCategory',
|
|
54
53
|
'getShopNavigationCategory',
|
|
55
54
|
'receiveShopCoupon',
|
|
56
55
|
'getShopHomePromotionWebPage',
|
|
57
56
|
'shopGuessYouLike',
|
|
58
57
|
'addRemind',
|
|
59
58
|
'cancelRemind',
|
|
60
59
|
'getVipDetail',
|
|
61
60
|
'shopDetail',
|
|
62
61
|
'address_queryAddress',
|
|
63
62
|
'shopMemberSprintJoinActivity',
|
|
64
63
|
'shopMemberSprintReceivePrize',
|
|
65
64
|
'customerCenterDispatch'
|
|
66
65
|
'bmall_cart',
|
|
67
66
|
'bmall_getOmittedProduct',
|
|
68
67
|
'bmall_cartAdd',
|
|
69
68
|
'bmall_cartChange',
|
|
70
69
|
'bmall_cartRemove',
|
|
71
70
|
SHOP_COLOR_APPID: 'shop_m_jd_com',
|
|
72
71
|
JSHOPX_COLOR_APPID: 'jshopx_jd_com',
|
|
73
72
|
PAGES_COLOR_APPID: 'pages_jd_com',
|
|
74
73
|
B2B_COLOR_APPID: 'b2b',
|
|
75
74
|
SHOP_MEMBER_COLOR_APPID: 'shopmember_m_jd_com'
|
|
75
|
+
export const HttpStatus = {
|
|
76
76
|
SUCCESS: 200,
|
|
77
77
|
CREATED: 201,
|
|
78
78
|
ACCEPTED: 202,
|
|
79
79
|
CLIENT_ERROR: 400,
|
|
80
80
|
AUTHENTICATE: 401,
|
|
81
81
|
FORBIDDEN: 403,
|
|
82
82
|
NOT_FOUND: 404,
|
|
83
83
|
SERVER_ERROR: 500,
|
|
84
84
|
BAD_GATEWAY: 502,
|
|
85
85
|
SERVICE_UNAVAILABLE: 503,
|
|
86
86
|
GATEWAY_TIMEOUT: 504,
|
|
87
87
|
[HttpStatus.NOT_FOUND]: '请求资源不存在',
|
|
88
88
|
[HttpStatus.BAD_GATEWAY]: '服务端异常,请稍后重试',
|
|
89
89
|
[HttpStatus.FORBIDDEN]: '没有权限访问',
|
|
90
90
|
[HttpStatus.AUTHENTICATE]: '需要鉴权',
|
|
91
91
|
[HttpStatus.SUCCESS]: '成功',
|
|
92
92
|
'whx_getShopHomeFloorInfo',
|
|
93
93
|
'whx_searchWare',
|
|
94
94
|
'shopGuessYouLike',
|
|
95
95
|
'whx_getMShopCategory',
|
|
96
96
|
'whx_newWareList',
|
|
97
97
|
'getShopHomePromotionWebPage',
|
|
98
98
|
'whx_getShopCampaignPage',
|
|
99
99
|
'whx_getPromotionWares',
|
|
100
100
|
'whx_buyerShowPage',
|
|
101
101
|
'whx_getShopGwredPage',
|
|
102
102
|
'whx_getShopSpeciSecKillPage',
|
|
103
103
|
'whx_getSignInfo',
|
|
104
104
|
'whx_getSignPrize',
|
|
105
105
|
'getShopHomeFloorInfo',
|
|
106
106
|
'shopGuessYouLike',
|
|
107
107
|
'getShopHomePromotionWebPage',
|
|
108
108
|
'getVipDetail',
|
|
109
109
|
'getShopCategory',
|
|
110
110
|
'getShopNavigationCategory',
|
|
111
111
|
'getPagePreview',
|
|
112
112
|
'bmall_cart',
|
|
113
113
|
'bmall_getOmittedProduct',
|
|
114
114
|
'bmall_cartAdd',
|
|
115
115
|
'bmall_cartChange',
|
|
116
116
|
'bmall_cartRemove',
|
|
117
117
|
"whx_getShopHomeFloorInfo",
|
|
118
118
|
"whx_searchWare",
|
|
119
119
|
"shopGuessYouLike",
|
|
120
120
|
"whx_getMShopCategory",
|
|
121
121
|
"whx_newWareList",
|
|
122
122
|
"getShopHomePromotionWebPage",
|
|
123
123
|
"whx_getShopCampaignPage",
|
|
124
124
|
"whx_getPromotionWares",
|
|
125
125
|
"whx_buyerShowPage"
|
|
126
126
|
'getShopHomeFloorInfo',
|
|
127
127
|
'getShopCategory',
|
|
128
128
|
'getShopNavigationCategory',
|
|
129
129
|
'receiveShopCoupon',
|
|
130
130
|
'getShopHomePromotionWebPage',
|
|
131
131
|
'shopGuessYouLike',
|
|
132
132
|
'addRemind',
|
|
133
133
|
'cancelRemind',
|
|
134
134
|
'getVipDetail',
|
|
135
135
|
'shopDetail',
|
|
136
136
|
'address_queryAddress',
|
|
137
137
|
'shopMemberSprintJoinActivity',
|
|
138
138
|
'shopMemberSprintReceivePrize',
|
|
139
139
|
'customerCenterDispatch'
|
|
140
140
|
'bmall_cart',
|
|
141
141
|
'bmall_getOmittedProduct',
|
|
142
142
|
'bmall_cartAdd',
|
|
143
143
|
'bmall_cartChange',
|
|
144
144
|
'bmall_cartRemove',
|
|
145
145
|
SHOP_COLOR_APPID: 'shop_m_jd_com',
|
|
146
146
|
JSHOPX_COLOR_APPID: 'jshopx_jd_com',
|
|
147
147
|
PAGES_COLOR_APPID: 'pages_jd_com',
|
|
148
148
|
B2B_COLOR_APPID: 'b2b',
|
|
149
149
|
SHOP_MEMBER_COLOR_APPID: 'shopmember_m_jd_com',
|
|
150
150
|
MALL_COLOR_APPID: 'mall_jd_com'
|