@conecli/cone-render 0.10.1-isv2.4 → 0.10.1-isv3.1

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 (105) hide show
  1. package/README.md +1 -1
  2. package/dist/api/index.ts +1 -1
  3. package/dist/common/accessibility.h5.ts +1 -0
  4. package/dist/common/accessibility.ts +1 -0
  5. package/dist/common/const.ts +1 -1
  6. package/dist/common/index.h5.ts +1 -1
  7. package/dist/common/index.jd.ts +1 -1
  8. package/dist/common/index.ts +1 -1
  9. package/dist/common/index.weapp.ts +1 -1
  10. package/dist/common/jdplayerSdk.weapp.tsx +1 -0
  11. package/dist/common/jssdk.weapp.ts +1 -0
  12. package/dist/common/pageType.ts +1 -1
  13. package/dist/common/token/index.h5.ts +1 -1
  14. package/dist/common/token/token.jd.ts +1 -1
  15. package/dist/common/wxappApi.ascf.ts +1 -0
  16. package/dist/components/ErrorBoundary.tsx +1 -1
  17. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  18. package/dist/components/base/CountDown/index.tsx +1 -1
  19. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  20. package/dist/components/base/CustomVideo/index.tsx +1 -1
  21. package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
  22. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  23. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  24. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  25. package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
  26. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
  27. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  28. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  29. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  30. package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
  31. package/dist/components/base/NetworkDataError/const.ts +1 -1
  32. package/dist/components/base/NetworkDataError/index.module.scss +118 -72
  33. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  34. package/dist/components/base/Price/Base/index.module.scss +12 -0
  35. package/dist/components/base/Price/Base/index.tsx +1 -1
  36. package/dist/components/base/Price/Double/index.module.scss +25 -1
  37. package/dist/components/base/Price/Double/index.tsx +1 -1
  38. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  39. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  40. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  41. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  42. package/dist/components/floorItem.tsx +1 -1
  43. package/dist/components/isv/Floor/index.tsx +1 -1
  44. package/dist/components/remoteFloorItem.tsx +1 -1
  45. package/dist/config/env.ts +1 -1
  46. package/dist/interface/common.ts +1 -1
  47. package/dist/interface/component.ts +1 -1
  48. package/dist/interface/jumpEventReport.ts +1 -1
  49. package/dist/interface/service.ts +1 -1
  50. package/dist/jumpEventReport/base.ts +1 -1
  51. package/dist/jumpEventReport/const.ts +1 -1
  52. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  53. package/dist/jumpEventReport/index.h5.ts +1 -1
  54. package/dist/jumpEventReport/index.jd.ts +1 -1
  55. package/dist/jumpEventReport/index.weapp.ts +1 -1
  56. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  57. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  58. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
  59. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  60. package/dist/jumpEventReport/web/report.ts +1 -1
  61. package/dist/jumpEventReport/web.base.ts +1 -1
  62. package/dist/jumpEventReport/web.jd.ts +1 -1
  63. package/dist/jumpEventReport/web.pc.ts +1 -1
  64. package/dist/jumpEventReport/web.tjm.ts +1 -1
  65. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  66. package/dist/language/en_US.json +395 -0
  67. package/dist/language/zh_CN.json +395 -0
  68. package/dist/language/zh_HK.json +395 -0
  69. package/dist/libs/openShopBridge.js +161 -0
  70. package/dist/libs/openShopBridge.min.js +1 -0
  71. package/dist/libs/taroAppReport.js +2 -2
  72. package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
  73. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  74. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  75. package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
  76. package/dist/open/api/shopMember.ts +1 -1
  77. package/dist/open/api/shopMember.weapp.ts +1 -0
  78. package/dist/open/api/track.ts +1 -1
  79. package/dist/open/api/util.ts +1 -1
  80. package/dist/open/components/index.ts +1 -1
  81. package/dist/open/index.ts +1 -1
  82. package/dist/sass/app.h5.scss +6 -1
  83. package/dist/sass/base.scss +8 -4
  84. package/dist/service/fetchGateway.ts +1 -1
  85. package/dist/service/fetchGateway.weapp.ts +1 -1
  86. package/dist/service/fetchJsonp.weapp.ts +1 -0
  87. package/dist/service/http/h5Http.ts +1 -1
  88. package/dist/service/http/httpInterceptors.weapp.ts +1 -0
  89. package/dist/service/requestServer.h5.ts +1 -1
  90. package/dist/service/requestServer.ts +1 -1
  91. package/dist/service/requestServer.weapp.ts +1 -1
  92. package/dist/utils/connectNativeJsBridge.ts +1 -1
  93. package/dist/utils/h5Utils.ts +1 -1
  94. package/dist/utils/harmonyCallRouter.h5.ts +1 -0
  95. package/dist/utils/harmonyCallRouter.ts +0 -0
  96. package/dist/utils/index.h5.ts +1 -1
  97. package/dist/utils/index.ts +1 -1
  98. package/dist/utils/index.weapp.ts +1 -1
  99. package/dist/utils/jumpExtMapUtil.weapp.ts +1 -0
  100. package/dist/utils/sColor.weapp.ts +1 -0
  101. package/dist/utils/utils.ts +1 -1
  102. package/package.json +42 -36
  103. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  104. package/dist/utils/priceUtils.js +0 -1
  105. /package/dist/utils/{sColor.js → sColor.ts} +0 -0
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  getBundleUrl,
3
2
  getBundleFileName,
