@conecli/cone-render 0.10.1-shop3.8 → 0.10.1-shop3.80

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 (109) 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 +0 -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.ts +1 -1
  12. package/dist/common/jssdk.weapp.ts +1 -0
  13. package/dist/common/pageType.ts +1 -1
  14. package/dist/common/token/index.h5.ts +1 -1
  15. package/dist/common/token/token.jd.ts +1 -1
  16. package/dist/common/wxappApi.ts +1 -1
  17. package/dist/components/ErrorBoundary.tsx +1 -1
  18. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  19. package/dist/components/base/CountDown/index.tsx +1 -1
  20. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  21. package/dist/components/base/CustomVideo/index.tsx +1 -1
  22. package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
  23. package/dist/components/base/ExposureSmart/index.h5.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.weapp.tsx +1 -0
  30. package/dist/components/base/NetworkDataError/const.ts +1 -1
  31. package/dist/components/base/NetworkDataError/index.module.scss +118 -72
  32. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  33. package/dist/components/base/Price/Base/index.module.scss +12 -0
  34. package/dist/components/base/Price/Base/index.tsx +1 -1
  35. package/dist/components/base/Price/Double/index.module.scss +24 -0
  36. package/dist/components/base/Price/Double/index.tsx +1 -1
  37. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  38. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  39. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  40. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  41. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  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/interface/common.ts +1 -1
  46. package/dist/interface/component.ts +1 -1
  47. package/dist/interface/jumpEventReport.ts +1 -1
  48. package/dist/interface/service.ts +1 -1
  49. package/dist/jumpEventReport/base.ts +1 -1
  50. package/dist/jumpEventReport/const.ts +1 -1
  51. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  52. package/dist/jumpEventReport/index.h5.ts +1 -1
  53. package/dist/jumpEventReport/index.jd.ts +1 -1
  54. package/dist/jumpEventReport/index.weapp.ts +1 -1
  55. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  56. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  57. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
  58. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  59. package/dist/jumpEventReport/web/report.ts +1 -1
  60. package/dist/jumpEventReport/web.base.ts +1 -1
  61. package/dist/jumpEventReport/web.jd.ts +1 -1
  62. package/dist/jumpEventReport/web.pc.ts +1 -1
  63. package/dist/jumpEventReport/web.tjm.ts +1 -1
  64. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  65. package/dist/language/en_US.json +274 -0
  66. package/dist/language/zh_CN.json +274 -0
  67. package/dist/language/zh_HK.json +274 -0
  68. package/dist/libs/openShopBridge.js +161 -0
  69. package/dist/libs/openShopBridge.min.js +1 -0
  70. package/dist/libs/taroAppReport.js +2 -2
  71. package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
  72. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  73. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  74. package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
  75. package/dist/open/api/environment.ts +1 -1
  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 +27 -1
  83. package/dist/service/fetchGateway.ts +1 -1
  84. package/dist/service/fetchGateway.weapp.ts +1 -1
  85. package/dist/service/fetchJsonp.weapp.ts +1 -0
  86. package/dist/service/http/const.ts +1 -1
  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.ts +1 -0
  100. package/dist/utils/log.ts +1 -0
  101. package/dist/utils/{sColor.js → sColor.ts} +1 -1
  102. package/dist/utils/sColor.weapp.ts +1 -0
  103. package/dist/utils/utils.ts +1 -1
  104. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  105. package/dist/wxapp/common/user_info.js +1 -1
  106. package/package.json +162 -141
  107. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  108. package/dist/utils/priceUtils.js +0 -1
  109. /package/dist/utils/{jumpExtMapUtil.js → jumpExtMapUtil.h5.ts} +0 -0
@@ -1 +1 @@
1
- import React from 'react';
2
1
  NETWORK_DATA_TYPE,
3
2
  M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
4
3
  APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
5
4
  containerFloorListData: ComponentInterFace.ContainerItemData[];
6
5
  className?: string;
7
6
  containerItemClass?: object;
8
7
  style?: object;
9
8
  hasGoodsFeeds?: boolean;
