@conecli/cone-render 0.10.1-shop-beta.24 → 0.10.1-shop-beta.26

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