4
3
  formatPackResult,
5
4
  getTaroVersion
6
5
  const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
7
6
  const dataDefines = getFloorDataToDataDefines(floorData)
8
7
  const [forceRenderTime,setForceRenderTime] = useState(1)
9
8
  useEffect(() => {
10
9
  isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
11
10
  setForceRenderTime(Date.now())
12
11
  })
13
12
  return () => {
14
13
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
15
14
  }
16
15
  },[])
17
16
 
18
17
  const getFloorSetHeight = (item) => {
19
18
  const getHeight = item?.floorExtInfo?.floorHeight
20
19
  ? Number(item?.floorExtInfo?.floorHeight)
21
20
  : 200
22
21
  return getHeight > 0 ? getHeight : 200
23
22
  }
24
23
  console.log(
25
24
  '>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
26
25
  )
27
26
  const renderResult = (() => {
28
27
  try {
29
28
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
30
29
  console.log(
31
30
  '==========当前业务类型renderSourceType、楼层floorId: ',
32
31
  renderSourceType,
33
32
  floorData.uid,
34
33
  )
35
34
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
36
35
  const modularPackResultObj = formatPackResult(modularPackResult)
37
36
  const bundleUrl = getBundleUrl(modularPackResultObj)
38
37
  const bundleFileName = getBundleFileName(modularPackResultObj)
39
38
  const taroVersion = getTaroVersion(modularPackResultObj)
40
39
  const opt = {
41
40
  msg: `店铺h5楼层隐藏不显示。原因:模块数据不完备,楼层过滤。`,
42
41
  floorIdx: floorData?.floorIdx,
43
42
  uid: floorData?.uid,
44
43
  shopId: floorData?.floorExtInfo?.shopId,
45
44
  moduleId: floorData?.moduleId,
46
45
  moduleDesignerType: floorData?.floorExtInfo?.moduleDesignerType,
47
46
  floorLoadWay: floorData?.floorExtInfo?.floorLoadWay,
48
47
  floorKind: floorData?.floorExtInfo?.floorKind,
49
48
  middleTemplateId: floorData?.middleTemplateId,
50
49
  modularPackResult: {
51
50
  bundleUrl,
52
51
  taroVersion
53
52
  }
54
53
  }
55
54
  if (bundleUrl && bundleFileName) {
56
55
  let ISVModule =
57
56
  taroJdBaseInfo?.renderedIsvComponents[
58
57
  `${floorData.uid}_${bundleFileName}`
59
58
  ] || null
60
59
  if (!ISVModule) {
61
60
  ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
62
61
  console.log(
63
62
  '1|加载isv模块==========走lazy import生成新的isv模块react组件',
64
63
  bundleFileName,
65
64
  )
66
65
  taroJdBaseInfo.renderedIsvComponents[
67
66
  `${floorData.uid}_${bundleFileName}`
68
67
  ] = ISVModule
69
68
  console.log(
70
69
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
71
70
  bundleFileName,
72
71
  window['taroJshopH5WebpackJsonp'].find(
73
72
  (item) => item[0][0] == bundleFileName,
74
73
  ),
75
74
  )
76
75
  } else {
77
76
  console.log(
78
77
  '1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
79
78
  taroJdBaseInfo,
80
79
  )
81
80
  console.log(
82
81
  '2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
83
82
  taroJdBaseInfo.renderedIsvComponents[
84
83
  `${floorData.uid}_${bundleFileName}`
85
84
  ],
86
85
  )
87
86
  }
88
87
  const _floorHeight = getFloorSetHeight(floorData)
89
88
  return (
90
89
  <ErrorBoundary {...props}>
91
90
  <Suspense
92
91
  fallback={
93
92
  <View
94
93
  style={{
95
94
  position: 'relative',
96
95
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
97
96
  height: `${_floorHeight}px`,
98
97
  }}
99
98
  ></View>
100
99
  }
101
100
  >
102
101
  <ISVFloor {...props} dataDefines={dataDefines} forceRenderTime={forceRenderTime} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
103
102
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
104
103
  </ISVFloor>
105
104
  </Suspense>
106
105
  </ErrorBoundary>
107
106
  )
108
107
  } else {
109
108
  console.log(
110
109
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
111
110
  modularPackResultObj,
112
111
  )
113
112
  sgmCustomReport({
114
113
  code: getSgmCustomCode(handleSgmCodeTaroVersion(floorData?.floorExtInfo?.floorKind === FLOOR_KIND.PDC_SYSTEM_MODULE ? SgmCustomCode.SYSTEMPDCMODULE_DATA : SgmCustomCode.REMOTEMODULE_DATA)),
115
114
  msg: opt,
116
115
  })
117
116
  return null
118
117
  }
119
118
  } catch (err) {
120
119
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
121
120
  return null
122
121
  }
123
122
  })()
