@conecli/cone-render 0.10.1-shop3.3 → 0.10.1-shop3.5
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/components/base/CustomScrollView/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/reporter.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.module.scss +2 -2
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/jumpEventReport/base.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/modules/ContainerFloorList/index.h5.module.scss +3 -0
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/requestServer.h5.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.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/sColor.js +1 -0
- package/dist/utils/utils.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import track from '../../../open/api/track'
|
|
2
1
|
const {arr : arrTask, startWaitTime} = floorTask
|
|
3
2
|
const isTimeout = startWaitTime != 0 && (Date.now() - startWaitTime >= 1000)
|
|
4
3
|
const arrTaskNum = arrTask.length;
|
|
5
4
|
const isOverMax = arrTaskNum >= 10
|
|
6
5
|
const hasData = arrTaskNum > 0
|
|
7
6
|
if(hasData && (isTimeout || isOverMax)){
|
|
8
7
|
const reduceData = connactData(arrTask)
|
|
9
8
|
track.reportExposureEventLog(reduceData)
|
|
10
9
|
floorTask.arr = []
|
|
11
10
|
floorTask.startWaitTime = 0
|
|
12
11
|
clearTimeout(floorTask.timer)
|
|
13
12
|
}
|
|
14
13
|
const initData = JSON.parse(JSON.stringify(arr[0]))
|
|
15
14
|
if(initData.jsonParam.etModelInfo) {
|
|
16
15
|
initData.jsonParam.logBaseInfo = []
|
|
17
16
|
initData.jsonParam.etModelInfo.lstms = []
|
|
18
17
|
return arr.reduce((acc, cur) => {
|
|
19
18
|
acc.jsonParam.logBaseInfo.push(cur.jsonParam.logBaseInfo)
|
|
20
19
|
return acc
|
|
21
20
|
}, initData)
|
|
22
21
|
} else {
|
|
23
22
|
return arr.reduce((acc) => {
|
|
24
23
|
return acc
|
|
25
24
|
})
|
|
26
25
|
}
|
|
27
26
|
if(!Array.isArray(data)){
|
|
28
27
|
console.log('坑位曝光埋点原始数据参类型错误,期望是数组,实际是:', data)
|
|
29
28
|
return
|
|
30
29
|
}
|
|
31
30
|
const [floorData, mInfo, etModelInfo] = data
|
|
32
31
|
if(floorData && mInfo && etModelInfo){
|
|
33
32
|
const isIsvReportModule = isvReportModuleTypeList.includes(floorData?.floorExtInfo?.moduleFlag)
|
|
34
33
|
try {
|
|
35
34
|
const reportJson = track.getExposureInfo(floorData, mInfo, etModelInfo,true, isIsvReportModule)
|
|
36
35
|
console.log(`${floorData?.floorExtInfo?.moduleFlag}===reportJson===`,reportJson)
|
|
37
36
|
const { floorIdx } = floorData
|
|
38
37
|
if(!task[floorIdx]){
|
|
39
38
|
task[floorIdx] = {
|
|
40
39
|
arr: [],
|
|
41
40
|
startWaitTime: 0,
|
|
42
41
|
timer : 0
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
44
|
const floorTask = task[floorIdx]
|
|
46
45
|
if(floorTask.arr.length === 0){
|
|
47
46
|
floorTask.startWaitTime = Date.now()
|
|
48
47
|
}
|
|
49
48
|
if(reportJson){
|
|
50
49
|
floorTask.arr.push(reportJson)
|
|
51
50
|
clearTimeout(floorTask.timer)
|
|
52
51
|
floorTask.timer = setTimeout(() => {
|
|
53
52
|
check(floorTask)
|
|
54
53
|
}, 1000)
|
|
55
54
|
check(floorTask)
|
|
56
55
|
}
|
|
57
56
|
}catch (e) {
|
|
58
57
|
{
|
|
59
58
|
console.log('坑位曝光埋点出错啦',e)
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
}else{
|
|
63
62
|
console.log('坑位曝光埋点原始数据参数缺失,期望是[floorData, mInfo, etModelInfo],实际是:', data)
|
|
64
63
|
}
|
|
64
|
+
import track from '../../../open/api/track';
|
|
65
65
|
const { arr: arrTask, startWaitTime } = floorTask;
|
|
66
66
|
const isTimeout = startWaitTime != 0 && Date.now() - startWaitTime >= 1000;
|
|
67
67
|
const arrTaskNum = arrTask.length;
|
|
68
68
|
const isOverMax = arrTaskNum >= 10;
|
|
69
69
|
const hasData = arrTaskNum > 0;
|
|
70
70
|
if (hasData && (isTimeout || isOverMax)) {
|
|
71
71
|
const reduceData = connactData(arrTask);
|
|
72
72
|
track.reportExposureEventLog(reduceData);
|
|
73
73
|
floorTask.arr = [];
|
|
74
74
|
floorTask.startWaitTime = 0;
|
|
75
75
|
clearTimeout(floorTask.timer);
|
|
76
76
|
}
|
|
77
77
|
const initData = JSON.parse(JSON.stringify(arr[0]));
|
|
78
78
|
if (initData.jsonParam.etModelInfo) {
|
|
79
79
|
initData.jsonParam.logBaseInfo = [];
|
|
80
80
|
initData.jsonParam.etModelInfo.lstms = [];
|
|
81
81
|
return arr.reduce((acc, cur) => {
|
|
82
82
|
acc.jsonParam.logBaseInfo.push(cur.jsonParam.logBaseInfo);
|
|
83
83
|
return acc;
|
|
84
84
|
}, initData);
|
|
85
85
|
} else {
|
|
86
86
|
return arr.reduce((acc) => {
|
|
87
87
|
return acc;
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
if (!Array.isArray(data)) {
|
|
91
91
|
console.log('坑位曝光埋点原始数据参类型错误,期望是数组,实际是:', data);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
const [floorData, mInfo, etModelInfo] = data;
|
|
95
95
|
if (floorData && mInfo && etModelInfo) {
|
|
96
96
|
const isIsvReportModule = isvReportModuleTypeList.includes(floorData?.floorExtInfo?.moduleFlag);
|
|
97
97
|
try {
|
|
98
98
|
const reportJson = track.getExposureInfo(
|
|
99
99
|
floorData,
|
|
100
100
|
mInfo,
|
|
101
101
|
etModelInfo,
|
|
102
102
|
true,
|
|
103
103
|
isIsvReportModule,
|
|
104
104
|
);
|
|
105
105
|
console.log(`${floorData?.floorExtInfo?.moduleFlag}===reportJson===`, reportJson);
|
|
106
106
|
const { floorIdx } = floorData;
|
|
107
107
|
if (!task[floorIdx]) {
|
|
108
108
|
task[floorIdx] = {
|
|
109
109
|
arr: [],
|
|
110
110
|
startWaitTime: 0,
|
|
111
111
|
timer: 0,
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
const floorTask = task[floorIdx];
|
|
115
115
|
if (floorTask.arr.length === 0) {
|
|
116
116
|
floorTask.startWaitTime = Date.now();
|
|
117
117
|
}
|
|
118
118
|
if (reportJson) {
|
|
119
119
|
floorTask.arr.push(reportJson);
|
|
120
120
|
clearTimeout(floorTask.timer);
|
|
121
121
|
floorTask.timer = setTimeout(() => {
|
|
122
122
|
check(floorTask);
|
|
123
123
|
}, 1000);
|
|
124
124
|
check(floorTask);
|
|
125
125
|
}
|
|
126
126
|
} catch (e) {
|
|
127
127
|
{
|
|
128
128
|
console.log('坑位曝光埋点出错啦', e);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
} else {
|
|
132
132
|
console.log(
|
|
133
133
|
'坑位曝光埋点原始数据参数缺失,期望是[floorData, mInfo, etModelInfo],实际是:',
|
|
134
134
|
data,
|
|
135
135
|
);
|
|
136
136
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
1
|
const { className, pointClassName, children, reportData, customReportDataKey,customReportDataFn, trackCallback, ...otherProps } =
|
|
3
2
|
props
|
|
4
3
|
const isCustomReport = customReportDataKey && customReportDataFn
|
|
5
4
|
const checkReportData = Array.isArray(reportData)
|
|
6
5
|
const [floorData, mInfo] = checkReportData ? reportData : []
|
|
7
6
|
const checkReportDataState = isCustomReport ? true : floorData && mInfo
|
|
8
7
|
|
|
9
8
|
floorData && mInfo && !mInfo.hasOwnProperty('pos') && (mInfo.pos = 0)
|
|
10
9
|
return (
|
|
11
10
|
<View
|
|
12
11
|
ref={ref}
|
|
13
12
|
className={classNames(
|
|
14
13
|
itemViewExposureSmartStyle['d-item-point-layout'],
|
|
15
14
|
className,
|
|
16
15
|
)}
|
|
17
16
|
{...otherProps}
|
|
18
17
|
>
|
|
19
18
|
{children ? children : null}
|
|
20
19
|
{checkReportDataState && (
|
|
21
20
|
<ExposureSmart
|
|
22
21
|
className={classNames(pointClassName,{
|
|
23
22
|
[itemViewExposureSmartStyle['d-item-chart-point']]: isChartH5,
|
|
24
23
|
})}
|
|
25
24
|
reportData={reportData}
|
|
26
25
|
trackCallback={trackCallback}
|
|
27
26
|
customReportDataFn={customReportDataFn}
|
|
28
27
|
customReportDataKey={customReportDataKey}
|
|
29
28
|
markPoint
|
|
30
29
|
/>
|
|
31
30
|
)}
|
|
32
31
|
</View>
|
|
33
32
|
)
|
|
34
33
|
reportData: [],
|
|
35
34
|
customReportDataKey: null,
|
|
36
35
|
customReportDataFn: null
|
|
36
|
+
import React, { useRef } from 'react';
|
|
37
37
|
const {
|
|
38
38
|
className,
|
|
39
39
|
pointClassName,
|
|
40
40
|
children,
|
|
41
41
|
reportData,
|
|
42
42
|
customReportDataKey,
|
|
43
43
|
customReportDataFn,
|
|
44
44
|
trackCallback,
|
|
45
45
|
...otherProps
|
|
46
46
|
} = props;
|
|
47
47
|
const itemViewExposureRef = useRef(null);
|
|
48
48
|
const isCustomReport = customReportDataKey && customReportDataFn;
|
|
49
49
|
const checkReportData = Array.isArray(reportData);
|
|
50
50
|
const [floorData, mInfo] = checkReportData ? reportData : [];
|
|
51
51
|
const checkReportDataState = isCustomReport ? true : floorData && mInfo;
|
|
52
52
|
|
|
53
53
|
floorData && mInfo && !mInfo.hasOwnProperty('pos') && (mInfo.pos = 0);
|
|
54
54
|
return (
|
|
55
55
|
<View
|
|
56
56
|
ref={itemViewExposureRef}
|
|
57
57
|
className={classNames(itemViewExposureSmartStyle['d-item-point-layout'], className)}
|
|
58
58
|
{...otherProps}
|
|
59
59
|
>
|
|
60
60
|
{children ? children : null}
|
|
61
61
|
{checkReportDataState && (
|
|
62
62
|
<ExposureSmart
|
|
63
63
|
className={classNames(pointClassName, {
|
|
64
64
|
[itemViewExposureSmartStyle['d-item-chart-point']]: isChartH5,
|
|
65
65
|
})}
|
|
66
66
|
innerRef={itemViewExposureRef}
|
|
67
67
|
reportData={reportData}
|
|
68
68
|
trackCallback={trackCallback}
|
|
69
69
|
customReportDataFn={customReportDataFn}
|
|
70
70
|
customReportDataKey={customReportDataKey}
|
|
71
71
|
markPoint
|
|
72
72
|
/>
|
|
73
73
|
)}
|
|
74
74
|
</View>
|
|
75
75
|
);
|
|
76
76
|
reportData: [],
|
|
77
77
|
customReportDataKey: null,
|
|
78
78
|
customReportDataFn: null,
|
|
79
79
|
customReportDataForMapFn: null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare namespace JumpEventReportInterFace {
|
|
2
1
|
export interface ShopIdsInfo {
|
|
3
2
|
shopId?: number | string
|
|
4
3
|
venderId?: number | string
|
|
5
4
|
logEventInfo?: object
|
|
6
5
|
type?: string
|
|
7
6
|
}
|
|
8
7
|
export interface RouterInfo {
|
|
9
8
|
params: any
|
|
10
9
|
pageParamStr?: string
|
|
11
10
|
[key: string]: any
|
|
12
11
|
}
|
|
13
12
|
export interface JumpMiniPath {
|
|
14
13
|
shop: string
|
|
15
14
|
shopx: string
|
|
16
15
|
detail: string
|
|
17
16
|
searchCoupon: string
|
|
18
17
|
h5: string
|
|
19
18
|
jingGouHome: string
|
|
20
19
|
shopFans: string
|
|
21
20
|
shopLight: string
|
|
22
21
|
couponSearch: string
|
|
23
22
|
shopSearch: string
|
|
24
23
|
jxCouponSearch: string
|
|
25
24
|
jxDetail: string
|
|
26
25
|
}
|
|
27
26
|
export interface jumpWebUrl {
|
|
28
27
|
mshop: string
|
|
29
28
|
pages: string
|
|
30
29
|
pcCoupon: string
|
|
31
30
|
couponSearch: string
|
|
32
31
|
jxCouponSearch: string
|
|
33
32
|
pcCouponSearch: string
|
|
34
33
|
shopSecondActivity: string
|
|
35
34
|
shopLight: string
|
|
36
35
|
detail: string
|
|
37
36
|
jxDetail: string
|
|
38
37
|
tjDetail: string
|
|
39
38
|
pcDetail: string
|
|
40
39
|
mobileHome: string
|
|
41
40
|
rank: string
|
|
42
41
|
wqShopMember: string
|
|
43
42
|
wqShopDetail: string
|
|
44
43
|
wqShopSearch: string
|
|
45
44
|
myCouponList: string
|
|
46
45
|
myRedPacketList: string
|
|
47
46
|
memberHome: string
|
|
48
47
|
memberCard: string
|
|
49
48
|
memberPoints: string
|
|
50
49
|
memberBenefit: string
|
|
51
50
|
memberScores: string
|
|
52
51
|
memberScoreRule: string
|
|
53
52
|
memberProduct: string
|
|
54
53
|
shopMember: string
|
|
55
54
|
shopMemberPointDetail: string
|
|
56
55
|
shopMemberBenefit: string
|
|
57
56
|
shopMemberRule: string
|
|
58
57
|
shopMemberCloseAccount: string
|
|
59
58
|
shopMemberPointExchange: string
|
|
60
59
|
shopMemberBonusPurchase: string
|
|
61
60
|
shopMemberGood: string
|
|
62
61
|
beanDetail: string
|
|
63
62
|
totalPromotion: string
|
|
64
63
|
mLive: string
|
|
65
64
|
shopHome: string
|
|
66
65
|
shopIntroduce: string
|
|
67
66
|
shopSearch: string
|
|
68
67
|
shopLottery: string
|
|
69
68
|
shopCoupon: string
|
|
70
69
|
shopWares: string
|
|
71
70
|
shopFastShopping: string
|
|
72
71
|
shopSpeciSeckill: string
|
|
73
72
|
shopVideos: string
|
|
74
73
|
shopMoreGoods:string
|
|
75
74
|
shopUseShareOrderUgcContent: string
|
|
76
75
|
dongDongChat: string
|
|
77
76
|
samCenter: string
|
|
78
77
|
samCard: string
|
|
79
78
|
shopH5MemberCardAPP: string
|
|
80
79
|
shopH5MemberCardM: string
|
|
81
80
|
}
|
|
82
81
|
export interface EventReportConfig {
|
|
83
82
|
routerInfo: RouterInfo
|
|
84
83
|
nativeEvent: any
|
|
85
84
|
}
|
|
86
85
|
export interface OptEventLogParams {
|
|
87
86
|
eventId?: string
|
|
88
87
|
eventParam?: string | object
|
|
89
88
|
pTag?: string
|
|
90
89
|
jsonParam?: {
|
|
91
90
|
[key: string]: any
|
|
92
91
|
}
|
|
93
92
|
skuId?: string | number
|
|
94
93
|
eventLevel?: string
|
|
95
94
|
exposureState?: boolean
|
|
96
95
|
otherParams?: object
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
export interface JumpH5ReportConfig {
|
|
100
99
|
shopId?: number | string
|
|
101
100
|
venderId?: number | string
|
|
102
101
|
sourceValue?: string
|
|
103
102
|
sourceType?: string
|
|
104
103
|
}
|
|
105
104
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
106
105
|
getConfig(opt): EventReportConfig
|
|
107
106
|
updateInfo(routerInfo, logPname): void
|
|
108
107
|
}
|
|
109
108
|
export interface CouponUrlParams {
|
|
110
109
|
batchId: number
|
|
111
110
|
bindType: number
|
|
112
111
|
startTime?: number
|
|
113
112
|
endTime?: number
|
|
114
113
|
quangoufrom?: number
|
|
115
114
|
sceneId?: number
|
|
116
115
|
}
|
|
117
116
|
export interface JdMiniJumpParams {
|
|
118
117
|
param: string | object
|
|
119
118
|
sourceValue?: string
|
|
120
119
|
sourceType?: string
|
|
121
120
|
des?: any
|
|
122
121
|
logEventInfo?: object
|
|
123
122
|
}
|
|
124
123
|
export interface LinkMiniParams {
|
|
125
124
|
param?: {
|
|
126
125
|
pageType?: string
|
|
127
126
|
}
|
|
128
127
|
appId?: string | number
|
|
129
128
|
path?: string
|
|
130
129
|
}
|
|
131
130
|
export interface JdJumpWxappReportConfig {
|
|
132
131
|
wxApiVersion: string
|
|
133
132
|
wxApiUrl: string
|
|
134
133
|
wqReportUrl: string
|
|
135
134
|
}
|
|
135
|
+
export declare namespace JumpEventReportInterFace {
|
|
136
136
|
export interface ShopIdsInfo {
|
|
137
137
|
shopId?: number | string;
|
|
138
138
|
venderId?: number | string;
|
|
139
139
|
logEventInfo?: object;
|
|
140
140
|
type?: string;
|
|
141
141
|
}
|
|
142
142
|
export interface RouterInfo {
|
|
143
143
|
params: any;
|
|
144
144
|
pageParamStr?: string;
|
|
145
145
|
[key: string]: any;
|
|
146
146
|
}
|
|
147
147
|
export interface JumpMiniPath {
|
|
148
148
|
shop: string;
|
|
149
149
|
shopx: string;
|
|
150
150
|
detail: string;
|
|
151
151
|
searchCoupon: string;
|
|
152
152
|
h5: string;
|
|
153
153
|
jingGouHome: string;
|
|
154
154
|
shopFans: string;
|
|
155
155
|
shopLight: string;
|
|
156
156
|
couponSearch: string;
|
|
157
157
|
shopSearch: string;
|
|
158
158
|
jxCouponSearch: string;
|
|
159
159
|
jxDetail: string;
|
|
160
160
|
}
|
|
161
161
|
export interface jumpWebUrl {
|
|
162
162
|
mshop: string;
|
|
163
163
|
pages: string;
|
|
164
164
|
pcCoupon: string;
|
|
165
165
|
couponSearch: string;
|
|
166
166
|
jxCouponSearch: string;
|
|
167
167
|
pcCouponSearch: string;
|
|
168
168
|
shopSecondActivity: string;
|
|
169
169
|
shopLight: string;
|
|
170
170
|
detail: string;
|
|
171
171
|
jxDetail: string;
|
|
172
172
|
tjDetail: string;
|
|
173
173
|
pcDetail: string;
|
|
174
174
|
mobileHome: string;
|
|
175
175
|
rank: string;
|
|
176
176
|
wqShopMember: string;
|
|
177
177
|
wqShopDetail: string;
|
|
178
178
|
wqShopSearch: string;
|
|
179
179
|
myCouponList: string;
|
|
180
180
|
myRedPacketList: string;
|
|
181
181
|
memberHome: string;
|
|
182
182
|
memberCard: string;
|
|
183
183
|
memberPoints: string;
|
|
184
184
|
memberBenefit: string;
|
|
185
185
|
memberScores: string;
|
|
186
186
|
memberScoreRule: string;
|
|
187
187
|
memberProduct: string;
|
|
188
188
|
shopMember: string;
|
|
189
189
|
shopMemberPointDetail: string;
|
|
190
190
|
shopMemberBenefit: string;
|
|
191
191
|
shopMemberRule: string;
|
|
192
192
|
shopMemberCloseAccount: string;
|
|
193
193
|
shopMemberPointExchange: string;
|
|
194
194
|
shopMemberBonusPurchase: string;
|
|
195
195
|
shopMemberGood: string;
|
|
196
196
|
beanDetail: string;
|
|
197
197
|
totalPromotion: string;
|
|
198
198
|
mLive: string;
|
|
199
199
|
shopHome: string;
|
|
200
200
|
shopIntroduce: string;
|
|
201
201
|
shopSearch: string;
|
|
202
202
|
shopLottery: string;
|
|
203
203
|
shopCoupon: string;
|
|
204
204
|
shopWares: string;
|
|
205
205
|
shopFastShopping: string;
|
|
206
206
|
shopSpeciSeckill: string;
|
|
207
207
|
shopVideos: string;
|
|
208
208
|
shopMoreGoods: string;
|
|
209
209
|
shopUseShareOrderUgcContent: string;
|
|
210
210
|
dongDongChat: string;
|
|
211
211
|
samCenter: string;
|
|
212
212
|
samCard: string;
|
|
213
213
|
shopH5MemberCardAPP: string;
|
|
214
214
|
shopH5MemberCardM: string;
|
|
215
215
|
sageAuthorHome: string;
|
|
216
216
|
}
|
|
217
217
|
export interface EventReportConfig {
|
|
218
218
|
routerInfo: RouterInfo;
|
|
219
219
|
nativeEvent: any;
|
|
220
220
|
}
|
|
221
221
|
export interface OptEventLogParams {
|
|
222
222
|
eventId?: string;
|
|
223
223
|
eventParam?: string | object;
|
|
224
224
|
pTag?: string;
|
|
225
225
|
jsonParam?: {
|
|
226
226
|
[key: string]: any;
|
|
227
227
|
};
|
|
228
228
|
skuId?: string | number;
|
|
229
229
|
eventLevel?: string;
|
|
230
230
|
exposureState?: boolean;
|
|
231
231
|
otherParams?: object;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
export interface JumpH5ReportConfig {
|
|
235
235
|
shopId?: number | string;
|
|
236
236
|
venderId?: number | string;
|
|
237
237
|
sourceValue?: string;
|
|
238
238
|
sourceType?: string;
|
|
239
239
|
}
|
|
240
240
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
241
241
|
getConfig(opt): EventReportConfig;
|
|
242
242
|
updateInfo(routerInfo, logPname): void;
|
|
243
243
|
}
|
|
244
244
|
export interface CouponUrlParams {
|
|
245
245
|
batchId: number;
|
|
246
246
|
bindType: number;
|
|
247
247
|
startTime?: number;
|
|
248
248
|
endTime?: number;
|
|
249
249
|
quangoufrom?: number;
|
|
250
250
|
sceneId?: number;
|
|
251
251
|
}
|
|
252
252
|
export interface JdMiniJumpParams {
|
|
253
253
|
param: string | object;
|
|
254
254
|
sourceValue?: string;
|
|
255
255
|
sourceType?: string;
|
|
256
256
|
des?: any;
|
|
257
257
|
logEventInfo?: object;
|
|
258
258
|
}
|
|
259
259
|
export interface LinkMiniParams {
|
|
260
260
|
param?: {
|
|
261
261
|
pageType?: string;
|
|
262
262
|
};
|
|
263
263
|
appId?: string | number;
|
|
264
264
|
path?: string;
|
|
265
265
|
}
|
|
266
266
|
export interface JdJumpWxappReportConfig {
|
|
267
267
|
wxApiVersion: string;
|
|
268
268
|
wxApiUrl: string;
|
|
269
269
|
wqReportUrl: string;
|
|
270
270
|
}
|