@conecli/cone-render 0.10.1-shop-beta.5 → 0.10.1-shop-beta.6

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 (80) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/index.h5.ts +1 -1
  4. package/dist/common/index.jd.ts +1 -1
  5. package/dist/common/index.ts +1 -1
  6. package/dist/common/index.weapp.ts +1 -1
  7. package/dist/common/pageType.ts +1 -1
  8. package/dist/common/sgmCustomCode.ts +1 -1
  9. package/dist/common/token/token.jd.ts +1 -1
  10. package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
  11. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  12. package/dist/components/base/CountDown/index.module.scss +49 -44
  13. package/dist/components/base/CountDown/index.tsx +1 -1
  14. package/dist/components/base/CustomScrollView/index-back.tsx +1 -0
  15. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  16. package/dist/components/base/CustomVideo/common.ts +1 -0
  17. package/dist/components/base/CustomVideo/index.tsx +1 -1
  18. package/dist/components/base/Dialog/index.module.scss +11 -0
  19. package/dist/components/base/ExposureSmart/index.h5.module.scss +12 -2
  20. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  21. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  22. package/dist/components/base/InViewRender/index.tsx +1 -1
  23. package/dist/components/base/ItemViewExposureSmart/index.module.scss +2 -2
  24. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
  25. package/dist/components/base/LazyLoadImage/index.h5.module.scss +8 -4
  26. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  27. package/dist/components/base/Price/Base/index.tsx +1 -1
  28. package/dist/components/base/Price/Double/index.module.scss +8 -0
  29. package/dist/components/base/Price/Double/index.tsx +1 -1
  30. package/dist/components/floorItem.tsx +1 -1
  31. package/dist/components/floorItem.weapp.tsx +1 -1
  32. package/dist/components/isv/Floor/index.tsx +1 -1
  33. package/dist/interface/common.ts +1 -1
  34. package/dist/interface/component.ts +1 -1
  35. package/dist/interface/jumpEventReport.ts +1 -1
  36. package/dist/interface/service.ts +1 -1
  37. package/dist/jumpEventReport/base.ts +1 -1
  38. package/dist/jumpEventReport/const.ts +1 -1
  39. package/dist/jumpEventReport/index.jd.ts +1 -1
  40. package/dist/jumpEventReport/index.weapp.ts +1 -1
  41. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  42. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  43. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  44. package/dist/jumpEventReport/web/report.ts +1 -1
  45. package/dist/jumpEventReport/web.base.ts +1 -1
  46. package/dist/jumpEventReport/web.jd.ts +1 -1
  47. package/dist/jumpEventReport/web.jdb.ts +1 -1
  48. package/dist/jumpEventReport/web.jdjch.ts +1 -1
  49. package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
  50. package/dist/jumpEventReport/web.pc.ts +1 -1
  51. package/dist/jumpEventReport/web.tjapp.ts +1 -1
  52. package/dist/jumpEventReport/web.tjm.ts +1 -1
  53. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  54. package/dist/libs/taroAppReport.js +2 -2
  55. package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -53
  56. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  57. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  58. package/dist/open/api/shopMember.ts +1 -1
  59. package/dist/open/api/util.ts +1 -1
  60. package/dist/sass/app.h5.scss +273 -224
  61. package/dist/sass/base.scss +142 -141
  62. package/dist/service/fetchGateway.ts +1 -1
  63. package/dist/service/fetchGateway.weapp.ts +1 -0
  64. package/dist/service/http/colorSign.ts +1 -1
  65. package/dist/service/http/const.ts +1 -1
  66. package/dist/service/http/h5Http.ts +1 -0
  67. package/dist/service/http/index.h5.ts +1 -0
  68. package/dist/service/requestServer.h5.ts +1 -0
  69. package/dist/service/requestServer.ts +1 -1
  70. package/dist/service/requestServer.weapp.ts +1 -0
  71. package/dist/utils/connectNativeJsBridge.ts +1 -1
  72. package/dist/utils/h5Utils.ts +1 -1
  73. package/dist/utils/index.h5.ts +1 -1
  74. package/dist/utils/index.ts +1 -1
  75. package/dist/utils/index.weapp.ts +1 -1
  76. package/dist/utils/jumpExtMapUtil.js +1 -0
  77. package/dist/utils/sColor.js +1 -0
  78. package/dist/utils/utils.ts +1 -1
  79. package/package.json +53 -29
  80. package/dist/utils/memberFormatUtils.js +0 -1
