@conecli/cone-render 0.9.1-shop2.3 → 0.9.1-shop2.4
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/common/const.ts +1 -1
- 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/jssdk.ts +1 -0
- package/dist/common/pageType.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/components/base/CustomScrollView/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/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +9 -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 +4 -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 +21 -2
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.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/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.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.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/track.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- 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/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/utils.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import taroJdBaseInfo from '../../common'
|
|
1
|
+
import taroJdBaseInfo from '../../common'
|
|
2
2
|
isIosDevice,
|
|
3
3
|
isAndroidDevice,
|
|
4
4
|
isH5,
|
|
5
5
|
isJdApp,
|
|
6
6
|
isJdMin,
|
|
7
7
|
isWxApp,
|
|
8
8
|
isWxMin,
|
|
9
9
|
isWxMinAndWxapp,
|
|
10
10
|
getNetworkType,
|
|
11
11
|
isIos: isIosDevice,
|
|
12
12
|
isAndroid: isAndroidDevice,
|
|
13
13
|
isH5,
|
|
14
14
|
isJdApp,
|
|
15
15
|
isJdMin,
|
|
16
16
|
isWxApp,
|
|
17
17
|
isWxMin,
|
|
18
18
|
isWxJgMin: isWxMinAndWxapp,
|
|
19
19
|
|
|
20
20
|
pageType: pageType,
|
|
21
21
|
return sysInfo.netWorkType
|
package/dist/open/api/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import * as device from './device'
|
|
2
1
|
device,
|
|
3
2
|
environment,
|
|
4
3
|
jump,
|
|
5
4
|
storage,
|
|
6
5
|
util,
|
|
7
6
|
moduleUtil,
|
|
8
7
|
track,
|
|
9
8
|
trackPromise,
|
|
10
9
|
global,
|
|
11
10
|
http,
|
|
12
11
|
shopMember,
|
|
13
12
|
userToken,
|
|
14
13
|
TokenPlatform,
|
|
15
14
|
requestServer,
|
|
16
15
|
isvStorage,
|
|
16
|
+
import * as device from './device'
|
|
17
17
|
device,
|
|
18
18
|
environment,
|
|
19
19
|
jump,
|
|
20
20
|
storage,
|
|
21
21
|
util,
|
|
22
22
|
moduleUtil,
|
|
23
23
|
track,
|
|
24
24
|
trackPromise,
|
|
25
25
|
global,
|
|
26
26
|
http,
|
|
27
27
|
fetchGateway,
|
|
28
28
|
fetchJsonp,
|
|
29
29
|
shopMember,
|
|
30
30
|
userToken,
|
|
31
31
|
TokenPlatform,
|
|
32
32
|
requestServer,
|
|
33
33
|
isvStorage,
|
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
|
initOpenTriggerExposure: () => {}
|
|
23
23
|
initOpenTriggerExposure,
|
|
24
24
|
logPageIdInfo,
|
|
25
25
|
logPnameInfo
|
|
26
26
|
getCustomClickEventInfo: ReportContainerData.getCustomClickEventInfo.bind(ReportContainerData),
|
|
27
27
|
getCustomExposureInfo: ReportContainerData.getCustomExposureInfo.bind(ReportContainerData),
|
|
28
28
|
initReportBaseData: ReportContainerData.initReportBaseData.bind(ReportContainerData),
|
|
29
29
|
updateSectionTabDataInfo: ReportContainerData.updateSectionTabDataInfo.bind(ReportContainerData),
|
|
30
30
|
initOpenTriggerExposure: initOpenTriggerExposure.bind(JumpEventReport),
|
|
31
31
|
logPnameInfo: logPnameInfo,
|
|
32
32
|
logPageIdInfo: logPageIdInfo,
|
|
33
33
|
getFloorPointIndexClassName: ReportContainerData.getFloorPointIndexClassName.bind(ReportContainerData)
|
|
@@ -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'
|