@conecli/cone-render 0.9.1-shop2.7 → 0.9.1-shop2.8

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.
Files changed (40) hide show
  1. package/dist/common/const.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/common/index.ts +1 -1
  4. package/dist/common/token/token.ts +1 -1
  5. package/dist/components/base/CountDown/index.tsx +1 -1
  6. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  7. package/dist/components/base/Dialog/index.module.scss +5 -0
  8. package/dist/components/base/Dialog/index.tsx +1 -1
  9. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  10. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  11. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  12. package/dist/components/remoteFloorItem.tsx +1 -1
  13. package/dist/interface/common.ts +1 -1
  14. package/dist/interface/component.ts +1 -1
  15. package/dist/interface/jumpEventReport.ts +1 -1
  16. package/dist/jumpEventReport/base.ts +1 -1
  17. package/dist/jumpEventReport/const.ts +1 -1
  18. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  19. package/dist/jumpEventReport/index.weapp.ts +1 -1
  20. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  21. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  22. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  23. package/dist/jumpEventReport/web/report.ts +1 -1
  24. package/dist/jumpEventReport/web.base.ts +1 -1
  25. package/dist/jumpEventReport/web.jd.ts +1 -1
  26. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  27. package/dist/open/api/jump copy.ts +1 -1
  28. package/dist/open/api/shopMember.ts +1 -1
  29. package/dist/open/api/track.ts +1 -1
  30. package/dist/open/api/util.ts +1 -1
  31. package/dist/sass/app.h5.scss +39 -3
  32. package/dist/service/requestServer.ts +1 -1
  33. package/dist/utils/connectNativeJsBridge.ts +1 -1
  34. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  35. package/dist/utils/h5Utils.ts +1 -1
  36. package/dist/utils/index.h5.ts +1 -1
  37. package/dist/utils/index.ts +1 -1
  38. package/dist/utils/index.weapp.ts +1 -1
  39. package/dist/utils/utils.ts +1 -1
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  getBundleUrl,
3
2
  getBundleFileName,
4
3
  formatPackResult,
5
4
  const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
6
5
  const dataDefines = getFloorDataToDataDefines(floorData)
7
6
  const [forceRenderTime,setForceRenderTime] = useState(1)
8
7
  useEffect(() => {
9
8
  isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
10
9
  setForceRenderTime(Date.now())
11
10
  })
12
11
  return () => {
13
12
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
14
13
  }
15
14
  },[])
16
15
 
17
16
  const getFloorSetHeight = (item) => {
18
17
  const getHeight = item?.floorExtInfo?.floorHeight
19
18
  ? Number(item?.floorExtInfo?.floorHeight)
20
19
  : 200
21
20
  return getHeight > 0 ? getHeight : 200
22
21
  }
23
22
  console.log(
24
23
  '>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
25
24
  )