@@ -1 +1 @@
1
- import React from 'react'
2
1
  const {
3
2
  floorData,
4
3
  renderSourceType = BUSINESS_TYPE.ONLINE,
5
4
  builtInComponents = {},
6
5
  updateContainerFloorListDataFn,
7
6
  } = props
8
7
  const isDevMode = renderSourceType === BUSINESS_TYPE.DECORATE
9
8
  const floorModuleType = floorData?.floorExtInfo?.moduleFlag
10
9
  const FloorContentItem =
11
10
  (floorModuleType && builtInComponents[floorModuleType]) || null
12
11
  const dataDefines = getFloorDataToDataDefines(floorData)
13
12
 
14
13
  const renderDecorateDefaultModule = () => {
15
14
  return (
16
15
  <View
17
16
  style={{
18
17
  lineHeight: '120px',
19
18
  textAlign: 'center',
20
19
  }}
21
20
  >
22
21
  当前模块是{floorData.moduleName}
23
22
  </View>
24
23
  )
25
24
  }
26
25
  return FloorContentItem ? (
27
26
  <ErrorBoundary {...props}>
28
27
  <FloorContentItem {...props} dataDefines={dataDefines} />
29
28
  </ErrorBoundary>
30
29
  ) : isDevMode ? (
31
30
  renderDecorateDefaultModule()
32
31
  ) : null
33
32
  switch (moduleId) {
34
33
  case 83158:
35
34
  return 'freeLayout'
36
35
  case 99654:
37
36
  return 'activeText'
38
37
  case 100382:
39
38
  return 'superGoods'
40
39
  }
41
40
  floorList.map((item) => {
42
41
  if (!item.floorExtInfo) {
43
42
  return null
44
43
  }
45
44
  const moduleFlag = item.floorExtInfo.moduleFlag
46
45
  if (!moduleFlag) {
47
46
  const newModuleFlag = moduleId2ModuleFlag(item.moduleId)
48
47
  if (newModuleFlag) {
49
48
  item.floorExtInfo.moduleFlag = newModuleFlag
50
49
  }
51
50
  }
52
51
  })
52
+ import React from 'react'
53
53
  const { floorData, renderSourceType, builtInComponents = {} } = props
54
54
  const isDevMode = renderSourceType === BUSINESS_TYPE.DECORATE
55
55
  const floorModuleType = floorData?.floorExtInfo?.moduleFlag
56
56
  const FloorContentItem =
57
57
  (floorModuleType && builtInComponents[floorModuleType]) || null
58
58
  const dataDefines = getFloorDataToDataDefines(floorData)
59
59
 
60
60
  const renderDecorateDefaultModule = () => {
61
61
  return (
62
62
  <View
63
63
  style={{
64
64
  lineHeight: '120px',
65
65
  textAlign: 'center',
66
66
  }}
67
67
  >
68
68
  当前模块是{floorData.moduleName}
69
69
  </View>
70
70
  )
71
71
  }
72
72
  return FloorContentItem ? (
73
73
  <ErrorBoundary {...props}>
74
74
  <FloorContentItem {...props} dataDefines={dataDefines} />
75
75
  </ErrorBoundary>
76
76
  ) : isDevMode ? (
77
77
  renderDecorateDefaultModule()
78
78
  ) : null
79
79
  renderSourceType: BUSINESS_TYPE.ONLINE,
80
80
  switch (moduleId) {
81
81
  case 83158:
82
82
  return 'freeLayout'
83
83
  case 99654:
84
84
  return 'activeText'
85
85
  case 100382:
86
86
  return 'superGoods'
87
87
  }
88
88
  floorList.map((item) => {
89
89
  if (!item.floorExtInfo) {
90
90
  return null
91
91
  }
92
92
  const moduleFlag = item.floorExtInfo.moduleFlag
93
93
  if (!moduleFlag) {
94
94
  const newModuleFlag = moduleId2ModuleFlag(item.moduleId)
95
95
  if (newModuleFlag) {
96
96
  item.floorExtInfo.moduleFlag = newModuleFlag
97
97
  }
98
98
  }
99
99
  })
