@conecli/cone-render 0.10.1-shop3.115 → 0.10.1-shop3.116

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