@conecli/cone-render 0.10.1-shop3.1 → 0.10.1-shop3.100

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