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

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