124
123
  if (renderResult === null) {
125
124
  updateContainerFloorListDataFn &&
126
125
  updateContainerFloorListDataFn({
127
126
  type: 'filter',
128
127
  containerId: floorData?.uid,
129
128
  })
130
129
  console.log('renderResult === null: 命中了!')
131
130
  taroEventSendPageScrollInfo()
132
131
  } else {
133
132
  console.log('renderResult !== null: 没命中', renderResult)
134
133
  }
135
134
  return renderResult
135
+ import Taro from '@tarojs/taro';
136
136
  getBundleUrl,
137
137
  getBundleFileName,
138
138
  formatPackResult,
139
139
  getTaroVersion,
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 &&
145
145
  Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
146
146
  setForceRenderTime(Date.now());
147
147
  });
148
148
  return () => {
149
149
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT);
150
150
  };
151
151
  }, []);
152
152
 
153
153
  const getFloorSetHeight = (item) => {
154
154
  const getHeight = item?.floorExtInfo?.floorHeight
155
155
  ? Number(item?.floorExtInfo?.floorHeight)
156
156
  : 200;
157
157
  return getHeight > 0 ? getHeight : 200;
158
158
  };
159
159
  console.log('>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>');
160
160
  const renderResult = (() => {
161
161
  try {
162
162
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>');
163
163
  console.log(
164
164
  '==========当前业务类型renderSourceType、楼层floorId: ',
165
165
  renderSourceType,
166
166
  floorData.uid,
167
167
  );
168
168
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult;
169
169
  const modularPackResultObj = formatPackResult(modularPackResult);
170
170
  const bundleUrl = getBundleUrl(modularPackResultObj);
171
171
  const bundleFileName = getBundleFileName(modularPackResultObj);
172
172
  const taroVersion = getTaroVersion(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: {
184
184
  bundleUrl,
185
185
  taroVersion,
186
186
  },
187
187
  };
188
188
  if (bundleUrl && bundleFileName) {
189
189
  let ISVModule = taroJdBaseInfo?.renderedIsvComponents[bundleFileName] || 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[bundleFileName] = ISVModule;
197
197
  console.log(
198
198
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
199
199
  bundleFileName,
200
200
  window['taroJshopH5WebpackJsonp'].find((item) => item[0][0] == bundleFileName),
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[bundleFileName],
210
210
  );
211
211
  }
212
212
  const _floorHeight = getFloorSetHeight(floorData);
213
213
  return (
214
214
  <ErrorBoundary {...props}>
215
215
  <Suspense
216
216
  fallback={
217
217
  <View
218
218
  style={{
219
219
  position: 'relative',
220
220
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
221
221
  height: `${_floorHeight}px`,
222
222
  }}
223
223
  ></View>
224
224
  }
225
225
  >
226
226
  <ISVFloor
227
227
  {...props}
228
228
  dataDefines={dataDefines}
229
229
  forceRenderTime={forceRenderTime}
230
230
  isRealTimeRender={realTimerRenderTypeList.includes(
231
231
  taroJdBaseInfo.info.pageInfo.dataType,
232
232
  )}
233
233
  >
234
234
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
235
235
  </ISVFloor>
236
236
  </Suspense>
237
237
  </ErrorBoundary>
238
238
  );
239
239
  } else {
240
240
  console.log(
241
241
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
242
242
  modularPackResultObj,
243
243
  );
244
244
  draBusinessCustomReport({
245
245
  eventName: 'business',
246
246
  errorName: getSgmCustomCode(
247
247
  handleSgmCodeTaroVersion(
248
248
  floorData?.floorExtInfo?.floorKind === FLOOR_KIND.PDC_SYSTEM_MODULE
249
249
  ? SgmCustomCode.SYSTEMPDCMODULE_DATA
250
250
  : SgmCustomCode.REMOTEMODULE_DATA,
251
251
  ),
252
252
  ),
253
253
  errorMessage: '店铺h5楼层隐藏不显示。原因:模块数据不完备,楼层过滤。',
254
254
  extraData: JSON.stringify(opt),
255
255
  });
256
256
  return null;
257
257
  }
258
258
  } catch (err) {
259
259
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err);
260
260
  return null;
261
261
  }