@@ -1 +1 @@
1
- import React, { useCallback } from 'react'
2
1
  const {
3
2
  style,
4
3
  dataDefines,
5
4
  containerBorderRadius,
6
5
  floorData,
7
6
  isRealTimeRender,
8
7
  forceRenderTime,
9
8
  } = props
10
9
  const getRenderRealTimeKeyObj = {
11
10
  key: isRealTimeRender ? Date.now() : forceRenderTime,
12
11
  }
13
12
  console.log('远程加载楼层渲染key信息', getRenderRealTimeKeyObj)
14
13
  return (
15
14
  <View className={floorStyle['wrap']} style={style}>
16
15
  {floorData?.showCommonFloorHead === false ? null : (
17
16
  <CommonFloorHead
18
17
  dataDefines={dataDefines}
19
18
  floorData={floorData}
20
19
  {...getRenderRealTimeKeyObj}
21
20
  />
22
21
  )}
23
22
  <View
24
23
  className={floorStyle['wrap']}
25
24
  style={
26
25
  containerBorderRadius
27
26
  ? {
28
27
  borderRadius: containerBorderRadius + 'px',
29
28
  }
30
29
  : {}
31
30
  }
32
31
  >
33
32
  {}
34
33
  {props.children &&
35
34
  React.cloneElement(props.children, {
36
35
  dataDefines: dataDefines,
37
36
  ...getRenderRealTimeKeyObj,
38
37
  })}
39
38
  </View>
40
39
  </View>
41
40
  )
42
41
  isRealTimeRender: false,
43
42
  forceRenderTime: 1,
43
+ import React, { useCallback } from 'react'
44
44
  const {
45
45
  style,
46
46
  dataDefines,
47
47
  containerBorderRadius,
48
48
  floorData,
49
49
  isRealTimeRender,
50
50
  forceRenderTime,
51
51
  } = props
52
52
  const getRenderRealTimeKeyObj = {
53
53
  key: isRealTimeRender ? Date.now() : forceRenderTime,
54
54
  }
55
55
  console.log('远程加载楼层渲染key信息', getRenderRealTimeKeyObj)
56
56
  return (
57
57
  <View className={floorStyle['wrap']} style={style}>
58
58
  {floorData?.showCommonFloorHead === false ? null : (
59
59
  <CommonFloorHead
60
60
  dataDefines={dataDefines}
61
61
  floorData={floorData}
62
62
  {...getRenderRealTimeKeyObj}
63
63
  />
64
64
  )}
65
65
  <View
66
66
  className={floorStyle['wrap']}
67
67
  style={
68
68
  typeof containerBorderRadius === 'number'
69
69
  ? {
70
70
  borderRadius: containerBorderRadius + 'px',
71
71
  }
72
72
  : containerBorderRadius
73
73
  }
74
74
  >
75
75
  {}
76
76
  {props.children &&
77
77
  React.cloneElement(props.children, {
78
78
  dataDefines: dataDefines,
79
79
  ...getRenderRealTimeKeyObj,
80
80
  })}
81
81
  </View>
82
82
  </View>
83
83
  )
84
84
  isRealTimeRender: false,
85
85
  forceRenderTime: 1,
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  isJingxiMiniViewState?: boolean
3
2
  floorVideInfo: object
4
3
  isFloorInfoDataByPage?: boolean