26
25
  const renderResult = (() => {
27
26
  try {
28
27
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
29
28
  console.log(
30
29
  '==========当前业务类型renderSourceType、楼层floorId: ',
31
30
  renderSourceType,
32
31
  floorData.uid,
33
32
  )
34
33
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
35
34
  const modularPackResultObj = formatPackResult(modularPackResult)
36
35
  const bundleUrl = getBundleUrl(modularPackResultObj)
37
36
  const bundleFileName = getBundleFileName(modularPackResultObj)
38
37
  const opt = {
39
38
  msg: `店铺首页isv h5楼层隐藏不显示。原因:modularPackResult数据不完备。页面类型-buildType: ${buildType}。楼层顺序-floorIdx: ${floorData?.floorIdx}`,
40
39
  buildType,
41
40
  uid: floorData?.uid,
42
41
  floorIdx: floorData?.floorIdx,
43
42
  shopId: floorData?.floorExtInfo?.shopId,
44
43
  moduleId: floorData?.moduleId,
45
44
  moduleName: floorData?.moduleName,
46
45
  middleTemplateId: floorData?.middleTemplateId,
47
46
  modularPackResult: modularPackResult,
48
47
  }
49
48
  if (bundleUrl && bundleFileName) {
50
49
  let ISVModule =
51
50
  taroJdBaseInfo?.renderedIsvComponents[
52
51
  `${floorData.uid}_${bundleFileName}`
53
52
  ] || null
54
53
  if (!ISVModule) {
55
54
  ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
56
55
  console.log(
57
56
  '1|加载isv模块==========走lazy import生成新的isv模块react组件',
58
57
  bundleFileName,
59
58
  )
60
59
  taroJdBaseInfo.renderedIsvComponents[
61
60
  `${floorData.uid}_${bundleFileName}`
62
61
  ] = ISVModule
63
62
  console.log(
64
63
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
65
64
  bundleFileName,
66
65
  window['taroJshopH5WebpackJsonp'].find(
67
66
  (item) => item[0][0] == bundleFileName,
68
67
  ),
69
68
  )
70
69
  } else {
71
70
  console.log(
72
71
  '1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
73
72
  taroJdBaseInfo,
74
73
  )
75
74
  console.log(
76
75
  '2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
77
76
  taroJdBaseInfo.renderedIsvComponents[
78
77
  `${floorData.uid}_${bundleFileName}`
79
78
  ],
80
79
  )
81
80
  }
82
81
  const _floorHeight = getFloorSetHeight(floorData)
83
82
  return (
84
83
  <ErrorBoundary {...props}>
85
84
  <Suspense
86
85
  fallback={
87
86
  <View
88
87
  style={{
89
88
  position: 'relative',
90
89
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
91
90
  height: `${_floorHeight}px`,
92
91
  }}
93
92
  ></View>
94
93
  }
95
94
  >
96
95
  <ISVFloor {...props} dataDefines={dataDefines} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
97
96
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
98
97
  </ISVFloor>
99
98
  </Suspense>
100
99
  </ErrorBoundary>
101
100
  )
102
101
  } else {
103
102
  console.log(
104
103
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
105
104
  modularPackResultObj,
106
105
  )
107
106
  sgmCustomReport({
108
107
  code: 'isvModuleError',
109
108
  msg: opt,
110
109
  })
111
110
  return null
112
111
  }
113
112
  } catch (err) {
114
113
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
115
114
  sgmCustomReport({
116
115
  code: 'isvModuleError',
117
116
  msg: {
118
117
  msg: 'remoteFloorItem try catch 异常',
119
118
  err,
120
119
  },
121
120
  })
122
121
  return null
123
122
  }
124
123
  })()
125
124
  if (renderResult === null) {
126
125
  updateContainerFloorListDataFn &&
127
126
  updateContainerFloorListDataFn({
128
127
  type: 'filter',
129
128
  containerId: floorData?.uid,
130
129
  })
131
130
  console.log('renderResult === null: 命中了!')
132
131
  taroEventSendPageScrollInfo()
133
132
  } else {
134
133
  console.log('renderResult !== null: 没命中', renderResult)
135
134
  }
136
135
  return renderResult
136
+ import Taro from '@tarojs/taro'
137
137
  getBundleUrl,
138
138
  getBundleFileName,
139
139
  formatPackResult,
140
140
  const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
141
141
  const dataDefines = getFloorDataToDataDefines(floorData)
142
142
  const [forceRenderTime,setForceRenderTime] = useState(1)
143
143
  useEffect(() => {
144
144
  isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
145
145
  setForceRenderTime(Date.now())
146
146
  })
147
147
  return () => {
148
148
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
149
149
  }
150
150
  },[])
151
151
 
152
152
  const getFloorSetHeight = (item) => {
153
153
  const getHeight = item?.floorExtInfo?.floorHeight
154
154
  ? Number(item?.floorExtInfo?.floorHeight)
155
155
  : 200
156
156
  return getHeight > 0 ? getHeight : 200
157
157
  }
158
158
  console.log(
159
159
  '>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
160
160
  )