262
262
  })();
263
263
  if (renderResult === null) {
264
264
  updateContainerFloorListDataFn &&
265
265
  updateContainerFloorListDataFn({
266
266
  type: 'filter',
267
267
  containerId: floorData?.uid,
268
268
  });
269
269
  console.log('renderResult === null: 命中了!');
270
270
  taroEventSendPageScrollInfo();
271
271
  } else {
272
272
  console.log('renderResult !== null: 没命中', renderResult);
273
273
  }
274
274
  return renderResult;
@@ -1 +1 @@
1
- const buildCopyType = process.env.BUILD_COPY_TYPE || 'none'
2
1
  isPublishToWxapp || (!isBetaServer && !isDev)
3
2
  ? 'https:'
4
3
  : isH5
5
4
  ? ''
6
5
  : 'http:'
6
+ const buildCopyType = process.env.BUILD_COPY_TYPE || 'none';
7
7
  isPublishToWxapp || (!isBetaServer && !isDev) ? 'https:' : isH5 ? '' : 'http:';
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro';
2
1
  export interface BaseConfigInfo {
3
2
  abTestLabels: {
4
3
  [key: string]: any;
5
4
  };
6
5
  nonSellableSkuids: {
7
6
  [key: string]: number;
8
7
  };
9
8
  loginState: boolean;
10
9
  cookiesStr: string;
11
10
  isImmersive: boolean;
12
11
  isJingGouMiniViewState?: boolean;
13
12
  isJingxiMiniViewState?: boolean;
14
13
  shopInfo: {
15
14
  shopId?: string | number;
16
15
  venderId?: string | number;
17
16
  };
18
17
  pageInfo: {
19
18
  appId?: string;
20
19
  shopId?: string | number;
21
20
  venderId?: string | number;
22
21
  logoSquare?: string;
23
22
  logoUrl?: string;
24
23
  address?: string | null;
25
24
  addressCommaStr?: string | null;
26
25
  un_area?: string | null;
27
26
  userLbsAddress?: string;
28
27
  shopName?: string;
29
28
  jumpTab?: string;
30
29
  sourceType?: string;
31
30
  sourceValue?: string;
32
31
  moduleId?: string;
33
32
  entrance?: string;
34
33
  EA_PTAG?: string;
35
34
  ptag?: string;
36
35
  originReferer?: string;
37
36
  recBroker?: string;
38
37
  rcmdRelateSkuId?: string;
39
38
  tabSpm?: string;
40
39
  skuId?: string;
41
40
  keywords?: string;
42
41
  sceneId?: string;
43
42
  miniScrollInfo?: {
44
43
  scrollLeft: number;
45
44
  scrollTop: number;
46
45
  scrollHeight: number;
47
46
  scrollWidth: number;
48
47
  deltaX: number;
49
48
  deltaY: number;
50
49
  };
51
50
  tabsLoadAllDataInfo: {
52
51
  [key: string]: boolean;
53
52
  };
54
53
  wxBusinessType: string;
55
54
  vapptype: string;
56
55
  pageType: string;
57
56
  dataType: string;
58
57
  floorExposureInfo: object;
59
58
  floorVideInfo: object;
60
59
  isExposureState?: boolean;
61
60
  appLazyContainerList?: string[];
62
61
  appLazyFinishContainerList?: [];
63
62
  shopStickyAndToTopInfo?: {
64
63
  toTop: boolean;
65
64
  sticky: boolean;
66
65
  };
67
66
  isVipShop?: boolean;
68
67
  updateShopInfosState?: boolean;
69
68
  pageScrollTop: number;
70
69
  shopNavBarHeight: number;
71
70
  isFloorInfoDataByPage?: boolean;
72
71
  };
73
72
  lazyContainer?: {
74
73
  wellChosen: {
75
74
  appLazyContainerList?: string[];
76
75
  appLazyFinishContainerList?: string[];
77
76
  };
78
77
  };
79
78
  queryLogInfo?: {
80
79
  sourceType: string;
81
80
  sourceValue: string;
82
81
  moduleId?: string;
83
82
  entrance?: string;
84
83
  };
85
84
  queryInfo: {
86
85
  shopId?: string | number;
87
86
  venderId?: string | number;
88
87
  shopName?: string;
89
88
  [key: string]: any;
90
89
  };
91
90
  originQueryInfo: {
92
91
  shopId?: string | number;
93
92
  venderId?: string | number;
94
93
  shopName?: string;
95
94
  [key: string]: any;
96
95
  };
97
96
  sysInfo: {
98
97
  [key: string]: any;
99
98
  };
100
99
  userInfo: {
101
100
  pin?: string;
102
101
  encodePin?: string;
103
102
  ptkey?: string;
104
103
  wqCookie?: string | null;
105
104
  wxappVersion?: string;
106
105
  wqAuthToken?: string;
107
106
  wqVisitkey?: string;
108
107
  };
109
108
  openAppData?: {
110
109
  [key: string]: any;
111
110
  };
112
111
  }
