@conecli/cone-render 0.10.1-beta.7 → 0.10.1-beta.8

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 (65) hide show
  1. package/dist/api/index.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/jssdk.ts +1 -1
  8. package/dist/common/token/index.h5.ts +1 -1
  9. package/dist/common/token/token.jd.ts +1 -1
  10. package/dist/common/wxappApi.ts +1 -1
  11. package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
  12. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  13. package/dist/components/base/CustomScrollView/index-back.tsx +1 -0
  14. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  15. package/dist/components/base/Dialog/index.module.scss +11 -0
  16. package/dist/components/base/ExposureSmart/index.h5.module.scss +12 -2
  17. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  18. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  19. package/dist/components/base/InViewRender/index.tsx +1 -1
  20. package/dist/components/base/ItemViewExposureSmart/index.module.scss +2 -2
  21. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
  22. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  23. package/dist/components/floorItem.weapp.tsx +1 -1
  24. package/dist/interface/common.ts +1 -1
  25. package/dist/interface/jumpEventReport.ts +1 -1
  26. package/dist/interface/service.ts +1 -1
  27. package/dist/jumpEventReport/base.ts +1 -1
  28. package/dist/jumpEventReport/const.ts +1 -1
  29. package/dist/jumpEventReport/index.weapp.ts +1 -1
  30. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  31. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  32. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  33. package/dist/jumpEventReport/web/report.ts +1 -1
  34. package/dist/jumpEventReport/web.base.ts +1 -1
  35. package/dist/jumpEventReport/web.jd.ts +1 -1
  36. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  37. package/dist/libs/taroAppReport.js +2 -2
  38. package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -53
  39. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  40. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  41. package/dist/open/api/environment.ts +1 -1
  42. package/dist/open/api/shopMember.ts +1 -1
  43. package/dist/open/api/util.ts +1 -1
  44. package/dist/sass/app.h5.scss +273 -224
  45. package/dist/service/fetchGateway.ts +1 -1
  46. package/dist/service/fetchGateway.weapp.ts +1 -0
  47. package/dist/service/http/colorSign.ts +1 -1
  48. package/dist/service/http/const.ts +1 -1
  49. package/dist/service/http/h5Http.ts +1 -1
  50. package/dist/service/requestServer.h5.ts +1 -1
  51. package/dist/service/requestServer.ts +1 -1
  52. package/dist/service/requestServer.weapp.ts +1 -0
  53. package/dist/utils/connectNativeJsBridge.ts +1 -1
  54. package/dist/utils/h5Utils.ts +1 -1
  55. package/dist/utils/index.h5.ts +1 -1
  56. package/dist/utils/index.ts +1 -1
  57. package/dist/utils/index.weapp.ts +1 -1
  58. package/dist/utils/jumpExtMapUtil.h5.ts +1 -0
  59. package/dist/utils/jumpExtMapUtil.ts +1 -0
  60. package/dist/utils/log.ts +1 -0
  61. package/dist/utils/sColor.js +1 -0
  62. package/dist/utils/utils.ts +1 -1
  63. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  64. package/dist/wxapp/common/user_info.js +1 -1
  65. package/package.json +158 -141
@@ -1,63 +1,76 @@
1
1
 