161
161
  const renderResult = (() => {
162
162
  try {
163
163
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
164
164
  console.log(
165
165
  '==========当前业务类型renderSourceType、楼层floorId: ',
166
166
  renderSourceType,
167
167
  floorData.uid,
168
168
  )
169
169
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
170
170
  const modularPackResultObj = formatPackResult(modularPackResult)
171
171
  const bundleUrl = getBundleUrl(modularPackResultObj)
172
172
  const bundleFileName = getBundleFileName(modularPackResultObj)
173
173
  const opt = {
174
174
  msg: `店铺首页isv h5楼层隐藏不显示。原因:modularPackResult数据不完备。页面类型-buildType: ${buildType}。楼层顺序-floorIdx: ${floorData?.floorIdx}`,
175
175
  buildType,
176
176
  uid: floorData?.uid,
177
177
  floorIdx: floorData?.floorIdx,
178
178
  shopId: floorData?.floorExtInfo?.shopId,
179
179
  moduleId: floorData?.moduleId,
180
180
  moduleName: floorData?.moduleName,
181
181
  middleTemplateId: floorData?.middleTemplateId,
182
182
  modularPackResult: modularPackResult,
183
183
  }
184
184
  if (bundleUrl && bundleFileName) {
185
185
  let ISVModule =
186
186
  taroJdBaseInfo?.renderedIsvComponents[
187
187
  `${floorData.uid}_${bundleFileName}`
188
188
  ] || null
189
189
  if (!ISVModule) {
190
190
  ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
191
191
  console.log(
192
192
  '1|加载isv模块==========走lazy import生成新的isv模块react组件',
193
193
  bundleFileName,
194
194
  )
195
195
  taroJdBaseInfo.renderedIsvComponents[
196
196
  `${floorData.uid}_${bundleFileName}`
197
197
  ] = ISVModule
198
198
  console.log(
199
199
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
200
200
  bundleFileName,
201
201
  window['taroJshopH5WebpackJsonp'].find(
202
202
  (item) => item[0][0] == bundleFileName,
203
203
  ),
204
204
  )
205
205
  } else {
206
206
  console.log(
207
207
  '1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
208
208
  taroJdBaseInfo,
209
209
  )
210
210
  console.log(
211
211
  '2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
212
212
  taroJdBaseInfo.renderedIsvComponents[
213
213
  `${floorData.uid}_${bundleFileName}`
214
214
  ],
215
215
  )
216
216
  }
217
217
  const _floorHeight = getFloorSetHeight(floorData)
218
218
  return (
219
219
  <ErrorBoundary {...props}>
220
220
  <Suspense
221
221
  fallback={
222
222
  <View
223
223
  style={{
224
224
  position: 'relative',
225
225
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
226
226
  height: `${_floorHeight}px`,
227
227
  }}
228
228
  ></View>
229
229
  }
230
230
  >
231
231
  <ISVFloor {...props} dataDefines={dataDefines} forceRenderTime={forceRenderTime} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
232
232
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
233
233
  </ISVFloor>
234
234
  </Suspense>
235
235
  </ErrorBoundary>
236
236
  )
237
237
  } else {
238
238
  console.log(
239
239
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
240
240
  modularPackResultObj,
241
241
  )
242
242
  sgmCustomReport({
243
243
  code: 'isvModuleError',
244
244
  msg: opt,
245
245
  })
246
246
  return null
247
247
  }
248
248
  } catch (err) {
249
249
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
250
250
  sgmCustomReport({
251
251
  code: 'isvModuleError',
252
252
  msg: {
253
253
  msg: 'remoteFloorItem try catch 异常',
254
254
  err,
255
255
  },
256
256
  })
257
257
  return null
258
258
  }
259
259
  })()
260
260
  if (renderResult === null) {
261
261
  updateContainerFloorListDataFn &&
262
262
  updateContainerFloorListDataFn({
263
263
  type: 'filter',
264
264
  containerId: floorData?.uid,
265
265
  })
266
266
  console.log('renderResult === null: 命中了!')
267
267
  taroEventSendPageScrollInfo()
268
268
  } else {
269
269
  console.log('renderResult !== null: 没命中', renderResult)
270
270
  }
