@conecli/cone-render 0.9.1-shop2.1 → 0.9.1-shop2.11
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/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/CommonFloorHead/index.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/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/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 +20 -20
- 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/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.pc.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 +17 -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/jump copy.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 +39 -3
- package/dist/sass/base.scss +12 -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/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
|
openTaroEventDialog,
|
|
31
31
|
closeTaroEventDialog,
|
|
32
32
|
dateFormat,
|
|
33
33
|
showSuccessToast,
|
|
34
34
|
showFailToast,
|
|
35
35
|
showNormalToast,
|
|
36
36
|
openDialog: openTaroEventDialog,
|
|
37
37
|
closeDialog: closeTaroEventDialog,
|
|
38
38
|
isJdApp,
|
|
39
39
|
isH5AndJdShopView,
|
|
40
40
|
isH5,
|
|
41
41
|
isH5AndJdShopViewH5Scroll,
|
package/dist/sass/app.h5.scss
CHANGED
|
@@ -295,19 +295,55 @@ taro-radio-core {
|
|
|
295
295
|
.weui-check + .weui-icon-checked {
|
|
296
296
|
vertical-align: middle;
|
|
297
297
|
&:before {
|
|
298
|
+
content: "";
|
|
299
|
+
width: 32px;
|
|
300
|
+
height: 32px;
|
|
301
|
+
margin-left: 0;
|
|
298
302
|
margin-top: -4px;
|
|
299
|
-
|
|
303
|
+
border: 2px solid #909090;
|
|
304
|
+
//color: #909090;
|
|
305
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
306
|
+
border-radius: 50%;
|
|
307
|
+
box-sizing: border-box;
|
|
300
308
|
vertical-align: middle;
|
|
301
309
|
}
|
|
302
310
|
}
|
|
303
311
|
.weui-check:checked + .weui-icon-checked {
|
|
304
312
|
&:before {
|
|
305
|
-
|
|
313
|
+
content: "";
|
|
314
|
+
border: none;
|
|
315
|
+
background: url("https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png") no-repeat 0 0 / cover;
|
|
306
316
|
}
|
|
307
317
|
}
|
|
308
318
|
}
|
|
309
319
|
}
|
|
310
|
-
|
|
320
|
+
taro-checkbox-core{
|
|
321
|
+
.taro-checkbox_checked {
|
|
322
|
+
border: 2px solid #909090;
|
|
323
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
324
|
+
border-radius: 50%;
|
|
325
|
+
box-sizing: border-box;
|
|
326
|
+
&:checked {
|
|
327
|
+
border: none;
|
|
328
|
+
background: url("https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png") no-repeat 0 0 / cover;
|
|
329
|
+
&:before {
|
|
330
|
+
content: none;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
.weui-picker{
|
|
336
|
+
font-size: 30px;
|
|
337
|
+
.weui-picker__hd{
|
|
338
|
+
font-size: 32px;
|
|
339
|
+
}
|
|
340
|
+
.weui-picker__action{
|
|
341
|
+
color: #FA2C19;
|
|
342
|
+
&:first-child{
|
|
343
|
+
color: #1A1A1A;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
311
347
|
|
|
312
348
|
.taro__toast {
|
|
313
349
|
transition: none !important;
|
package/dist/sass/base.scss
CHANGED
|
@@ -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'
|