113
112
 
114
113
  export interface OneKeyJoinMemberParamInfo {
115
114
  title?: string;
116
115
  shopId?: string | number;
117
116
  venderId?: string | number;
118
117
  businessSource?: keyof OneKeyJoinMemberBusinessSource;
119
118
  }
120
119
  export interface OneKeyJoinMemberBusinessSource {
121
120
  isv;
122
121
  lv0;
123
122
  }
124
123
  export type lazyContainer = {
125
124
  [key in 'string']?: {
126
125
  appLazyFinishContainerList: any[];
127
126
  appLazyContainerList: any[];
128
127
  };
129
128
  };
130
129
  export type renderedIsvComponents = {
131
130
  [key in 'string']?: any;
132
131
  };
133
132
  export type MiniApplogUtil = any;
134
133
  export type MiniAppLog = any;
135
134
  export type WxAppLogin = any;
136
135
  export type WxAppUserInfo = any;
137
136
  export type wxAppReportManage = any;
138
137
  export type WxAppReportGDT = any;
139
138
  export type WxAppNavigator = any;
140
139
  export type wxAppParamsSign = any;
141
140
  export type wxAppFingerReportInstance = any;
142
141
  export type wxAppSubsGuider = any;
143
142
  export type wxAppAddressV2api = any;
144
143
  [key: string]: any;