271
271
  return renderResult
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  floorVideInfo: object
3
2
  openAppData?: {
4
3
  [key: string]: any
5
4
  }
5
+ import Taro from '@tarojs/taro'
6
6
  floorVideInfo: object
7
7
  openAppData?: {
8
8
  [key: string]: any
9
9
  }
@@ -1 +1 @@
1
- import React from 'react'
2
1
  subMessage?: string
3
2
  viewMaxHeight?: string
4
3
  floorLoadWay?: number
5
4
  showCommonFloorHead?: boolean
6
5
  borderRadius: number
7
6
  borderTopLeftRadius?: number
8
7
  borderTopRightRadius?: number
9
8
  borderBottomLeftRadius?: number
10
9
  borderBottomRightRadius?: number
11
10
  marginTop?: number
12
11
  marginBottom?: number
13
12
  marginLeft?: number
14
13
  marginRight?: number
15
14
  paddingTop?: number
16
15
  paddingBottom?: number
17
16
  paddingLeft?: number
18
17
  paddingRight?: number
19
18
  containerId: string
20
19
  background?: string
21
20
  containerPosition?: string
22
21
  key?: string
23
22
  floors: floorItemData[]
24
23
  includeUids: string[]
25
24
  typeCn: string
26
25
  typeCode?: string
27
26
  addLuxuryStyle?: boolean
28
27
  addLuxuryBackupStyle?: boolean
29
28
  renderExtendComponent?: Function
30
29
  floorExtendData?: any
31
30
  }
32
31
  isRealTimeRender: boolean
33
32
  forceRenderTime: number
34
33
  customErrorIsvFloorModule?: React.ReactElement | undefined
35
34
  containerIndex?: number
36
35
  containerData?: any
37
36
  shopTotalInfo?: any
38
37
  selectContainerFn?: Function
39
38
  selectContainerId?: string
40
39
  placeHolderPreContainerId?: string
41
40
  children?: any
42
41
  style?: {
43
42
  [key: string]: any
44
43
  };
45
44
  layoutLeftRightMargin?: number
46
45
  }
47
46
  onFormSubmit?: Function
48
47
  onFormReset?: Function
49
48
  isFormDialog?: boolean
50
49
  forbiddenBgScrollState?: boolean
50
+ import React from 'react'
51
51
  subMessage?: string
52
52
  viewMaxHeight?: string
53
53
  floorLoadWay?: number
54
54
  showCommonFloorHead?: boolean
55
55
  borderRadius: number
56
56
  borderTopLeftRadius?: number
57
57
  borderTopRightRadius?: number
58
58
  borderBottomLeftRadius?: number
59
59
  borderBottomRightRadius?: number
60
60
  marginTop?: number
61
61
  marginBottom?: number
62
62
  marginLeft?: number
63
63
  marginRight?: number
64
64
  paddingTop?: number
65
65
  paddingBottom?: number
66
66
  paddingLeft?: number
67
67
  paddingRight?: number
68
68
  containerId: string
69
69
  background?: string
70
70
  containerPosition?: string
71
71
  key?: string
72
72
  floors: floorItemData[]
73
73
  includeUids: string[]
74
74
  typeCn: string
75
75
  typeCode?: string
76
76
  addLuxuryStyle?: boolean
77
77
  addLuxuryBackupStyle?: boolean
78
78
  renderExtendComponent?: Function
79
79
  floorExtendData?: any
80
80
  }
81
81
  isRealTimeRender: boolean
82
82
  forceRenderTime: number
83
83
  customErrorIsvFloorModule?: React.ReactElement | undefined
84
84
  containerIndex?: number
85
85
  containerData?: any
86
86
  shopTotalInfo?: any
87
87
  selectContainerFn?: Function
88
88
  selectContainerId?: string
89
89
  placeHolderPreContainerId?: string
90
90
  children?: any
91
91
  style?: {
92
92
  [key: string]: any
93
93
  };