5
4
  originQueryInfo: {
6
5
  openAppData?: {
7
6
  [key: string]: any
8
7
  }
8
+ import Taro from '@tarojs/taro'
9
9
  abTestLabels: {
10
10
  [key: string]: any
11
11
  }
12
12
  isJingxiMiniViewState?: boolean
13
13
  floorVideInfo: object
14
14
  isFloorInfoDataByPage?: boolean
15
15
  originQueryInfo: {
16
16
  openAppData?: {
17
17
  [key: string]: any
18
18
  }
@@ -1 +1 @@
1
- import React from 'react'
2
1
  subMessage?: string
3
2
  viewMaxHeight?: string
4
3
  noPosition?: boolean
5
4
  floorLoadWay?: number
6
5
  floorKind?: number
7
6
  shopId?: string
8
7
  moduleDesignerType?: string
9
8
  showCommonFloorHead?: boolean
10
9
  borderRadius: number
11
10
  borderTopLeftRadius?: number
12
11
  borderTopRightRadius?: number
13
12
  borderBottomLeftRadius?: number
14
13
  borderBottomRightRadius?: number
15
14
  marginTop?: number
16
15
  marginBottom?: number
17
16
  marginLeft?: number
18
17
  marginRight?: number
19
18
  paddingTop?: number
20
19
  paddingBottom?: number
21
20
  paddingLeft?: number
22
21
  paddingRight?: number
23
22
  containerId: string
24
23
  background?: string
25
24
  containerPosition?: string
26
25
  key?: string
27
26
  floors: floorItemData[]
28
27
  includeUids: string[]
29
28
  typeCn: string
30
29
  typeCode?: string
31
30
  addLuxuryStyle?: boolean
32
31
  addLuxuryBackupStyle?: boolean
33
32
  renderExtendComponent?: Function
34
33
  insertContainerStartComponent?: Function
35
34
  floorExtendData?: any
36
35
  }
37
36
  isRealTimeRender: boolean
38
37
  forceRenderTime: number
39
38
  luxuryFixed?: boolean
40
39
  customErrorIsvFloorModule?: React.ReactElement | undefined
41
40
  containerIndex?: number
42
41
  containerData?: any
43
42
  shopTotalInfo?: any
44
43
  selectContainerFn?: Function
45
44
  selectContainerId?: string
46
45
  placeHolderPreContainerId?: string
47
46
  children?: any
48
47
  luxuryFixed?: boolean
49
48
  style?: {
50
49
  [key: string]: any
51
50
  };
52
51
  layoutLeftRightMargin?: number
53
52
  }
54
53
  isShowPlaceHolder?: boolean
55
54
  showDayToSecondState?: boolean
56
55
  onFormSubmit?: Function
57
56
  onFormReset?: Function
58
57
  isFormDialog?: boolean
59
58
  forbiddenBgScrollState?: boolean
60
59
  evenList: any[]
61
60
  oddList: any[]
61
+ import React from 'react'
62
62
  subMessage?: string
63
63
  viewMaxHeight?: string
64
64
  noPosition?: boolean
65
65
  floorLoadWay?: number
66
66
  floorKind?: number
67
67
  shopId?: string
68
68
  moduleDesignerType?: string
69
69
  showCommonFloorHead?: boolean
70
70
  borderRadius: number
71
71
  borderTopLeftRadius?: number
72
72
  borderTopRightRadius?: number
73
73
  borderBottomLeftRadius?: number
74
74
  borderBottomRightRadius?: number
75
75
  marginTop?: number
76
76
  marginBottom?: number
77
77
  marginLeft?: number
78
78
  marginRight?: number
79
79
  paddingTop?: number
80
80
  paddingBottom?: number
81
81
  paddingLeft?: number
82
82
  paddingRight?: number
83
83
  containerId: string
84
84
  background?: string
85
85
  containerPosition?: string
86
86
  key?: string
87
87
  floors: floorItemData[]
88
88
  includeUids: string[]
89
89
  typeCn: string
90
90
  typeCode?: string
91
91
  addLuxuryStyle?: boolean
92
92
  addLuxuryBackupStyle?: boolean
93
93
  renderExtendComponent?: Function
94
94
  insertContainerStartComponent?: Function
95
95
  floorExtendData?: any
96
96
  }
97
97
  isRealTimeRender: boolean
98
98
  forceRenderTime: number
99
99
  luxuryFixed?: boolean
100
100
  customErrorIsvFloorModule?: React.ReactElement | undefined
101
101
  containerIndex?: number
102
102
  containerData?: any
103
103
  shopTotalInfo?: any
104
104
  selectContainerFn?: Function
105
105
  selectContainerId?: string
106
106
  placeHolderPreContainerId?: string
107
107
  children?: any
108
108
  luxuryFixed?: boolean
109
109
  style?: {
110
110
  [key: string]: any
111
111
  };
112
112
  layoutLeftRightMargin?: number
113
113
  }
114
114
  isShowPlaceHolder?: boolean
115
115
  showDayToSecondState?: boolean
116
116
  onFormSubmit?: Function
117
117
  onFormReset?: Function
118
118
  isFormDialog?: boolean
119
119
  forbiddenBgScrollState?: boolean
120
120
  evenList: any[]
121
121
  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
  jxCouponSearch: string
25
24
  jxDetail: string
26
25
  }