144
+ import Taro from '@tarojs/taro';
145
145
  export interface BaseConfigInfo {
146
146
  abTestLabels: {
147
147
  [key: string]: any;
148
148
  };
149
149
  nonSellableSkuids: {
150
150
  [key: string]: number;
151
151
  };
152
152
  loginState: boolean;
153
153
  cookiesStr: string;
154
154
  isImmersive: boolean;
155
155
  baseAddCartSwitch: boolean;
156
156
  isJingGouMiniViewState?: boolean;
157
157
  isJingxiMiniViewState?: boolean;
158
158
  shopInfo: {
159
159
  shopId?: string | number;
160
160
  venderId?: string | number;
161
161
  };
162
162
  pageInfo: {
163
163
  appId?: string;
164
164
  shopId?: string | number;
165
165
  venderId?: string | number;
166
166
  logoSquare?: string;
167
167
  logoUrl?: string;
168
168
  address?: string | null;
169
169
  addressCommaStr?: string | null;
170
170
  fullAddress?: string | null;
171
171
  un_area?: string | null;
172
172
  userLbsAddress?: string;
173
173
  shopName?: string;
174
174
  jumpTab?: string;
175
175
  sourceType?: string;
176
176
  sourceValue?: string;
177
177
  moduleId?: string;
178
178
  entrance?: string;
179
179
  EA_PTAG?: string;
180
180
  ptag?: string;
181
181
  originReferer?: string;
182
182
  recBroker?: string;
183
183
  rcmdRelateSkuId?: string;
184
184
  tabSpm?: string;
185
185
  skuId?: string;
186
186
  keywords?: string;
187
187
  sceneId?: string;
188
188
  miniScrollInfo?: {
189
189
  scrollLeft: number;
190
190
  scrollTop: number;
191
191
  scrollHeight: number;
192
192
  scrollWidth: number;
193
193
  deltaX: number;
194
194
  deltaY: number;
195
195
  };
196
196
  tabsLoadAllDataInfo: {
197
197
  [key: string]: boolean;
198
198
  };
199
199
  wxBusinessType: string;
200
200
  vapptype: string;
201
201
  pageType: string;
202
202
  dataType: string;
203
203
  floorExposureInfo: object;
204
204
  floorVideInfo: object;
205
205
  isExposureState?: boolean;
206
206
  appLazyContainerList?: string[];
207
207
  appLazyFinishContainerList?: [];
208
208
  shopStickyAndToTopInfo?: {
209
209
  toTop: boolean;
210
210
  sticky: boolean;
211
211
  };
212
212
  isVipShop?: boolean;
213
213
  isJdShowNativeImmersivePlayer?: boolean;
214
214
  isSuperBrandShop?: boolean;
215
215
  updateShopInfosState?: boolean;
216
216
  pageScrollTop: number;
217
217
  shopNavBarHeight: number;
218
218
  isFloorInfoDataByPage?: boolean;
219
219
  };
220
220
  lazyContainer?: {
221
221
  wellChosen: {
222
222
  appLazyContainerList?: string[];
223
223
  appLazyFinishContainerList?: string[];
224
224
  };
225
225
  };
226
226
  queryLogInfo?: {
227
227
  sourceType: string;
228
228
  sourceValue: string;
229
229
  moduleId?: string;
230
230
  entrance?: string;
231
231
  };
232
232
  queryInfo: {
233
233
  shopId?: string | number;
234
234
  venderId?: string | number;
235
235
  shopName?: string;
236
236
  [key: string]: any;
237
237
  };
238
238
  originQueryInfo: {
239
239
  shopId?: string | number;
240
240
  venderId?: string | number;
241
241
  shopName?: string;
242
242
  [key: string]: any;
243
243
  };
244
244
  sysInfo: {
245
245
  [key: string]: any;
246
246
  };
247
247
  userInfo: {
248
248
  pin?: string;
249
249
  encodePin?: string;
250
250
  ptkey?: string;
251
251
  wqCookie?: string | null;
252
252
  wxappVersion?: string;
253
253
  wqAuthToken?: string;
254
254
  wqVisitkey?: string;
255
255
  };
256
256
  openAppData?: {
257
257
  [key: string]: any;
258
258
  };
259
259
  }
260
260
 
261
261
  export interface OneKeyJoinMemberParamInfo {
262
262
  title?: string;
263
263
  shopId?: string | number;
264
264
  venderId?: string | number;
265
265
  businessSource?: keyof OneKeyJoinMemberBusinessSource;
266
266
  }
267
267
  export interface OneKeyJoinMemberBusinessSource {
268
268
  isv;
269
269
  lv0;
270
270
  }
271
271
  export type lazyContainer = {
272
272
  [key in 'string']?: {
273
273
  appLazyFinishContainerList: any[];
274
274
  appLazyContainerList: any[];
275
275
  };
276
276
  };
277
277
  export type renderedIsvComponents = {
278
278
  [key in 'string']?: any;
279
279
  };
280
280
  export type MiniApplogUtil = any;
281
281
  export type MiniAppLog = any;
282
282
  export type WxAppLogin = any;
283
283
  export type WxAppUserInfo = any;
284
284
  export type wxAppReportManage = any;
285
285
  export type WxAppReportGDT = any;
286
286
  export type WxAppNavigator = any;
287
287
  export type wxAppParamsSign = any;
288
288
  export type wxAppFingerReportInstance = any;
289
289
  export type wxAppSubsGuider = any;
290
290
  export type wxAppAddressV2api = any;
291
291
  [key: string]: any;