10
9
  builtInComponents?: object;
11
10
  loadingEndComponentFn?: functionType;
12
11
  sectionType?: string;
13
12
  updateShopFloorDataFn?: functionType;
14
13
  updateContainerFloorListDataFn?: functionType;
15
14
  refreshFloorListDataFn?: functionType;
16
15
  refreshFloorListDataBtnLabel?: string;
17
16
  customErrorIsvFloorModule?: React.ReactElement;
18
17
  componentExtend?: React.ReactElement;
19
18
  luxuryFixedIndex?: number;
20
19
  isContainerListHasMarginBottom?: boolean;
21
20
  switchConfig?: {
22
21
  [key: string]: any;
23
22
  };
24
23
  const { windowHeight } = taroJdBaseInfo.info.sysInfo;
25
24
  const {
26
25
  className,
27
26
  style,
28
27
  containerItemClass = null,
29
28
  containerFloorListData,
30
29
  builtInComponents,
31
30
  loadingEndComponentFn,
32
31
  sectionType,
33
32
  updateShopFloorDataFn,
34
33
  updateContainerFloorListDataFn,
35
34
  refreshFloorListDataFn,
36
35
  refreshFloorListDataBtnLabel,
37
36
  customErrorIsvFloorModule,
38
37
  luxuryFixedIndex = -1,
39
38
  isContainerListHasMarginBottom,
40
39
  switchConfig,
41
40
  } = props;
42
41
  const emptyFloorListHidden = switchConfig?.emptyFloorListHidden || false;
43
42
  const isSageShop = taroJdBaseInfo.info?.pageInfo?.isSageShop;
44
43
  const isHasMarginBottom = isContainerListHasMarginBottom ?? !isSageShop;
45
44
 
46
45
  const hasLiveForSageShop =
47
46
  isSageShop && taroJdBaseInfo.info?.pageInfo?.isJdShowNativeImmersivePlayer;
48
47
 
49
48
  const renderFloorItem = (
50
49
  item,
51
50
  floorItem,
52
51
  floorIndex,
53
52
  containerLayoutLeftRightMargin,
54
53
  lazyLoadState = false,
55
54
  index,
56
55
  borderStyle,
57
56
  ) => {
58
57
  return (
59
58
  <View
60
59
  className={classNames(shopContainerListStyle['d-floor-item'])}
61
60
  data-floor-uid={floorItem?.uid}
62
61
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
63
62
  data-lazy-load={lazyLoadState}
64
63
  key={floorItem.uid}
65
64
  id={`J_floor_${floorItem.uid}`}
66
65
  style={borderStyle}
67
66
  >
68
67
  {isChartH5 && (
69
68
  <View
70
69
  className={shopContainerListStyle['d-floor-chart-item']}
71
70
  id={`J_chart_floor_${floorItem?.uid}`}
72
71
  data-floor-uid={floorItem?.uid}
73
72
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
74
73
  />
75
74
  )}
76
75
  <FloorListItem
77
76
  floorIndex={floorIndex}
78
77
  floorData={floorItem}
79
78
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
80
79
  containerBorderRadius={borderStyle}
81
80
  updateShopFloorDataFn={updateShopFloorDataFn}
82
81
  loadingEndComponentFn={loadingEndComponentFn}
83
82
  key={floorItem.uid}
84
83
  builtInComponents={builtInComponents}
85
84
  updateContainerFloorListDataFn={updateContainerFloorListDataFn}
86
85
  customErrorIsvFloorModule={customErrorIsvFloorModule}
87
86
  />
88
87
  {index === luxuryFixedIndex ? props.children : null}
89
88
  </View>
90
89
  );
91
90
  };
92
91
 
93
92
  const getFloorSetHeight = (item) => {
94
93
  const getHeight = item?.floorExtInfo?.floorHeight
95
94
  ? Number(item?.floorExtInfo?.floorHeight)
96
95
  : 200;
97
96
  return getHeight > 0 ? getHeight : 200;
98
97
  };
99
98
  const containerFloorListDataLen = containerFloorListData.length;
100
99
 