94
94
  layoutLeftRightMargin?: number
95
95
  }
96
96
  showDayToSecondState?: boolean
97
97
  onFormSubmit?: Function
98
98
  onFormReset?: Function
99
99
  isFormDialog?: boolean
100
100
  forbiddenBgScrollState?: boolean
101
101
  evenList: any[]
102
102
  oddList: any[]
@@ -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
  }
25
24
  export interface jumpWebUrl {
26
25
  mshop: string
27
26
  pages: string
28
27
  pcCoupon: string
29
28
  couponSearch: string
30
29
  pcCouponSearch: string
31
30
  shopSecondActivity: string
32
31
  shopLight: string
33
32
  detail: string
34
33
  pcDetail: string
35
34
  mobileHome: string
36
35
  rank: string
37
36
  wqShopMember: string
38
37
  wqShopDetail: string
39
38
  wqShopSearch: string
40
39
  shopMember: string
41
40
  shopMemberPointDetail: string
42
41
  shopMemberBenefit: string
43
42
  shopMemberRule: string
44
43
  shopMemberCloseAccount: string
45
44
  shopMemberPointExchange: string
46
45
  shopMemberBonusPurchase: string
47
46
  shopMemberGood: string
48
47
  beanDetail: string
49
48
  totalPromotion: string
50
49
  mLive: string
51
50
  shopHome: string
52
51
  shopIntroduce: string
53
52
  shopSearch: string
54
53
  shopLottery: string
55
54
  shopCoupon: string
56
55
  shopWares: string
57
56
  shopFastShopping: string
58
57
  shopSpeciSeckill: string
59
58
  shopVideos: string
60
59
  shopUseShareOrderUgcContent: string
61
60
  dongDongChat: string
62
61
  samCenter: string
63
62
  samCard: string
64
63
  shopH5MemberCardAPP: string
65
64
  shopH5MemberCardM: string
66
65
  }
67
66
  export interface EventReportConfig {
68
67
  routerInfo: RouterInfo
69
68
  nativeEvent: any
70
69
  }
71
70
  export interface OptEventLogParams {
72
71
  eventId?: string
73
72
  eventParam?: string | object
74
73
  pTag?: string
75
74
  jsonParam?: {
76
75
  [key: string]: any
77
76
  }
78
77
  skuId?: string | number
79
78
  eventLevel?: string
80
79
  exposureState?: boolean
81
80
  otherParams?: object
82
81
  }
83
82
 
84
83
  export interface JumpH5ReportConfig {
85
84
  shopId?: number | string
86
85
  venderId?: number | string
87
86
  sourceValue?: string
88
87
  sourceType?: string
89
88
  }
90
89
  export interface JumpEventReportInit extends EventReportConfig {
91
90
  getConfig(opt): EventReportConfig
92
91
  updateInfo(routerInfo, logPname): void
93
92
  }
94
93
  export interface CouponUrlParams {
95
94
  batchId: number
96
95
  bindType: number
97
96
  startTime?: number
98
97
  endTime?: number
99
98
  quangoufrom?: number
100
99
  sceneId?: number
101
100
  }
102
101
  export interface JdMiniJumpParams {
103
102
  param: string | object
104
103
  sourceValue: string
105
104
  sourceType: string
106
105
  des?: any
107
106
  logEventInfo?: object
108
107
  }
109
108
  export interface LinkMiniParams {
110
109
  param?: {
111
110
  pageType?: string
112
111
  }
113
112
  appId?: string | number
114
113
  path?: string
115
114
  }
116
115
  export interface JdJumpWxappReportConfig {
117
116
  wxApiVersion: string
118
117
  wxApiUrl: string
119
118
  wqReportUrl: string
120
119
  }