2
2
  .d-shop-container-list {
3
- position: relative;
4
- overflow: hidden;
5
- z-index: 2;
3
+ position: relative;
4
+ overflow: hidden;
5
+ z-index: 2;
6
6
 
7
- .d-container-item,
8
- .d-floor-item {
9
- position: relative;
10
- // 不能加overflow 防止IntersectionObserver监听异常
11
- //overflow: hidden;
12
- }
7
+ // 容器列表底部间距,不做适配转换,固定8px
8
+ .d-container-list-with-margin-bottom {
9
+ margin-bottom: 8px;
10
+ }
13
11
 
14
-
15
- .d-floor-item {
16
- overflow: hidden;
17
- display: block; // 由于taro的View属于一种自定义标签,虽然taro自己会给View设置display为block,但是这个是一个异步过程,而自定义标签的默认display是inline,inline状态下即使设置了overflow:hidden,也会由于内容过大导致宽度被撑大而超出容器实际宽度。所以为了保证楼层容器节点在加载过程中不被撑大,需要显示设置display:block
18
- }
19
- .d-floor-chart-item{
20
- position: absolute;
21
- top: 0;
22
- left: 0;
23
- right: 0;
24
- bottom: 0;
25
- pointer-events: auto;
26
- z-index: 99;
27
- }
28
- .d-container-item {
29
- //opacity: 0;
30
- //animation: containerShowToOpacity 500ms;
31
- //animation-fill-mode: forwards;
32
- :global {
33
- .lazyload-placeholder {
34
- background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
35
- center center / 40px 40px no-repeat;
36
- }
37
- }
38
- }
39
- .d-luxury-header {
40
- border-top-left-radius: 40px;
41
- border-top-right-radius: 40px;
42
- width: 100%;
43
- height: 8PX;
44
- margin-top: -8PX;
45
- background-clip: padding-box;
46
- position: relative;
47
- z-index: 999;
48
- background: #F2F2F2;
49
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
50
- }
51
- .d-luxury-header-black {
52
- width: 100%;
53
- z-index: 999;
54
- background: black;
55
- margin-bottom: 16px;
12
+ .d-container-list-no-margin-bottom {
13
+ margin-bottom: 0;
14
+ }
15
+
16
+ .d-container-item,
17
+ .d-floor-item {
18
+ position: relative;
19
+ // 不能加overflow 防止IntersectionObserver监听异常
20
+ //overflow: hidden;
21
+ }
22
+
23
+
24
+ .d-floor-item {
25
+ overflow: hidden;
26
+ display: block; // 由于taro的View属于一种自定义标签,虽然taro自己会给View设置display为block,但是这个是一个异步过程,而自定义标签的默认display是inline,inline状态下即使设置了overflow:hidden,也会由于内容过大导致宽度被撑大而超出容器实际宽度。所以为了保证楼层容器节点在加载过程中不被撑大,需要显示设置display:block
27
+ }
28
+ .d-floor-chart-item {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ right: 0;
33
+ bottom: 0;
34
+ pointer-events: auto;
35
+ z-index: 99;
36
+ }
37
+ .d-container-item {
38
+ //opacity: 0;
39
+ //animation: containerShowToOpacity 500ms;
40
+ //animation-fill-mode: forwards;
41
+ :global {
42
+ .lazyload-placeholder {
43
+ background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
44
+ center center / 40px 40px no-repeat;
45
+ }
56
46
  }
57
- .d-container-list-no-data {
58
- min-height: 400px;
47
+ }
48
+ .d-luxury-header {
49
+ border-top-left-radius: 40px;
50
+ border-top-right-radius: 40px;
51
+ width: 100%;
52
+ height: 8px;
53
+ margin-top: -8px;
54
+ background-clip: padding-box;
55
+ position: relative;
56
+ z-index: 999;
57
+ background: #f2f2f2;
58
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0);
59
+ }
60
+ .d-luxury-header-black {
61
+ width: 100%;
62
+ z-index: 999;
63
+ background: black;
64
+ margin-bottom: 16px;
65
+ }
66
+ .d-container-list-no-data {
67
+ min-height: 400px;
68
+ &.d-sage-shop-no-data {
69
+ background: #fff;
59
70
  }
71
+ }
60
72
  }
73
+
61
74
  //@keyframes containerShowToOpacity {
62
75
  // from {
63
76
  // opacity: 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?: Function
12
11
  sectionType?: string
13
12
  updateShopFloorDataFn?: Function
14
13
  updateContainerFloorListDataFn?: Function
15
14
  refreshFloorListDataFn?: Function
16
15
  refreshFloorListDataBtnLabel?: string
17
16
  customErrorIsvFloorModule?: React.ReactElement
18
17
  componentExtend?: React.ReactElement
19
18
  luxuryFixedIndex?: number
20
19
  const { windowHeight } = taroJdBaseInfo.info.sysInfo
21
20
  const {
22
21
  className,
23
22
  style,
24
23
  containerItemClass = null,
25
24
  containerFloorListData,
26
25
  builtInComponents,
27
26
  loadingEndComponentFn,
28
27
  sectionType,
29
28
  updateShopFloorDataFn,
30
29
  updateContainerFloorListDataFn,
31
30
  refreshFloorListDataFn,
32
31
  refreshFloorListDataBtnLabel,
33
32
  customErrorIsvFloorModule,
34
33
  luxuryFixedIndex = -1,
35
34
  } = props
36
35
 
37
36
  const renderFloorItem = (
38
37
  item,
39
38
  floorItem,
40
39
  floorIndex,
41
40
  containerLayoutLeftRightMargin,
42
41
  lazyLoadState = false,
43
42
  index,
44
43
  borderStyle,
45
44
  ) => {
46
45
  return (
47
46
  <View
48
47
  className={classNames(shopContainerListStyle['d-floor-item'])}
49
48
  data-floor-uid={floorItem?.uid}
50
49
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
51
50
  data-lazy-load={lazyLoadState}
52
51
  key={floorItem.uid}
53
52
  id={`J_floor_${floorItem.uid}`}
54
53
  style={borderStyle}
55
54
  >
56
55
  {isChartH5 && (
57
56
  <View
58
57
  className={shopContainerListStyle['d-floor-chart-item']}
59
58
  id={`J_chart_floor_${floorItem?.uid}`}
60
59
  data-floor-uid={floorItem?.uid}
61
60
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
62
61
  />
63
62
  )}
64
63
  <FloorListItem
65
64
  floorIndex={floorIndex}
66
65
  floorData={floorItem}
67
66
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
68
67
  containerBorderRadius={borderStyle}
69
68
  updateShopFloorDataFn={updateShopFloorDataFn}
70
69
  loadingEndComponentFn={loadingEndComponentFn}
71
70
  key={floorItem.uid}
72
71
  builtInComponents={builtInComponents}
73
72
  updateContainerFloorListDataFn={updateContainerFloorListDataFn}
74
73
  customErrorIsvFloorModule={customErrorIsvFloorModule}
75
74
  />
76
75
  {index === luxuryFixedIndex ? props.children : null}
77
76
  </View>
78
77
  )
79
78
  }
80
79
 
81
80
  const getFloorSetHeight = (item) => {
82
81
  const getHeight = item?.floorExtInfo?.floorHeight
83
82
  ? Number(item?.floorExtInfo?.floorHeight)
84
83
  : 200
85
84
  return getHeight > 0 ? getHeight : 200
86
85
  }
87
86
  const containerFloorListDataLen = containerFloorListData.length
88
87
  return (
89
88
  <View
90
89
  className={classNames(
91
90
  className,
92
91
  shopContainerListStyle['d-shop-container-list'],
93
92
  )}
94
93
  style={style}
95
94
  >
96
95
  <View id="J_shopContainerFloorList">
97
96
  {containerFloorListDataLen > 0 ? (
98
97
  containerFloorListData.map((item, index) => {
99
98
  const containerLayoutLeftRightMargin =
100
99
  (item.marginLeft || 0) + (item.marginRight || 0)
101
100
  const getContainerId = `J_container_${item.containerId}`
102
101
  const borderStyle = getBorderStyle(
103
102
  item,
104
103
  index,
105
104
  containerFloorListData,
106
105
  containerFloorListDataLen,
107
106
  )
108
107
  if (index === containerFloorListDataLen - 1) item.marginBottom = 8
109
108
  return (
110
109
  <React.Fragment key={item.containerId + index}>
111
110
  {item.addLuxuryStyle ? (
112
111
  <View className={shopContainerListStyle['d-luxury-header']} />
113
112
  ) : null}
114
113
  {item.addLuxuryBackupStyle ? (
115
114
  <View
116
115
  style={{
117
116
  height:
118
117
  taroJdBaseInfo?.info?.sysInfo?.jdNativeHeaderHeight +
119
118
  'px',
120
119
  }}
121
120
  className={shopContainerListStyle['d-luxury-header-black']}
122
121
  />
123
122
  ) : null}
124
123
  {typeof item?.renderExtendComponent === 'function'
125
124
  ? item?.renderExtendComponent(item?.floorExtendData)
126
125
  : null}
127
126
  <View
128
127
  className={classNames(
129
128
  shopContainerListStyle['d-container-item'],
130
129
  containerItemClass,
131
130
  )}
132
131
  id={getContainerId}
133
132
  key={item.containerId}
134
133
  data-container-id={item?.containerId}
135
134
  data-container-type={item?.typeCode}
136
135
  style={{
137
136
  marginBottom: item.marginBottom
138
137
  ? `${item.marginBottom}px`
139
138
  : 0,
140
139
  marginTop: item.marginTop ? `${item.marginTop}px` : 0,
141
140
  marginLeft: item.marginLeft ? `${item.marginLeft}px` : 0,
142
141
  marginRight: item.marginRight ? `${item.marginRight}px` : 0,
143
142
  borderTopLeftRadius:
144
143
  borderStyle?.borderTopLeftRadius || `0px`,
145
144
  borderTopRightRadius:
146
145
  borderStyle?.borderTopRightRadiu || `0px`,
147
146
  borderBottomLeftRadius:
148
147
  borderStyle?.borderBottomLeftRadius || `0px`,
149
148
  borderBottomRightRadius:
150
149
  borderStyle?.borderBottomRightRadius || `0px`,
151
150
  }}
152
151
  >
153
152
  {typeof item?.insertContainerStartComponent === 'function'
154
153
  ? item?.insertContainerStartComponent(item)
155
154
  : null}
156
155
  {item.floors &&
157
156
  item.floors.length > 0 &&
158
157
  item.floors?.map((floorItem, floorIndex) => {
159
158
  return index > lazyLoadStartIndex ? (
160
159
  <LazyLayoutLoad
161
160
  key={item.containerId}
162
161
  sectionType={sectionType}
163
162
  containerId={getContainerId}
164
163
  height={getFloorSetHeight(floorItem)}
165
164
  floorData={floorItem}
166
165
  >
167
166
  {renderFloorItem(
168
167
  item,
169
168
  floorItem,
170
169
  floorIndex,
171
170
  containerLayoutLeftRightMargin,
172
171
  true,
173
172
  index,
174
173
  borderStyle,
175
174
  )}
176
175
  </LazyLayoutLoad>
177
176
  ) : (
178
177
  renderFloorItem(
179
178
  item,
180
179
  floorItem,
181
180
  floorIndex,
182
181
  containerLayoutLeftRightMargin,
183
182
  false,
184
183
  index,
185
184
  borderStyle,
186
185
  )
187
186
  )
188
187
  })}
189
188
  </View>
190
189
  </React.Fragment>
191
190
  )
192
191
  })
193
192
  ) : (
194
193
  <View
195
194
  className={shopContainerListStyle['d-container-list-no-data']}
196
195
  style={{
197
196
  height: `${
198
197
  windowHeight -
199
198
  (isJdApp
200
199
  ? APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT
201
200
  : M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT)
202
201
  }px`,
203
202
  }}
204
203
  >
205
204
  <NetworkDataError
206
205
  netWorkShowType={NetWorkShowType.PART}
207
206
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
208
207
  refreshCallBackFn={
209
208
  refreshFloorListDataFn ? refreshFloorListDataFn : null
210
209
  }
211
210
  btnLabel={refreshFloorListDataBtnLabel || ''}
212
211
  />
213
212
  </View>
214
213
  )}
215
214
  </View>
216
215
  </View>
217
216
  )
217
+ import React from 'react';
218
218
  NETWORK_DATA_TYPE,
219
219
  M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
220
220
  APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT,
221
221
  containerFloorListData: ComponentInterFace.ContainerItemData[];
222
222
  className?: string;
223
223
  containerItemClass?: object;
224
224
  style?: object;
225
225
  hasGoodsFeeds?: boolean;
226
226
  builtInComponents?: object;
227
227
  loadingEndComponentFn?: functionType;
228
228
  sectionType?: string;
229
229
  updateShopFloorDataFn?: functionType;
230
230
  updateContainerFloorListDataFn?: functionType;
231
231
  refreshFloorListDataFn?: functionType;
232
232
  refreshFloorListDataBtnLabel?: string;
233
233
  customErrorIsvFloorModule?: React.ReactElement;
234
234
  componentExtend?: React.ReactElement;
235
235
  luxuryFixedIndex?: number;
236
236
  isContainerListHasMarginBottom?: boolean;
237
237
  switchConfig?: {
238
238
  [key: string]: any;
239
239
  };
240
240
  const { windowHeight } = taroJdBaseInfo.info.sysInfo;
241
241
  const {
242
242
  className,
243
243
  style,
244
244
  containerItemClass = null,
245
245
  containerFloorListData,
246
246
  builtInComponents,
247
247
  loadingEndComponentFn,
248
248
  sectionType,
249
249
  updateShopFloorDataFn,
250
250
  updateContainerFloorListDataFn,
251
251
  refreshFloorListDataFn,
252
252
  refreshFloorListDataBtnLabel,
253
253
  customErrorIsvFloorModule,
254
254
  luxuryFixedIndex = -1,
255
255
  isContainerListHasMarginBottom,
256
256
  switchConfig,
257
257
  } = props;
258
258
  const emptyFloorListHidden = switchConfig?.emptyFloorListHidden || false;
259
259
  const isSageShop = taroJdBaseInfo.info?.pageInfo?.isSageShop;
260
260
  const isHasMarginBottom = isContainerListHasMarginBottom ?? !isSageShop;
261
261
 
262
262
  const hasLiveForSageShop =
263
263
  isSageShop && taroJdBaseInfo.info?.pageInfo?.isJdShowNativeImmersivePlayer;
264
264
 
265
265
  const renderFloorItem = (
266
266
  item,
267
267
  floorItem,
268
268
  floorIndex,
269
269
  containerLayoutLeftRightMargin,
270
270
  lazyLoadState = false,
271
271
  index,
272
272
  borderStyle,
273
273
  ) => {
274
274
  return (
275
275
  <View
276
276
  className={classNames(shopContainerListStyle['d-floor-item'])}
277
277
  data-floor-uid={floorItem?.uid}
278
278
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
279
279
  data-lazy-load={lazyLoadState}
280
280
  key={floorItem.uid}
281
281
  id={`J_floor_${floorItem.uid}`}
282
282
  style={borderStyle}
283
283
  >
284
284
  {isChartH5 && (
285
285
  <View
286
286
  className={shopContainerListStyle['d-floor-chart-item']}
287
287
  id={`J_chart_floor_${floorItem?.uid}`}
288
288
  data-floor-uid={floorItem?.uid}
289
289
  data-floor-type={floorItem?.floorExtInfo?.moduleFlag || ''}
290
290
  />
291
291
  )}
292
292
  <FloorListItem
293
293
  floorIndex={floorIndex}
294
294
  floorData={floorItem}
295
295
  layoutLeftRightMargin={containerLayoutLeftRightMargin}
296
296
  containerBorderRadius={borderStyle}
297
297
  updateShopFloorDataFn={updateShopFloorDataFn}
298
298
  loadingEndComponentFn={loadingEndComponentFn}
299
299
  key={floorItem.uid}
300
300
  builtInComponents={builtInComponents}
301
301
  updateContainerFloorListDataFn={updateContainerFloorListDataFn}
302
302
  customErrorIsvFloorModule={customErrorIsvFloorModule}
303
303
  />
304
304
  {index === luxuryFixedIndex ? props.children : null}
305
305
  </View>
306
306
  );
307
307
  };
308
308
 
309
309
  const getFloorSetHeight = (item) => {
310
310
  const getHeight = item?.floorExtInfo?.floorHeight
311
311
  ? Number(item?.floorExtInfo?.floorHeight)
312
312
  : 200;
313
313
  return getHeight > 0 ? getHeight : 200;
314
314
  };
315
315
  const containerFloorListDataLen = containerFloorListData.length;
316
316
 
317
317
  const getNoDataContainerHeight = () => {
318
318
  const changeHeight = hasLiveForSageShop
319
319
  ? windowHeight
320
320
  : windowHeight -
321
321
  (isJdApp
322
322
  ? APP_SHOP_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT
323
323
  : M_SHOP_DOWNLOAD_HEADER_NAV_BAR_BOTTOM_MENU_HEIGHT);
324
324
  return {
325
325
  height: `${changeHeight}px`,
326
326
  };
327
327
  };
328
328
  return (
329
329
  <View
330
330
  className={classNames(className, shopContainerListStyle['d-shop-container-list'])}
331
331
  style={style}
332
332
  >
333
333
  <View
334
334
  id="J_shopContainerFloorList"
335
335
  className={
336
336
  isHasMarginBottom
337
337
  ? shopContainerListStyle['d-container-list-with-margin-bottom']
338
338
  : shopContainerListStyle['d-container-list-no-margin-bottom']
339
339
  }
340
340
  >
341
341
  {containerFloorListDataLen > 0 ? (
342
342
  containerFloorListData.map((item, index) => {
343
343
  const containerLayoutLeftRightMargin = (item.marginLeft || 0) + (item.marginRight || 0);
344
344
  const getContainerId = `J_container_${item.containerId}`;
345
345
  const borderStyle = getBorderStyle(
346
346
  item,
347
347
  index,
348
348
  containerFloorListData,
349
349
  containerFloorListDataLen,
350
350
  );
351
351
  return (
352
352
  <React.Fragment key={item.containerId + index}>
353
353
  {item.addLuxuryStyle ? (
354
354
  <View className={shopContainerListStyle['d-luxury-header']} />
355
355
  ) : null}
356
356
  {item.addLuxuryBackupStyle ? (
357
357
  <View
358
358
  style={{
359
359
  height: taroJdBaseInfo?.info?.sysInfo?.jdNativeHeaderHeight + 'px',
360
360
  }}
361
361
  className={shopContainerListStyle['d-luxury-header-black']}
362
362
  />
363
363
  ) : null}
364
364
  {typeof item?.renderExtendComponent === 'function'
365
365
  ? item?.renderExtendComponent(item?.floorExtendData)
366
366
  : null}
367
367
  <View
368
368
  className={classNames(
369
369
  shopContainerListStyle['d-container-item'],
370
370
  containerItemClass,
371
371
  )}
372
372
  id={getContainerId}
373
373
  key={item.containerId}
374
374
  data-container-id={item?.containerId}
375
375
  data-container-type={item?.typeCode}
376
376
  style={{
377
377
  marginBottom: item.marginBottom ? `${item.marginBottom}px` : 0,
378
378
  marginTop: item.marginTop ? `${item.marginTop}px` : 0,
379
379
  marginLeft: item.marginLeft ? `${item.marginLeft}px` : 0,
380
380
  marginRight: item.marginRight ? `${item.marginRight}px` : 0,
381
381
  borderTopLeftRadius: borderStyle?.borderTopLeftRadius || `0px`,
382
382
  borderTopRightRadius: borderStyle?.borderTopRightRadiu || `0px`,
383
383
  borderBottomLeftRadius: borderStyle?.borderBottomLeftRadius || `0px`,
384
384
  borderBottomRightRadius: borderStyle?.borderBottomRightRadius || `0px`,
385
385
  '--container-layout-left-right-margin': `${containerLayoutLeftRightMargin}px`,
386
386
  }}
387
387
  >
388
388
  {typeof item?.insertContainerStartComponent === 'function'
389
389
  ? item?.insertContainerStartComponent(item)
390
390
  : null}
391
391
  {item.floors &&
392
392
  item.floors.length > 0 &&
393
393
  item.floors?.map((floorItem, floorIndex) => {
394
394
  return index > lazyLoadStartIndex ? (
395
395
  <LazyLayoutLoad
396
396
  key={item.containerId}
397
397
  sectionType={sectionType}
398
398
  containerId={getContainerId}
399
399
  height={getFloorSetHeight(floorItem)}
400
400
  floorData={floorItem}
401
401
  >
402
402
  {renderFloorItem(
403
403
  item,
404
404
  floorItem,
405
405
  floorIndex,
406
406
  containerLayoutLeftRightMargin,
407
407
  true,
408
408
  index,
409
409
  borderStyle,
410
410
  )}
411
411
  </LazyLayoutLoad>
412
412
  ) : (
413
413
  renderFloorItem(
414
414
  item,
415
415
  floorItem,
416
416
  floorIndex,
417
417
  containerLayoutLeftRightMargin,
418
418
  false,
419
419
  index,
420
420
  borderStyle,
421
421
  )
422
422
  );
423
423
  })}
424
424
  </View>
425
425
  </React.Fragment>
426
426
  );
427
427
  })
428
428
  ) : !emptyFloorListHidden ? (
429
429
  <View
430
430
  className={classNames(shopContainerListStyle['d-container-list-no-data'], {
431
431
  [shopContainerListStyle['d-sage-shop-no-data']]: hasLiveForSageShop,
432
432
  })}
433
433
  style={getNoDataContainerHeight()}
434
434
  >
435
435
  <NetworkDataError
436
436
  netWorkShowType={NetWorkShowType.PART}
437
437
  netWorkDataType={NETWORK_DATA_TYPE.DATA_ERROR}
438
438
  backgroundColorWhite={hasLiveForSageShop}
439
439
  refreshCallBackFn={refreshFloorListDataFn ? refreshFloorListDataFn : null}
440
440
  btnLabel={refreshFloorListDataBtnLabel || ''}
441
441
  />
442
442
  </View>
443
443
  ) : null}
444
444
  </View>
445
445
  </View>
446
446
  );
447
447
  updateShopDataFn: null,