@conecli/cone-render 0.9.1-shop2.3 → 0.9.1-shop2.30

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