@conecli/cone-render 0.10.1-shop-beta.37 → 0.10.1-shop-beta.40

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