27
26
  export interface jumpWebUrl {
28
27
  mshop: string
29
28
  pages: string
30
29
  pcCoupon: string
31
30
  couponSearch: string
32
31
  jxCouponSearch: string
33
32
  pcCouponSearch: string
34
33
  shopSecondActivity: string
35
34
  shopLight: string
36
35
  detail: string
37
36
  jxDetail: string
38
37
  tjDetail: string
39
38
  pcDetail: string
40
39
  mobileHome: string
41
40
  rank: string
42
41
  wqShopMember: string
43
42
  wqShopDetail: string
44
43
  wqShopSearch: string
45
44
  myCouponList: string
46
45
  myRedPacketList: string
47
46
  memberHome: string
48
47
  memberCard: string
49
48
  memberPoints: string
50
49
  memberBenefit: string
51
50
  memberScores: string
52
51
  memberScoreRule: string
53
52
  shopMember: string
54
53
  shopMemberPointDetail: string
55
54
  shopMemberBenefit: string
56
55
  shopMemberRule: string
57
56
  shopMemberCloseAccount: string
58
57
  shopMemberPointExchange: string
59
58
  shopMemberBonusPurchase: string
60
59
  shopMemberGood: string
61
60
  beanDetail: string
62
61
  totalPromotion: string
63
62
  mLive: string
64
63
  shopHome: string
65
64
  shopIntroduce: string
66
65
  shopSearch: string
67
66
  shopLottery: string
68
67
  shopCoupon: string
69
68
  shopWares: string
70
69
  shopFastShopping: string
71
70
  shopSpeciSeckill: string
72
71
  shopVideos: string
73
72
  shopMoreGoods:string
74
73
  shopUseShareOrderUgcContent: string
75
74
  dongDongChat: string
76
75
  samCenter: string
77
76
  samCard: string
78
77
  shopH5MemberCardAPP: string
79
78
  shopH5MemberCardM: string
80
79
  }
81
80
  export interface EventReportConfig {
82
81
  routerInfo: RouterInfo
83
82
  nativeEvent: any
84
83
  }
85
84
  export interface OptEventLogParams {
86
85
  eventId?: string
87
86
  eventParam?: string | object
88
87
  pTag?: string
89
88
  jsonParam?: {
90
89
  [key: string]: any
91
90
  }
92
91
  skuId?: string | number
93
92
  eventLevel?: string
94
93
  exposureState?: boolean
95
94
  otherParams?: object
96
95
  }
97
96
 
98
97
  export interface JumpH5ReportConfig {
99
98
  shopId?: number | string
100
99
  venderId?: number | string
101
100
  sourceValue?: string
102
101
  sourceType?: string
103
102
  }
104
103
  export interface JumpEventReportInit extends EventReportConfig {
105
104
  getConfig(opt): EventReportConfig
106
105
  updateInfo(routerInfo, logPname): void
107
106
  }
108
107
  export interface CouponUrlParams {
109
108
  batchId: number
110
109
  bindType: number
111
110
  startTime?: number
112
111
  endTime?: number
113
112
  quangoufrom?: number
114
113
  sceneId?: number
115
114
  }
116
115
  export interface JdMiniJumpParams {
117
116
  param: string | object
118
117
  sourceValue?: string
119
118
  sourceType?: string
120
119
  des?: any
121
120
  logEventInfo?: object
122
121
  }
123
122
  export interface LinkMiniParams {
124
123
  param?: {
125
124
  pageType?: string
126
125
  }
127
126
  appId?: string | number
128
127
  path?: string
129
128
  }
130
129
  export interface JdJumpWxappReportConfig {
131
130
  wxApiVersion: string
132
131
  wxApiUrl: string
133
132
  wqReportUrl: string
134
133
  }