101
100
  const getNoDataContainerHeight = () => {
102
101
  const changeHeight = hasLiveForSageShop
103
102
  ? windowHeight
104
103
  : windowHeight -
105
104
  (isJdApp
106
105
  ? APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT
107
106
  : M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT);
108
107
  return {
109
108
  height: `${changeHeight}px`,
110
109
  };
111
110
  };
112
111
  return (
113
112
  <View
114
113
  className={classNames(className, shopContainerListStyle['d-shop-container-list'])}
115
114
  style={style}
116
115
  >
117
116
  <View
118
117
  id="J_shopContainerFloorList"
119
118
  className={
120
119
  isHasMarginBottom
121
120
  ? shopContainerListStyle['d-container-list-with-margin-bottom']
122
121
  : shopContainerListStyle['d-container-list-no-margin-bottom']
123
122
  }
124
123
  >
125
124
  {containerFloorListDataLen > 0 ? (
126
125
  containerFloorListData.map((item, index) => {
127
126
  const containerLayoutLeftRightMargin = (item.marginLeft || 0) + (item.marginRight || 0);
128
127
  const getContainerId = `J_container_${item.containerId}`;
129
128
  const borderStyle = getBorderStyle(
130
129
  item,
131
130
  index,
132
131
  containerFloorListData,
133
132
  containerFloorListDataLen,
134
133
  );
135
134
  return (
136
135
  <React.Fragment key={item.containerId + index}>
137
136
  {item.addLuxuryStyle ? (
138
137
  <View className={shopContainerListStyle['d-luxury-header']} />
139
138
  ) : null}
140
139
  {item.addLuxuryBackupStyle ? (
141
140
  <View
142
141
  style={{
143
142
  height: taroJdBaseInfo?.info?.sysInfo?.jdNativeHeaderHeight + 'px',
144
143
  }}
145
144
  className={shopContainerListStyle['d-luxury-header-black']}
146
145
  />
147
146
  ) : null}
148
147
  {typeof item?.renderExtendComponent === 'function'
149
148
  ? item?.renderExtendComponent(item?.floorExtendData)
150
149
  : null}
151
150
  <View
152
151
  className={classNames(
153
152
  shopContainerListStyle['d-container-item'],
154
153
  containerItemClass,
155
154
  )}
156
155
  id={getContainerId}
157
156
  key={item.containerId}
158
157
  data-container-id={item?.containerId}
159
158
  data-container-type={item?.typeCode}
160
159
  style={{
161
160
  marginBottom: item.marginBottom ? `${item.marginBottom}px` : 0,
162
161
  marginTop: item.marginTop ? `${item.marginTop}px` : 0,
163
162
  marginLeft: item.marginLeft ? `${item.marginLeft}px` : 0,
164
163
  marginRight: item.marginRight ? `${item.marginRight}px` : 0,
165
164
  borderTopLeftRadius: borderStyle?.borderTopLeftRadius || `0px`,
166
165
  borderTopRightRadius: borderStyle?.borderTopRightRadiu || `0px`,
167
166
  borderBottomLeftRadius: borderStyle?.borderBottomLeftRadius || `0px`,
168
167
  borderBottomRightRadius: borderStyle?.borderBottomRightRadius || `0px`,
169
168
  }}
170
169
  >
171
170
  {typeof item?.insertContainerStartComponent === 'function'
172
171
  ? item?.insertContainerStartComponent(item)
173
172
  : null}
174
173
  {item.floors &&
175
174
  item.floors.length > 0 &&
176
175
  item.floors?.map((floorItem, floorIndex) => {
177
176
  return index > lazyLoadStartIndex ? (
178
177
  <LazyLayoutLoad
179
178
  key={item.containerId}
180
179
  sectionType={sectionType}
181
180
  containerId={getContainerId}
182
181
  height={getFloorSetHeight(floorItem)}
183
182
  floorData={floorItem}
184
183
  >
185
184
  {renderFloorItem(
186
185
  item,
187
186
  floorItem,
188
187
  floorIndex,
189
188
  containerLayoutLeftRightMargin,
190
189
  true,
191
190
  index,
192
191
  borderStyle,
193
192
  )}
194
193
  </LazyLayoutLoad>
195
194
  ) : (
196
195
  renderFloorItem(
197
196
  item,
198
197
  floorItem,
199
198
  floorIndex,
200
199
  containerLayoutLeftRightMargin,
201
200
  false,
202
201
  index,
203
202
  borderStyle,
204
203
  )
205
204
  );
206
205
  })}
207
206
  </View>
208
207
  </React.Fragment>
209
208
  );
210
209
  })
211
210
  ) : !emptyFloorListHidden ? (
212
211
  <View
213
212
  className={classNames(shopContainerListStyle['d-container-list-no-data'], {
214
213
  [shopContainerListStyle['d-sage-shop-no-data']]: hasLiveForSageShop,
215
214
  })}
216
215
  style={getNoDataContainerHeight()}
217
216
  >
218
217
  <NetworkDataError
219
218
  netWorkShowType={NetWorkShowType.PART}
220
219
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
221
220
  backgroundColorWhite={hasLiveForSageShop}
222
221
  refreshCallBackFn={refreshFloorListDataFn ? refreshFloorListDataFn : null}
223
222
  btnLabel={refreshFloorListDataBtnLabel || ''}
224
223
  />
225
224
  </View>
226
225
  ) : null}
227
226
  </View>
228
227
  </View>
229
228
  );
