@conecli/cone-render 0.9.1-shop2.4 → 0.9.1-shop2.40
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/assets/icon_blue_info.svg +1 -0
- 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/pageType.ts +1 -1
- package/dist/common/sgmCustomCode.ts +1 -0
- 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.module.scss +126 -111
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.module.scss +49 -44
- 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/common.ts +1 -0
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +16 -0
- package/dist/components/base/Dialog/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.h5.module.scss +12 -2
- 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.module.scss +2 -2
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +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 +8 -0
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +3 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +8 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/debug/DebugLayout/index.module.scss +67 -0
- package/dist/components/debug/DebugLayout/index.tsx +1 -0
- package/dist/components/debug/DebugLayout/utils.ts +1 -0
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
- 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.pc.ts +1 -1
- 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 +30 -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 +274 -212
- package/dist/sass/base.scss +195 -137
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -0
- package/dist/service/http/index.h5.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -0
- 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/jumpExtMapUtil.js +1 -0
- package/dist/utils/sColor.js +1 -0
- package/dist/utils/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +26 -3
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
- package/dist/utils/memberFormatUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export enum TaroRenderVersion {
|
|
2
1
|
VERSION_OLD = 0,
|
|
3
2
|
VERSION_NEW = 1,
|
|
4
3
|
let result = modularPackResult?.bundleUrl || ''
|
|
5
4
|
if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
|
|
6
5
|
result = modularPackResult?.bundleUrlV2 || ''
|
|
7
6
|
}
|
|
8
7
|
console.log(
|
|
9
8
|
'getBundleUrl taroRenderVersion:' +
|
|
10
9
|
window?.taroRenderVersion +
|
|
11
10
|
',bundleUrl:' +
|
|
12
11
|
result,
|
|
13
12
|
)
|
|
14
13
|
return result
|
|
15
14
|
let result = modularPackResult?.bundleFileName || ''
|
|
16
15
|
if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
|
|
17
16
|
result = modularPackResult?.bundleFileNameV2 || ''
|
|
18
17
|
}
|
|
19
18
|
console.log(
|
|
20
19
|
'getBundleUrl taroRenderVersion:' +
|
|
21
20
|
window?.taroRenderVersion +
|
|
22
21
|
',bundleFileName:' +
|
|
23
22
|
result,
|
|
24
23
|
)
|
|
25
24
|
return result
|
|
26
25
|
if (typeof modularPackResult === 'string') {
|
|
27
26
|
try {
|
|
28
27
|
return JSON.parse(modularPackResult)
|
|
29
28
|
} catch (e) {
|
|
30
29
|
console.error('JSON解析失败', e)
|
|
31
30
|
return {}
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
return modularPackResult || {}
|
|
34
|
+
export enum TaroRenderVersion {
|
|
35
35
|
VERSION_OLD = 0,
|
|
36
36
|
VERSION_NEW = 1,
|
|
37
37
|
let result = modularPackResult?.bundleUrl || ''
|
|
38
38
|
if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
|
|
39
39
|
result = modularPackResult?.bundleUrlV2 || ''
|
|
40
40
|
}
|
|
41
41
|
console.log(
|
|
42
42
|
'getBundleUrl taroRenderVersion:' +
|
|
43
43
|
window?.taroRenderVersion +
|
|
44
44
|
',bundleUrl:' +
|
|
45
45
|
result,
|
|
46
46
|
)
|
|
47
47
|
return result
|
|
48
48
|
let result = modularPackResult?.bundleFileName || ''
|
|
49
49
|
if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
|
|
50
50
|
result = modularPackResult?.bundleFileNameV2 || ''
|
|
51
51
|
}
|
|
52
52
|
console.log(
|
|
53
53
|
'getBundleUrl taroRenderVersion:' +
|
|
54
54
|
window?.taroRenderVersion +
|
|
55
55
|
',bundleFileName:' +
|
|
56
56
|
result,
|
|
57
57
|
)
|
|
58
58
|
return result
|
|
59
59
|
let result = modularPackResult?.taroVersion || ''
|
|
60
60
|
if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
|
|
61
61
|
result = modularPackResult?.taroVersionV2 || ''
|
|
62
62
|
}
|
|
63
63
|
console.log(
|
|
64
64
|
'getTaroVersion taroRenderVersion:' +
|
|
65
65
|
window?.taroRenderVersion +
|
|
66
66
|
',taroVersion:' +
|
|
67
67
|
result,
|
|
68
68
|
)
|
|
69
69
|
return result
|
|
70
70
|
if (typeof modularPackResult === 'string') {
|
|
71
71
|
try {
|
|
72
72
|
return JSON.parse(modularPackResult)
|
|
73
73
|
} catch (e) {
|
|
74
74
|
console.error('JSON解析失败', e)
|
|
75
75
|
return {}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
return modularPackResult || {}
|