134
+ export declare namespace JumpEventReportInterFace {
135
135
  export interface ShopIdsInfo {
136
136
  shopId?: number | string;
137
137
  venderId?: number | string;
138
138
  logEventInfo?: object;
139
139
  type?: string;
140
140
  }
141
141
  export interface RouterInfo {
142
142
  params: any;
143
143
  pageParamStr?: string;
144
144
  [key: string]: any;
145
145
  }
146
146
  export interface JumpMiniPath {
147
147
  shop: string;
148
148
  shopx: string;
149
149
  detail: string;
150
150
  searchCoupon: string;
151
151
  h5: string;
152
152
  jingGouHome: string;
153
153
  shopFans: string;
154
154
  shopLight: string;
155
155
  couponSearch: string;
156
156
  shopSearch: string;
157
157
  jxCouponSearch: string;
158
158
  jxDetail: string;
159
159
  jdLive: string;
160
160
  }
161
161
  export interface jumpWebUrl {
162
162
  mshop: string;
163
163
  pages: string;
164
164
  pcCoupon: string;
165
165
  couponSearch: string;
166
166
  jxCouponSearch: string;
167
167
  pcCouponSearch: string;
168
168
  shopSecondActivity: string;
169
169
  shopLight: string;
170
170
  detail: string;
171
171
  jxDetail: string;
172
172
  tjDetail: string;
173
173
  pcDetail: string;
174
174
  mobileHome: string;
175
175
  rank: string;
176
176
  wqShopMember: string;
177
177
  wqShopDetail: string;
178
178
  wqShopSearch: string;
179
179
  myCouponList: string;
180
180
  myRedPacketList: string;
181
181
  memberHome: string;
182
182
  memberCard: string;
183
183
  memberPoints: string;
184
184
  memberBenefit: string;
185
185
  memberScores: string;
186
186
  memberScoreRule: string;
187
187
  memberProduct: string;
188
188
  shopMember: string;
189
189
  shopMemberPointDetail: string;
190
190
  shopMemberBenefit: string;
191
191
  shopMemberRule: string;
192
192
  shopMemberCloseAccount: string;
193
193
  shopMemberPointExchange: string;
194
194
  shopMemberBonusPurchase: string;
195
195
  shopMemberGood: string;
196
196
  beanDetail: string;
197
197
  totalPromotion: string;
198
198
  mLive: string;
199
199
  shopHome: string;
200
200
  shopIntroduce: string;
201
201
  shopSearch: string;
202
202
  shopLottery: string;
203
203
  shopCoupon: string;
204
204
  shopWares: string;
205
205
  shopFastShopping: string;
206
206
  shopSpeciSeckill: string;
207
207
  shopVideos: string;
208
208
  shopMoreGoods: string;
209
209
  shopUseShareOrderUgcContent: string;
210
210
  dongDongChat: string;
211
211
  samCenter: string;
212
212
  samCard: string;
213
213
  shopH5MemberCardAPP: string;
214
214
  shopH5MemberCardM: string;
215
215
  sageAuthorHome: string;
216
216
  }
217
217
  export interface EventReportConfig {
218
218
  routerInfo: RouterInfo;
219
219
  nativeEvent: any;
220
220
  }
221
221
  export interface OptEventLogParams {
222
222
  eventId?: string;
223
223
  eventParam?: string | object;
224
224
  pTag?: string;
225
225
  jsonParam?: {
226
226
  [key: string]: any;
227
227
  };
228
228
  skuId?: string | number;
229
229
  eventLevel?: string;
230
230
  exposureState?: boolean;
231
231
  otherParams?: object;
232
232
  }
233
233
 
234
234
  export interface JumpH5ReportConfig {
235
235
  shopId?: number | string;
236
236
  venderId?: number | string;
237
237
  sourceValue?: string;
238
238
  sourceType?: string;
239
239
  }
240
240
  export interface JumpEventReportInit extends EventReportConfig {
241
241
  getConfig(opt): EventReportConfig;
242
242
  updateInfo(routerInfo, logPname): void;
243
243
  }
244
244
  export interface CouponUrlParams {
245
245
  batchId: number;
246
246
  bindType: number;
247
247
  startTime?: number;
248
248
  endTime?: number;
249
249
  quangoufrom?: number;
250
250
  sceneId?: number;
251
251
  }
252
252
  export interface JdMiniJumpParams {
253
253
  param: string | object;
254
254
  sourceValue?: string;
255
255
  sourceType?: string;
256
256
  des?: any;
257
257
  logEventInfo?: object;
258
258
  }
259
259
  export interface LinkMiniParams {
260
260
  param?: {
261
261
  pageType?: string;
262
262
  };
263
263
  appId?: string | number;
264
264
  path?: string;
265
265
  }
266
266
  export interface JdJumpWxappReportConfig {
267
267
  wxApiVersion: string;
268
268
  wxApiUrl: string;
269
269
  wqReportUrl: string;
270
270
  }