@conecli/cone-render 0.8.38 → 0.8.40

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