230
229
  updateShopDataFn: null,
230
+ import React from 'react';
231
231
  NETWORK_DATA_TYPE,
232
232
  M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
233
233
  APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
234
234
  source?: string;
235
235
  containerFloorListData: ComponentInterFace.ContainerItemData[];
236
236
  extendInfoData?: object;
237
237
  className?: string;
238
238
  containerItemClass?: object;
239
239
  style?: object;
240
240
  hasGoodsFeeds?: boolean;
241
241
  builtInComponents?: object;
242
242
  loadingEndComponentFn?: functionType;
243
243
  sectionType?: string;
244
244
  updateShopFloorDataFn?: functionType;
245
245
  updateContainerFloorListDataFn?: functionType;
246
246
  refreshFloorListDataFn?: functionType;
247
247
  refreshFloorListDataBtnLabel?: string;
248
248
  customErrorIsvFloorModule?: React.ReactElement;
249
249
  componentExtend?: React.ReactElement;
250
250
  luxuryFixedIndex?: number;
251
251
  isContainerListHasMarginBottom?: boolean;
252
252
  switchConfig?: {
253
253
  [key: string]: any;
254
254
  };
255
255
  const { windowHeight, screenHeight } = taroJdBaseInfo.info.sysInfo;
256
256
  const {
257
257
  source,
258
258
  className,
259
259
  style,
260
260
  containerItemClass = null,
261
261
  containerFloorListData,
262
262
  extendInfoData,
263
263
  builtInComponents,
264
264
  loadingEndComponentFn,
265
265
  sectionType,
266
266
  updateShopFloorDataFn,
267
267
  updateContainerFloorListDataFn,
268
268
  refreshFloorListDataFn,
269
269
  refreshFloorListDataBtnLabel,
270
270
  customErrorIsvFloorModule,
271
271
  luxuryFixedIndex = -1,
272
272
  isContainerListHasMarginBottom,
273
273
  switchConfig,
274
274
  } = props;
275
275
  const emptyFloorListHidden = switchConfig?.emptyFloorListHidden || false;
276
276
  const isSageShop = taroJdBaseInfo.info?.pageInfo?.isSageShop;
277
277
  const isHasMarginBottom = isContainerListHasMarginBottom ?? !isSageShop;
278
278
 
279
279
  const hasLiveForSageShop =
280
280
  isSageShop && taroJdBaseInfo.info?.pageInfo?.isJdShowNativeImmersivePlayer;
281
281
 
