@conecli/cone-render 0.8.19 → 0.8.20-beta.2
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/README.md +7 -1
- 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/isvStorage/index.h5.ts +1 -0
- package/dist/common/isvStorage/index.ts +1 -0
- 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/const.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -0
- package/dist/common/token/index.ts +1 -0
- package/dist/common/token/token.jd.ts +1 -0
- package/dist/common/token/token.ts +1 -0
- package/dist/common/token/token.wxapp.ts +1 -0
- package/dist/common/wxappApi.jd.ts +1 -0
- package/dist/common/wxappApi.ts +1 -1
- 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/const.ts +1 -0
- package/dist/components/base/CustomVideo/index.module.scss +40 -64
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +22 -2
- package/dist/components/base/Dialog/index.tsx +1 -1
- package/dist/components/base/Exposure/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/const.ts +1 -0
- package/dist/components/base/ExposureSmart/index.h5.module.scss +30 -6
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.module.scss +20 -9
- 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/InViewRender/index.weapp.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.module.scss +8 -0
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -0
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +24 -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 +128 -69
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/{const.ts → Base/const.ts} +0 -0
- package/dist/components/base/Price/Base/index.module.scss +148 -0
- package/dist/components/base/Price/Base/index.tsx +1 -0
- package/dist/components/base/Price/Double/index.module.scss +190 -0
- package/dist/components/base/Price/Double/index.tsx +1 -0
- package/dist/components/base/Price/index.tsx +1 -1
- package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
- package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
- package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
- package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
- package/dist/components/base/Skeleton/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 +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 -0
- 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 -0
- 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.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 -0
- package/dist/jumpEventReport/web.jdjch.ts +1 -0
- 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/language/en_US.json +231 -0
- package/dist/language/zh_CN.json +231 -0
- package/dist/language/zh_HK.json +231 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -27
- 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/business.ts +1 -0
- package/dist/open/api/jump/index.ts +1 -0
- package/dist/open/api/jump/minPath.ts +1 -0
- package/dist/open/api/jump/side.ts +1 -0
- package/dist/open/api/jump/webUrl.ts +1 -0
- package/dist/open/api/jump copy.ts +1 -0
- package/dist/open/api/moduleUtil.ts +1 -1
- package/dist/open/api/request.ts +1 -0
- package/dist/open/api/shopMember.ts +1 -0
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/userToken.ts +1 -0
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/sass/app.h5.scss +294 -212
- package/dist/sass/base.scss +195 -137
- package/dist/service/bMallConst.ts +1 -0
- package/dist/service/bMallConst.weapp.ts +1 -0
- package/dist/service/fetchGateway.ts +1 -0
- package/dist/service/fetchGateway.weapp.ts +1 -0
- package/dist/service/fetchJsonp.ts +1 -0
- package/dist/service/http/colorSign.ts +1 -0
- package/dist/service/http/colorSign.weapp.ts +1 -0
- package/dist/service/http/const.ts +1 -0
- package/dist/service/http/h5Http.ts +1 -0
- package/dist/service/http/http.ts +1 -0
- package/dist/service/http/httpInterceptors.jd.ts +1 -0
- package/dist/service/http/httpInterceptors.ts +1 -0
- package/dist/service/http/index.h5.ts +1 -0
- package/dist/service/http/index.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -0
- package/dist/service/requestServer.ts +1 -0
- package/dist/service/requestServer.weapp.ts +1 -0
- 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/intersectionObserver.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/jumpExtMapUtil.h5.ts +1 -0
- package/dist/utils/jumpExtMapUtil.ts +1 -0
- package/dist/utils/priceUtils.js +1 -0
- package/dist/utils/ready.ts +1 -0
- package/dist/utils/sColor.js +1 -0
- package/dist/utils/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/api/helper.js +1 -0
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/dist/wxapp/components/launch-app/index.js +1 -0
- package/dist/wxapp/components/launch-app/index.json +5 -0
- package/dist/wxapp/components/launch-app/index.wxml +0 -0
- package/dist/wxapp/components/launch-app/index.wxss +0 -0
- package/dist/wxapp/components/subscribe-guider/helper.js +1 -0
- package/dist/wxapp/components/subscribe-guider/index.js +1 -0
- package/dist/wxapp/components/subscribe-guider/index.json +5 -0
- package/dist/wxapp/components/subscribe-guider/index.wxml +0 -0
- package/dist/wxapp/components/subscribe-guider/index.wxss +0 -0
- package/package.json +145 -114
- package/dist/components/base/Price/index.module.scss +0 -136
- package/dist/components/base/Skeleton/old.tsx +0 -1
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
- package/dist/open/api/jump.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import Taro from '@tarojs/taro'
|
|
2
|
getBundleUrl,
|
|
1
3
|
getBundleFileName,
|
|
2
4
|
formatPackResult,
|
|
3
5
|
getTaroVersion
|
|
4
6
|
const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
|
|
5
7
|
const dataDefines = getFloorDataToDataDefines(floorData)
|
|
6
8
|
const [forceRenderTime,setForceRenderTime] = useState(1)
|
|
7
9
|
useEffect(() => {
|
|
8
10
|
isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
|
|
9
11
|
setForceRenderTime(Date.now())
|
|
10
12
|
})
|
|
11
13
|
return () => {
|
|
12
14
|
isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
|
|
13
15
|
}
|
|
14
16
|
},[])
|
|
15
17
|
|
|
16
18
|
const getFloorSetHeight = (item) => {
|
|
17
19
|
const getHeight = item?.floorExtInfo?.floorHeight
|
|
18
20
|
? Number(item?.floorExtInfo?.floorHeight)
|
|
19
21
|
: 200
|
|
20
22
|
return getHeight > 0 ? getHeight : 200
|
|
21
23
|
}
|
|
22
24
|
console.log(
|
|
23
25
|
'>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
|
|
24
26
|
)
|
|
25
27
|
const renderResult = (() => {
|
|
26
28
|
try {
|
|
27
29
|
console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
|
|
28
30
|
console.log(
|
|
29
31
|
'==========当前业务类型renderSourceType、楼层floorId: ',
|
|
30
32
|
renderSourceType,
|
|
31
33
|
floorData.uid,
|
|
32
34
|
)
|
|
33
35
|
const modularPackResult = floorData?.floorExtInfo?.modularPackResult
|
|
34
36
|
const modularPackResultObj = formatPackResult(modularPackResult)
|
|
35
37
|
const bundleUrl = getBundleUrl(modularPackResultObj)
|
|
36
38
|
const bundleFileName = getBundleFileName(modularPackResultObj)
|
|
37
39
|
const taroVersion = getTaroVersion(modularPackResultObj)
|
|
38
40
|
const opt = {
|
|
39
41
|
msg: `店铺h5楼层隐藏不显示。原因:模块数据不完备,楼层过滤。`,
|
|
40
42
|
floorIdx: floorData?.floorIdx,
|
|
41
43
|
uid: floorData?.uid,
|
|
42
44
|
shopId: floorData?.floorExtInfo?.shopId,
|
|
43
45
|
moduleId: floorData?.moduleId,
|
|
44
46
|
moduleDesignerType: floorData?.floorExtInfo?.moduleDesignerType,
|
|
45
47
|
floorLoadWay: floorData?.floorExtInfo?.floorLoadWay,
|
|
46
48
|
floorKind: floorData?.floorExtInfo?.floorKind,
|
|
47
49
|
middleTemplateId: floorData?.middleTemplateId,
|
|
48
50
|
modularPackResult: {
|
|
49
51
|
bundleUrl,
|
|
50
52
|
taroVersion
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
if (bundleUrl && bundleFileName) {
|
|
54
56
|
let ISVModule =
|
|
55
57
|
taroJdBaseInfo?.renderedIsvComponents[
|
|
56
58
|
`${floorData.uid}_${bundleFileName}`
|
|
57
59
|
] || null
|
|
58
60
|
if (!ISVModule) {
|
|
59
61
|
ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
|
|
60
62
|
console.log(
|
|
61
63
|
'1|加载isv模块==========走lazy import生成新的isv模块react组件',
|
|
62
64
|
bundleFileName,
|
|
63
65
|
)
|
|
64
66
|
taroJdBaseInfo.renderedIsvComponents[
|
|
65
67
|
`${floorData.uid}_${bundleFileName}`
|
|
66
68
|
] = ISVModule
|
|
67
69
|
console.log(
|
|
68
70
|
'2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
|
|
69
71
|
bundleFileName,
|
|
70
72
|
window['taroJshopH5WebpackJsonp'].find(
|
|
71
73
|
(item) => item[0][0] == bundleFileName,
|
|
72
74
|
),
|
|
73
75
|
)
|
|
74
76
|
} else {
|
|
75
77
|
console.log(
|
|
76
78
|
'1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
|
|
77
79
|
taroJdBaseInfo,
|
|
78
80
|
)
|
|
79
81
|
console.log(
|
|
80
82
|
'2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
|
|
81
83
|
taroJdBaseInfo.renderedIsvComponents[
|
|
82
84
|
`${floorData.uid}_${bundleFileName}`
|
|
83
85
|
],
|
|
84
86
|
)
|
|
85
87
|
}
|
|
86
88
|
const _floorHeight = getFloorSetHeight(floorData)
|
|
87
89
|
return (
|
|
88
90
|
<ErrorBoundary {...props}>
|
|
89
91
|
<Suspense
|
|
90
92
|
fallback={
|
|
91
93
|
<View
|
|
92
94
|
style={{
|
|
93
95
|
position: 'relative',
|
|
94
96
|
background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
|
|
95
97
|
height: `${_floorHeight}px`,
|
|
96
98
|
}}
|
|
97
99
|
></View>
|
|
98
100
|
}
|
|
99
101
|
>
|
|
100
102
|
<ISVFloor {...props} dataDefines={dataDefines} forceRenderTime={forceRenderTime} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
|
|
101
103
|
<ISVModule {...props} dataDefines={dataDefines}></ISVModule>
|
|
102
104
|
</ISVFloor>
|
|
103
105
|
</Suspense>
|
|
104
106
|
</ErrorBoundary>
|
|
105
107
|
)
|
|
106
108
|
} else {
|
|
107
109
|
console.log(
|
|
108
110
|
'3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
|
|
109
111
|
modularPackResultObj,
|
|
110
112
|
)
|
|
111
113
|
sgmCustomReport({
|
|
112
114
|
code: getSgmCustomCode(handleSgmCodeTaroVersion(floorData?.floorExtInfo?.floorKind === FLOOR_KIND.PDC_SYSTEM_MODULE ? SgmCustomCode.SYSTEMPDCMODULE_DATA : SgmCustomCode.REMOTEMODULE_DATA)),
|
|
113
115
|
msg: opt,
|
|
114
116
|
})
|
|
115
117
|
return null
|
|
116
118
|
}
|
|
117
119
|
} catch (err) {
|
|
118
120
|
console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
|
|
119
121
|
return null
|
|
120
122
|
}
|
|
121
123
|
})()
|
|
122
124
|
if (renderResult === null) {
|
|
123
125
|
updateContainerFloorListDataFn &&
|
|
124
126
|
updateContainerFloorListDataFn({
|
|
125
127
|
type: 'filter',
|
|
126
128
|
containerId: floorData?.uid,
|
|
127
129
|
})
|
|
128
130
|
console.log('renderResult === null: 命中了!')
|
|
129
131
|
taroEventSendPageScrollInfo()
|
|
130
132
|
} else {
|
|
131
133
|
console.log('renderResult !== null: 没命中', renderResult)
|
|
132
134
|
}
|
|
133
135
|
return renderResult
|
package/dist/interface/common.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
1
|
+
import Taro from '@tarojs/taro';
|
|
2
2
|
export interface BaseConfigInfo {
|
|
3
3
|
abTestLabels: {
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
};
|
|
6
6
|
nonSellableSkuids: {
|
|
7
7
|
[key: string]: number;
|
|
8
8
|
};
|
|
9
9
|
loginState: boolean;
|
|
10
10
|
cookiesStr: string;
|
|
11
11
|
isImmersive: boolean;
|
|
12
12
|
isJingGouMiniViewState?: boolean;
|
|
13
13
|
isJingxiMiniViewState?: boolean;
|
|
14
14
|
shopInfo: {
|
|
15
15
|
shopId?: string | number;
|
|
16
16
|
venderId?: string | number;
|
|
17
17
|
};
|
|
18
18
|
pageInfo: {
|
|
19
19
|
appId?: string;
|
|
20
20
|
shopId?: string | number;
|
|
21
21
|
venderId?: string | number;
|
|
22
22
|
logoSquare?: string;
|
|
23
23
|
logoUrl?: string;
|
|
24
24
|
address?: string | null;
|
|
25
25
|
addressCommaStr?: string | null;
|
|
26
26
|
un_area?: string | null;
|
|
27
27
|
userLbsAddress?: string;
|
|
28
28
|
shopName?: string;
|
|
29
29
|
jumpTab?: string;
|
|
30
30
|
sourceType?: string;
|
|
31
31
|
sourceValue?: string;
|
|
32
32
|
moduleId?: string;
|
|
33
33
|
entrance?: string;
|
|
34
34
|
EA_PTAG?: string;
|
|
35
35
|
ptag?: string;
|
|
36
36
|
originReferer?: string;
|
|
37
37
|
recBroker?: string;
|
|
38
38
|
rcmdRelateSkuId?: string;
|
|
39
39
|
tabSpm?: string;
|
|
40
40
|
skuId?: string;
|
|
41
41
|
keywords?: string;
|
|
42
42
|
sceneId?: string;
|
|
43
43
|
miniScrollInfo?: {
|
|
44
44
|
scrollLeft: number;
|
|
45
45
|
scrollTop: number;
|
|
46
46
|
scrollHeight: number;
|
|
47
47
|
scrollWidth: number;
|
|
48
48
|
deltaX: number;
|
|
49
49
|
deltaY: number;
|
|
50
50
|
};
|
|
51
51
|
tabsLoadAllDataInfo: {
|
|
52
52
|
[key: string]: boolean;
|
|
53
53
|
};
|
|
54
54
|
wxBusinessType: string;
|
|
55
55
|
vapptype: string;
|
|
56
56
|
pageType: string;
|
|
57
57
|
dataType: string;
|
|
58
58
|
floorExposureInfo: object;
|
|
59
59
|
floorVideInfo: object;
|
|
60
60
|
isExposureState?: boolean;
|
|
61
61
|
appLazyContainerList?: string[];
|
|
62
62
|
appLazyFinishContainerList?: [];
|
|
63
63
|
shopStickyAndToTopInfo?: {
|
|
64
64
|
toTop: boolean;
|
|
65
65
|
sticky: boolean;
|
|
66
66
|
};
|
|
67
67
|
isVipShop?: boolean;
|
|
68
68
|
updateShopInfosState?: boolean;
|
|
69
69
|
pageScrollTop: number;
|
|
70
70
|
shopNavBarHeight: number;
|
|
71
71
|
isFloorInfoDataByPage?: boolean;
|
|
72
72
|
};
|
|
73
73
|
lazyContainer?: {
|
|
74
74
|
wellChosen: {
|
|
75
75
|
appLazyContainerList?: string[];
|
|
76
76
|
appLazyFinishContainerList?: string[];
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
queryLogInfo?: {
|
|
80
80
|
sourceType: string;
|
|
81
81
|
sourceValue: string;
|
|
82
82
|
moduleId?: string;
|
|
83
83
|
entrance?: string;
|
|
84
84
|
};
|
|
85
85
|
queryInfo: {
|
|
86
86
|
shopId?: string | number;
|
|
87
87
|
venderId?: string | number;
|
|
88
88
|
shopName?: string;
|
|
89
89
|
[key: string]: any;
|
|
90
90
|
};
|
|
91
91
|
originQueryInfo: {
|
|
92
92
|
shopId?: string | number;
|
|
93
93
|
venderId?: string | number;
|
|
94
94
|
shopName?: string;
|
|
95
95
|
[key: string]: any;
|
|
96
96
|
};
|
|
97
97
|
sysInfo: {
|
|
98
98
|
[key: string]: any;
|
|
99
99
|
};
|
|
100
100
|
userInfo: {
|
|
101
101
|
pin?: string;
|
|
102
102
|
encodePin?: string;
|
|
103
103
|
ptkey?: string;
|
|
104
104
|
wqCookie?: string | null;
|
|
105
105
|
wxappVersion?: string;
|
|
106
106
|
wqAuthToken?: string;
|
|
107
107
|
wqVisitkey?: string;
|
|
108
108
|
};
|
|
109
109
|
openAppData?: {
|
|
110
110
|
[key: string]: any;
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export interface OneKeyJoinMemberParamInfo {
|
|
115
115
|
title?: string;
|
|
116
116
|
shopId?: string | number;
|
|
117
117
|
venderId?: string | number;
|
|
118
118
|
businessSource?: keyof OneKeyJoinMemberBusinessSource;
|
|
119
119
|
}
|
|
120
120
|
export interface OneKeyJoinMemberBusinessSource {
|
|
121
121
|
isv;
|
|
122
122
|
lv0;
|
|
123
123
|
}
|
|
124
124
|
export type lazyContainer = {
|
|
125
125
|
[key in 'string']?: {
|
|
126
126
|
appLazyFinishContainerList: any[];
|
|
127
127
|
appLazyContainerList: any[];
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
export type renderedIsvComponents = {
|
|
131
131
|
[key in 'string']?: any;
|
|
132
132
|
};
|
|
133
133
|
export type MiniApplogUtil = any;
|
|
134
134
|
export type MiniAppLog = any;
|
|
135
135
|
export type WxAppLogin = any;
|
|
136
136
|
export type WxAppUserInfo = any;
|
|
137
137
|
export type wxAppReportManage = any;
|
|
138
138
|
export type WxAppReportGDT = any;
|
|
139
139
|
export type WxAppNavigator = any;
|
|
140
140
|
export type wxAppParamsSign = any;
|
|
141
141
|
export type wxAppFingerReportInstance = any;
|
|
142
142
|
export type wxAppSubsGuider = any;
|
|
143
143
|
export type wxAppAddressV2api = any;
|
|
144
144
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
1
|
subMessage?: string
|
|
3
2
|
customErrorIsvFloorModule?: React.ReactElement | undefined
|
|
4
3
|
containerIndex?: number
|
|
5
4
|
containerData?: any
|
|
6
5
|
shopTotalInfo?: any
|
|
7
6
|
selectContainerFn?: Function
|
|
8
7
|
selectContainerId?: string
|
|
9
8
|
placeHolderPreContainerId?: string
|
|
10
9
|
children?: any
|
|
11
10
|
style?: {
|
|
12
11
|
[key: string]: any
|
|
13
12
|
};
|
|
14
13
|
layoutLeftRightMargin?: number
|
|
15
14
|
}
|
|
15
|
+
import React from 'react'
|
|
16
16
|
subMessage?: string
|
|
17
17
|
netWorkStyleType?: string
|
|
18
18
|
viewMaxHeight?: string
|
|
19
19
|
noPosition?: boolean
|
|
20
20
|
containerIndex?: number
|
|
21
21
|
floorLoadWay?: number
|
|
22
22
|
floorKind?: number
|
|
23
23
|
shopId?: string
|
|
24
24
|
moduleDesignerType?: string
|
|
25
25
|
showCommonFloorHead?: boolean
|
|
26
26
|
borderRadius: number
|
|
27
27
|
borderTopLeftRadius?: number
|
|
28
28
|
borderTopRightRadius?: number
|
|
29
29
|
borderBottomLeftRadius?: number
|
|
30
30
|
borderBottomRightRadius?: number
|
|
31
31
|
marginTop?: number
|
|
32
32
|
marginBottom?: number
|
|
33
33
|
marginLeft?: number
|
|
34
34
|
marginRight?: number
|
|
35
35
|
paddingTop?: number
|
|
36
36
|
paddingBottom?: number
|
|
37
37
|
paddingLeft?: number
|
|
38
38
|
paddingRight?: number
|
|
39
39
|
containerId: string
|
|
40
40
|
background?: string
|
|
41
41
|
containerPosition?: string
|
|
42
42
|
key?: string
|
|
43
43
|
floors: floorItemData[]
|
|
44
44
|
includeUids: string[]
|
|
45
45
|
typeCn: string
|
|
46
46
|
typeCode?: string
|
|
47
47
|
addLuxuryStyle?: boolean
|
|
48
48
|
addLuxuryBackupStyle?: boolean
|
|
49
49
|
renderExtendComponent?: functionType
|
|
50
50
|
insertContainerStartComponent?: functionType
|
|
51
51
|
floorExtendData?: any
|
|
52
52
|
}
|
|
53
53
|
isRealTimeRender: boolean
|
|
54
54
|
forceRenderTime: number
|
|
55
55
|
luxuryFixed?: boolean
|
|
56
56
|
customErrorIsvFloorModule?: React.ReactElement | undefined
|
|
57
57
|
containerIndex?: number
|
|
58
58
|
containerData?: any
|
|
59
59
|
shopTotalInfo?: any
|
|
60
60
|
selectContainerFn?: functionType
|
|
61
61
|
selectContainerId?: string
|
|
62
62
|
placeHolderPreContainerId?: string
|
|
63
63
|
children?: any
|
|
64
64
|
luxuryFixed?: boolean
|
|
65
65
|
style?: {
|
|
66
66
|
[key: string]: any
|
|
67
67
|
};
|
|
68
68
|
layoutLeftRightMargin?: number
|
|
69
69
|
}
|
|
70
70
|
isShowPlaceHolder?: boolean
|
|
71
71
|
|
|
72
72
|
useFontV2?: boolean
|
|
73
73
|
useFontV2Bold?: boolean
|
|
74
74
|
onlyShowDaySpaceTextState?: boolean
|
|
75
75
|
showDayToSecondState?: boolean
|
|
76
76
|
useFontV2: boolean
|
|
77
77
|
useFontV2Bold: boolean
|
|
78
78
|
onFormSubmit?: functionType
|
|
79
79
|
onFormReset?: functionType
|
|
80
80
|
isFormDialog?: boolean
|
|
81
81
|
forbiddenBgScrollState?: boolean
|
|
82
82
|
evenList: any[]
|
|
83
83
|
oddList: any[]
|
|
84
84
|
floorData?: object
|
|
85
85
|
outViewCallback?: functionType
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare namespace JumpEventReportInterFace {
|
|
1
|
+
export declare namespace JumpEventReportInterFace {
|
|
2
2
|
export interface ShopIdsInfo {
|
|
3
3
|
shopId?: number | string;
|
|
4
4
|
venderId?: number | string;
|
|
5
5
|
logEventInfo?: object;
|
|
6
6
|
type?: string;
|
|
7
7
|
}
|
|
8
8
|
export interface RouterInfo {
|
|
9
9
|
params: any;
|
|
10
10
|
pageParamStr?: string;
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
}
|
|
13
13
|
export interface JumpMiniPath {
|
|
14
14
|
shop: string;
|
|
15
15
|
shopx: string;
|
|
16
16
|
detail: string;
|
|
17
17
|
searchCoupon: string;
|
|
18
18
|
h5: string;
|
|
19
19
|
jingGouHome: string;
|
|
20
20
|
shopFans: string;
|
|
21
21
|
shopLight: string;
|
|
22
22
|
couponSearch: string;
|
|
23
23
|
shopSearch: string;
|
|
24
24
|
jxCouponSearch: string;
|
|
25
25
|
jxDetail: string;
|
|
26
26
|
jdLive: string;
|
|
27
27
|
}
|
|
28
28
|
export interface jumpWebUrl {
|
|
29
29
|
mshop: string;
|
|
30
30
|
pages: string;
|
|
31
31
|
pcCoupon: string;
|
|
32
32
|
couponSearch: string;
|
|
33
33
|
jxCouponSearch: string;
|
|
34
34
|
pcCouponSearch: string;
|
|
35
35
|
shopSecondActivity: string;
|
|
36
36
|
shopLight: string;
|
|
37
37
|
detail: string;
|
|
38
38
|
jxDetail: string;
|
|
39
39
|
tjDetail: string;
|
|
40
40
|
pcDetail: string;
|
|
41
41
|
mobileHome: string;
|
|
42
42
|
rank: string;
|
|
43
43
|
wqShopMember: string;
|
|
44
44
|
wqShopDetail: string;
|
|
45
45
|
wqShopSearch: string;
|
|
46
46
|
myCouponList: string;
|
|
47
47
|
myRedPacketList: string;
|
|
48
48
|
memberHome: string;
|
|
49
49
|
memberCard: string;
|
|
50
50
|
memberPoints: string;
|
|
51
51
|
memberBenefit: string;
|
|
52
52
|
memberScores: string;
|
|
53
53
|
memberScoreRule: string;
|
|
54
54
|
memberProduct: string;
|
|
55
55
|
shopMember: string;
|
|
56
56
|
shopMemberPointDetail: string;
|
|
57
57
|
shopMemberBenefit: string;
|
|
58
58
|
shopMemberRule: string;
|
|
59
59
|
shopMemberCloseAccount: string;
|
|
60
60
|
shopMemberPointExchange: string;
|
|
61
61
|
shopMemberBonusPurchase: string;
|
|
62
62
|
shopMemberGood: string;
|
|
63
63
|
beanDetail: string;
|
|
64
64
|
totalPromotion: string;
|
|
65
65
|
mLive: string;
|
|
66
66
|
shopHome: string;
|
|
67
67
|
shopIntroduce: string;
|
|
68
68
|
shopSearch: string;
|
|
69
69
|
shopLottery: string;
|
|
70
70
|
shopCoupon: string;
|
|
71
71
|
shopWares: string;
|
|
72
72
|
shopFastShopping: string;
|
|
73
73
|
shopSpeciSeckill: string;
|
|
74
74
|
shopVideos: string;
|
|
75
75
|
shopUseShareOrderUgcContent: string;
|
|
76
76
|
dongDongChat: string;
|
|
77
77
|
samCenter: string;
|
|
78
78
|
samCard: string;
|
|
79
79
|
shopH5MemberCardAPP: string;
|
|
80
80
|
shopH5MemberCardM: string;
|
|
81
81
|
sageAuthorHome: string;
|
|
82
82
|
}
|
|
83
83
|
export interface EventReportConfig {
|
|
84
84
|
routerInfo: RouterInfo;
|
|
85
85
|
nativeEvent: any;
|
|
86
86
|
}
|
|
87
87
|
export interface OptEventLogParams {
|
|
88
88
|
eventId?: string;
|
|
89
89
|
eventParam?: string | object;
|
|
90
90
|
pTag?: string;
|
|
91
91
|
jsonParam?: {
|
|
92
92
|
[key: string]: any;
|
|
93
93
|
};
|
|
94
94
|
skuId?: string | number;
|
|
95
95
|
eventLevel?: string;
|
|
96
96
|
exposureState?: boolean;
|
|
97
97
|
otherParams?: object;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
export interface JumpH5ReportConfig {
|
|
101
101
|
shopId?: number | string;
|
|
102
102
|
venderId?: number | string;
|
|
103
103
|
sourceValue?: string;
|
|
104
104
|
sourceType?: string;
|
|
105
105
|
}
|
|
106
106
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
107
107
|
getConfig(opt): EventReportConfig;
|
|
108
108
|
updateInfo(routerInfo, logPname): void;
|
|
109
109
|
}
|
|
110
110
|
export interface CouponUrlParams {
|
|
111
111
|
batchId: number;
|
|
112
112
|
bindType: number;
|
|
113
113
|
startTime?: number;
|
|
114
114
|
endTime?: number;
|
|
115
115
|
quangoufrom?: number;
|
|
116
116
|
sceneId?: number;
|
|
117
117
|
}
|
|
118
118
|
export interface JdMiniJumpParams {
|
|
119
119
|
param: string | object;
|
|
120
120
|
sourceValue?: string;
|
|
121
121
|
sourceType?: string;
|
|
122
122
|
des?: any;
|
|
123
123
|
logEventInfo?: object;
|
|
124
124
|
useEncodeParams?: boolean;
|
|
125
125
|
}
|
|
126
126
|
export interface LinkMiniParams {
|
|
127
127
|
param?: {
|
|
128
128
|
pageType?: string;
|
|
129
129
|
};
|
|
130
130
|
appId?: string | number;
|
|
131
131
|
path?: string;
|
|
132
132
|
}
|
|
133
133
|
export interface JdJumpWxappReportConfig {
|
|
134
134
|
wxApiVersion: string;
|
|
135
135
|
wxApiUrl: string;
|
|
136
136
|
wqReportUrl: string;
|
|
137
137
|
}
|