120
+ export declare namespace JumpEventReportInterFace {
121
121
  export interface ShopIdsInfo {
122
122
  shopId?: number | string
123
123
  venderId?: number | string
124
124
  logEventInfo?: object
125
125
  type?: string
126
126
  }
127
127
  export interface RouterInfo {
128
128
  params: any
129
129
  pageParamStr?: string
130
130
  [key: string]: any
131
131
  }
132
132
  export interface JumpMiniPath {
133
133
  shop: string
134
134
  shopx: string
135
135
  detail: string
136
136
  searchCoupon: string
137
137
  h5: string
138
138
  jingGouHome: string
139
139
  shopFans: string
140
140
  shopLight: string
141
141
  couponSearch: string
142
142
  shopSearch: string
143
143
  }
144
144
  export interface jumpWebUrl {
145
145
  mshop: string
146
146
  pages: string
147
147
  pcCoupon: string
148
148
  couponSearch: string
149
149
  pcCouponSearch: string
150
150
  shopSecondActivity: string
151
151
  shopLight: string
152
152
  detail: string
153
153
  pcDetail: string
154
154
  mobileHome: string
155
155
  rank: string
156
156
  wqShopMember: string
157
157
  wqShopDetail: string
158
158
  wqShopSearch: string
159
159
  myCouponList: string
160
160
  myRedPacketList: string
161
161
  memberHome: string
162
162
  memberCard: string
163
163
  memberPoints: string
164
164
  memberBenefit: string
165
165
  shopMember: string
166
166
  shopMemberPointDetail: string
167
167
  shopMemberBenefit: string
168
168
  shopMemberRule: string
169
169
  shopMemberCloseAccount: string
170
170
  shopMemberPointExchange: string
171
171
  shopMemberBonusPurchase: string
172
172
  shopMemberGood: string
173
173
  beanDetail: string
174
174
  totalPromotion: string
175
175
  mLive: string
176
176
  shopHome: string
177
177
  shopIntroduce: string
178
178
  shopSearch: string
179
179
  shopLottery: string
180
180
  shopCoupon: string
181
181
  shopWares: string
182
182
  shopFastShopping: string
183
183
  shopSpeciSeckill: string
184
184
  shopVideos: string
185
185
  shopUseShareOrderUgcContent: string
186
186
  dongDongChat: string
187
187
  samCenter: string
188
188
  samCard: string
189
189
  shopH5MemberCardAPP: string
190
190
  shopH5MemberCardM: string
191
191
  }
192
192
  export interface EventReportConfig {
193
193
  routerInfo: RouterInfo
194
194
  nativeEvent: any
195
195
  }
196
196
  export interface OptEventLogParams {
197
197
  eventId?: string
198
198
  eventParam?: string | object
199
199
  pTag?: string
200
200
  jsonParam?: {
201
201
  [key: string]: any
202
202
  }
203
203
  skuId?: string | number
204
204
  eventLevel?: string
205
205
  exposureState?: boolean
206
206
  otherParams?: object
207
207
  }
208
208
 
209
209
  export interface JumpH5ReportConfig {
210
210
  shopId?: number | string
211
211
  venderId?: number | string
212
212
  sourceValue?: string
213
213
  sourceType?: string
214
214
  }
215
215
  export interface JumpEventReportInit extends EventReportConfig {
216
216
  getConfig(opt): EventReportConfig
217
217
  updateInfo(routerInfo, logPname): void
218
218
  }
219
219
  export interface CouponUrlParams {
220
220
  batchId: number
221
221
  bindType: number
222
222
  startTime?: number
223
223
  endTime?: number
224
224
  quangoufrom?: number
225
225
  sceneId?: number
226
226
  }
227
227
  export interface JdMiniJumpParams {
228
228
  param: string | object
229
229
  sourceValue: string
230
230
  sourceType: string
231
231
  des?: any
232
232
  logEventInfo?: object
233
233
  }
234
234
  export interface LinkMiniParams {
235
235
  param?: {
236
236
  pageType?: string
237
237
  }
238
238
  appId?: string | number
239
239
  path?: string
240
240
  }
241
241
  export interface JdJumpWxappReportConfig {
242
242
  wxApiVersion: string
243
243
  wxApiUrl: string
244
244
  wqReportUrl: string
245
245
  }