282
282
  const renderFloorItem = (
283
283
  item,
284
284
  floorItem,
285
285
  floorIndex,
286
286
  containerLayoutLeftRightMargin,
287
287
  lazyLoadState = false,
288
288
  index,
289
289
  borderStyle,
290
290
  ) => {
291
291
  return (
292
292
  <View
293
293
  className={classNames(shopContainerListStyle['d-floor-item'])}
294
294
  data-floor-uid={floorItem?.uid}
295
295
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
296
296
  data-lazy-load={lazyLoadState}
297
297
  key={floorItem.uid}
298
298
  id={`J_floor_${floorItem.uid}`}
299
299
  style={borderStyle}
300
300
  >
301
301
  {isChartH5 && (
302
302
  <View
303
303
  className={shopContainerListStyle['d-floor-chart-item']}
304
304
  id={`J_chart_floor_${floorItem?.uid}`}
305
305
  data-floor-uid={floorItem?.uid}
306
306
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
307
307
  />
308
308
  )}
309
309
  <FloorListItem
310
310
  source={source}
311
311
  floorIndex={floorIndex}
312
312
  floorData={floorItem}
313
313
  containerIndex={index}
314
314
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
315
315
  containerBorderRadius={borderStyle}
316
316
  updateShopFloorDataFn={updateShopFloorDataFn}
317
317
  loadingEndComponentFn={loadingEndComponentFn}
318
318
  extendInfoData={
319
319
  passExtendInfoModuleWhiteList.includes(floorItem?.floorExtInfo?.moduleFlag)
320
320
  ? extendInfoData
321
321
  : undefined
322
322
  }
323
323
  key={floorItem.uid}
324
324
  builtInComponents={builtInComponents}
325
325
  updateContainerFloorListDataFn={updateContainerFloorListDataFn}
326
326
  customErrorIsvFloorModule={customErrorIsvFloorModule}
327
327
  />
328
328
  {index === luxuryFixedIndex ? props.children : null}
329
329
  {floorItem?.inspectResult === '1' && (
330
330
  <View className={shopContainerListStyle['d-floor-inspect-mask']} />
331
331
  )}
332
332
  </View>
333
333
  );
334
334
  };
335
335
 
336
336
  const getFloorSetHeight = (item) => {
337
337
  const getHeight = item?.floorExtInfo?.floorHeight
338
338
  ? Number(item?.floorExtInfo?.floorHeight)
339
339
  : 200;
340
340
  return getHeight > 0 ? getHeight : 200;
341
341
  };
342
342
  const containerFloorListDataLen = containerFloorListData.length;
343
343
 
344
344
  const getNoDataContainerHeight = () => {
345
345
  const getWindowHeight = windowHeight > 10 ? windowHeight : screenHeight;
346
346
  const changeHeight = hasLiveForSageShop
347
347
  ? getWindowHeight
348
348
  : getWindowHeight -
349
349
  (isJdApp
350
350
  ? APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT
351
351
  : M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT);
352
352
  return {
353
353
  height: `${changeHeight}px`,
354
354
  };
355
355
  };
356
356
  return (
357
357
  <View
358
358
  id="J_shopContainerFloorList"
359
359
  className={classNames(
360
360
  className,
361
361
  shopContainerListStyle['d-shop-container-list'],
362
362
  isHasMarginBottom
363
363
  ? shopContainerListStyle['d-container-list-with-margin-bottom']
364
364
  : shopContainerListStyle['d-container-list-no-margin-bottom'],
365
365
  )}
366
366
  style={style}
367
367
  >
368
368
  {containerFloorListDataLen > 0 ? (
369
369
  <>
370
370
  {containerFloorListData.map((item, index) => {
371
371
  const containerLayoutLeftRightMargin = (item.marginLeft || 0) + (item.marginRight || 0);
372
372
  const getContainerId = `J_container_${item.containerId}`;
373
373
  const borderStyle = getBorderStyle(
374
374
  item,
375
375
  index,
376
376
  containerFloorListData,
377
377
  containerFloorListDataLen,
378
378
  );
379
379
  return (
380
380
  <React.Fragment key={item.containerId + index}>
381
381
  {item.addLuxuryStyle ? (
382
382
  <View className={shopContainerListStyle['d-luxury-header']} />
383
383
  ) : null}
384
384
  {item.addLuxuryBackupStyle ? (
385
385
  <View
386
386
  style={{
387
387
  height: taroJdBaseInfo?.info?.sysInfo?.jdNativeHeaderHeight + 'px',
388
388
  }}
389
389
  className={shopContainerListStyle['d-luxury-header-black']}
390
390
  />
391
391
  ) : null}
392
392
  {typeof item?.renderExtendComponent === 'function'
393
393
  ? item?.renderExtendComponent(item?.floorExtendData)
394
394
  : null}
395
395
  <View
396
396
  className={classNames(
397
397
  shopContainerListStyle['d-container-item'],
398
398
  containerItemClass,
399
399
  )}
400
400
  id={getContainerId}
401
401
  key={item.containerId}
402
402
  data-container-id={item?.containerId}
403
403
  data-container-type={item?.typeCode}
404
404
  data-container-index={index}
405
405
  style={{
406
406
  marginBottom: item.marginBottom ? `${item.marginBottom}px` : 0,
407
407
  marginTop: item.marginTop ? `${item.marginTop}px` : 0,
408
408
  marginLeft: item.marginLeft ? `${item.marginLeft}px` : 0,
409
409
  marginRight: item.marginRight ? `${item.marginRight}px` : 0,
410
410
  borderTopLeftRadius: borderStyle?.borderTopLeftRadius || `0px`,
411
411
  borderTopRightRadius: borderStyle?.borderTopRightRadiu || `0px`,
412
412
  borderBottomLeftRadius: borderStyle?.borderBottomLeftRadius || `0px`,
413
413
  borderBottomRightRadius: borderStyle?.borderBottomRightRadius || `0px`,
414
414
  '--container-layout-left-right-margin': `${containerLayoutLeftRightMargin}px`,
415
415
  }}
416
416
  >
417
417
  {typeof item?.insertContainerStartComponent === 'function'
418
418
  ? item?.insertContainerStartComponent(item)
419
419
  : null}
420
420
  {item.floors &&
421
421
  item.floors.length > 0 &&
422
422
  item.floors?.map((floorItem, floorIndex) => {
423
423
  return index > lazyLoadStartIndex ? (
424
424
  <LazyLayoutLoad
425
425
  key={item.containerId}
426
426
  sectionType={sectionType}
427
427
  containerId={getContainerId}
428
428
  height={getFloorSetHeight(floorItem)}
429
429
  floorData={floorItem}
430
430
  >
431
431
  {renderFloorItem(
432
432
  item,
433
433
  floorItem,
434
434
  floorIndex,
435
435
  containerLayoutLeftRightMargin,
436
436
  true,
437
437
  index,
438
438
  borderStyle,
439
439
  )}
440
440
  </LazyLayoutLoad>
441
441
  ) : (
442
442
  renderFloorItem(
443
443
  item,
444
444
  floorItem,
445
445
  floorIndex,
446
446
  containerLayoutLeftRightMargin,
447
447
  false,
448
448
  index,
449
449
  borderStyle,
450
450
  )
451
451
  );
452
452
  })}
453
453
  </View>
454
454
  </React.Fragment>
455
455
  );
456
456
  })}
457
457
  </>
458
458
  ) : !emptyFloorListHidden ? (
459
459
  <View
460
460
  className={classNames(shopContainerListStyle['d-container-list-no-data'], {
461
461
  [shopContainerListStyle['d-sage-shop-no-data']]: hasLiveForSageShop,
462
462
  })}
463
463
  style={getNoDataContainerHeight()}
464
464
  >
465
465
  <NetworkDataError
466
466
  netWorkShowType={NetWorkShowType.PART}
467
467
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
468
468
  backgroundColorWhite={hasLiveForSageShop}
469
469
  refreshCallBackFn={refreshFloorListDataFn ? refreshFloorListDataFn : null}
470
470
  btnLabel={refreshFloorListDataBtnLabel || ''}
471
471
  />
472
472
  </View>
473
473
  ) : null}
474
474
  </View>
475
475
  );
476
476
  updateShopDataFn: null,