@conecli/cone-render 0.8.34 → 0.8.35

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 (52) hide show
  1. package/dist/common/const.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/common/index.jd.ts +1 -1
  4. package/dist/common/index.ts +1 -1
  5. package/dist/common/index.weapp.ts +1 -1
  6. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  7. package/dist/components/base/ExposureSmart/const.ts +1 -0
  8. package/dist/components/base/ExposureSmart/index.h5.module.scss +18 -4
  9. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  10. package/dist/components/base/ExposureSmart/index.module.scss +20 -9
  11. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  12. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  13. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  14. package/dist/components/base/InViewRender/index.tsx +1 -1
  15. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  16. package/dist/components/base/ItemViewExposureSmart/index.module.scss +8 -0
  17. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -0
  18. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  19. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  20. package/dist/components/base/NetworkDataError/const.ts +1 -1
  21. package/dist/components/base/NetworkDataError/index.module.scss +4 -1
  22. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  23. package/dist/interface/common.ts +1 -1
  24. package/dist/jumpEventReport/base.ts +1 -1
  25. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  26. package/dist/jumpEventReport/index.h5.ts +1 -1
  27. package/dist/jumpEventReport/index.weapp.ts +1 -1
  28. package/dist/jumpEventReport/web/report.ts +1 -1
  29. package/dist/jumpEventReport/web.base.ts +1 -1
  30. package/dist/jumpEventReport/web.jd.ts +1 -1
  31. package/dist/jumpEventReport/web.jdb.ts +1 -1
  32. package/dist/jumpEventReport/web.jdjch.ts +1 -0
  33. package/dist/libs/taroAppReport.js +2 -2
  34. package/dist/modules/ContainerFloorList/index.h5.module.scss +10 -1
  35. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  36. package/dist/open/api/device.ts +1 -1
  37. package/dist/open/api/track.ts +1 -1
  38. package/dist/open/api/util.ts +1 -1
  39. package/dist/open/components/index.ts +1 -1
  40. package/dist/service/bMallConst.ts +1 -1
  41. package/dist/utils/connectNativeJsBridge.ts +1 -1
  42. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  43. package/dist/utils/h5Utils.ts +1 -1
  44. package/dist/utils/index.h5.ts +1 -1
  45. package/dist/utils/index.ts +1 -1
  46. package/dist/utils/index.weapp.ts +1 -1
  47. package/dist/utils/intersectionObserver.ts +1 -1
  48. package/dist/utils/jm-common.js +1 -1
  49. package/dist/utils/utils.ts +1 -1
  50. package/package.json +1 -1
  51. /package/dist/service/{bMallConst.wxapp.ts → bMallConst.weapp.ts} +0 -0
  52. /package/dist/service/http/{colorSign.wxapp.ts → colorSign.weapp.ts} +0 -0
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  TaroEventType,
3
2
  const {
4
3
  children,
5
4
  placeholder,
6
5
  height,
7
6
  inViewCallback
8
7
  } = props
9
8
  const [componentShowState, setComponentShowState] = useState(false)
10
9
  const [componentRenderShowState, setComponentRenderShowState] =
11
10
  useState(false)
12
11
  const componentLazyRef = useRef<HTMLElement | null>(null)
13
12
  const componentShowStateRef = useRef(false)
14
13
  if (isH5AndJdShopView) {
15
14
  useEffect(() => {
16
15
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
17
16
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
18
17
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
19
18
  !componentShowStateRef.current && dealPageScrollInfo(res)
20
19
  })
21
20
  }, [])
22
21
  useEffect(() => {
23
22
  if (componentShowState) {
24
23
  typeof inViewCallback === 'function' && inViewCallback()
25
24
  console.log('InViewRender -- 店铺H5 展示啦!')
26
25
  }
27
26
  }, [componentShowState])
28
27
 
29
28
  const dealPageScrollInfo = (res) => {
30
29
  const { displayHeight, offSetY } = getNativePageScrollRes(res) || {}
31
30
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
32
31
  if (componentLazyRef.current) {
33
32
  const eleClientRect =
34
33
  componentLazyRef.current.getBoundingClientRect()
35
34
  const getContainerHeightOffSetY = displayHeight + offSetY
36
35
  const eleOffsetTop = Math.ceil(eleClientRect.top)
37
36
  if (!componentShowStateRef.current) {
38
37
  if (getContainerHeightOffSetY > eleOffsetTop) {
39
38
  componentShowStateRef.current = true
40
39
  setComponentShowState(true)
41
40
  Taro.nextTick(() => {
42
41
  setComponentRenderShowState(true)
43
42
  })
44
43
  }
45
44
  }
46
45
  }
47
46
  }
48
47
  return (
49
48
  <View
50
49
  ref={componentLazyRef}
51
50
  className={classNames(
52
51
  lazyLayoutLoadStyle['d-app-floor-lazy-layout-load'],
53
52
  'd-app-floor-lazy-load',
54
53
  )}
55
54
  style={{
56
55
  minHeight: `${componentRenderShowState ? 'auto' : height + (typeof height === 'number' ? 'px' : '')
57
56
  }`,
58
57
  backgroundColor: componentRenderShowState
59
58
  ? 'transparent'
60
59
  : '#ffffff',
61
60
  }}
62
61
  >
63
62
  {componentShowState ? children : placeholder}
64
63
  </View>
65
64
  )
66
65
  } else {
67
66
  const rootDom = document.querySelector('#J_shopHomeRoot')
68
67
  const { ref, inView } = useInView({
69
68
  threshold: 0,
70
69
  triggerOnce: true,
71
70
  root: rootDom || null,
72
71
  rootMargin: `0px 0px 0px 0px`,
73
72
  })
74
73
  useEffect(() => {
75
74
  if (inView) {
76
75
  typeof inViewCallback === 'function' && inViewCallback()
77
76
  console.log('InViewRender -- 其它H5 展示啦!')
78
77
  }
79
78
  }, [inView])
80
79
  return (
81
80
  <View
82
81
  ref={ref}
83
82
  style={{
84
83
  minHeight: `${inView ? 'auto' : height + 'px'}`,
85
84
  backgroundColor: 'transparent',
86
85
  }}
87
86
  >
88
87
  {inView ? children : placeholder}
89
88
  </View>
90
89
  )
91
90
  }
92
91
  children: null,
93
92
  placeholder: null,
94
93
  height: 1,
95
94
  className: '',
96
95
  lazyNodeClassName: '',
97
96
  inViewCallback: null,
97
+ import Taro from '@tarojs/taro'
98
98
  TaroEventType,
99
99
  const {
100
100
  children,
101
101
  placeholder,
102
102
  height,
103
103
  className,
104
104
  inViewCallback
105
105
  } = props
106
106
  const [componentShowState, setComponentShowState] = useState(false)
107
107
  const [componentRenderShowState, setComponentRenderShowState] =
108
108
  useState(false)
109
109
  const componentLazyRef = useRef<HTMLElement | null>(null)
110
110
  const componentShowStateRef = useRef(false)
111
111
  const needShowHighVersion = isH5AndJdShopViewH5Scroll && !(global.info.queryInfo?.downgraded && global.info.queryInfo.downgraded === "true")
112
112
  const rootDom = isH5AndJdShopView && needShowHighVersion ? null : document.querySelector('#J_shopHomeRoot')
113
113
  if (isH5AndJdShopView && !needShowHighVersion) {
114
114
  useEffect(() => {
115
115
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
116
116
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
117
117
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
118
118
  !componentShowStateRef.current && dealPageScrollInfo(res)
119
119
  })
120
120
  }, [])
121
121
  useEffect(() => {
122
122
  if (componentShowState) {
123
123
  typeof inViewCallback === 'function' && inViewCallback()
124
124
  console.log('InViewRender -- 店铺H5 展示啦!')
125
125
  }
126
126
  }, [componentShowState])
127
127
 
128
128
  const dealPageScrollInfo = (res) => {
129
129
  console.log(
130
130
  '收到滚动信息和模块元素以及容器显示状态',
131
131
  res,
132
132
  typeof componentLazyRef.current,
133
133
  componentShowStateRef.current,
134
134
  )
135
135
  const { displayHeight, offSetY } = getNativePageScrollRes(res) || {}
136
136
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
137
137
  if (componentLazyRef.current) {
138
138
  const eleClientRect =
139
139
  componentLazyRef.current.getBoundingClientRect()
140
140
  const getContainerHeightOffSetY = displayHeight + offSetY
141
141
  const eleOffsetTop = Math.ceil(eleClientRect.top)
142
142
  if (!componentShowStateRef.current) {
143
143
  if (getContainerHeightOffSetY > eleOffsetTop) {
144
144
  componentShowStateRef.current = true
145
145
  setComponentShowState(true)
146
146
  Taro.nextTick(() => {
147
147
  setComponentRenderShowState(true)
148
148
  })
149
149
  }
150
150
  }
151
151
  }
152
152
  }
153
153
  return (
154
154
  <View
155
155
  ref={componentLazyRef}
156
156
  className={classNames(
157
157
  lazyLayoutLoadStyle['d-app-floor-lazy-layout-load'],
158
158
  'd-app-floor-lazy-load',
159
159
  className
160
160
  )}
161
161
  style={{
162
162
  minHeight: `${componentRenderShowState ? 'auto' : height + (typeof height === 'number' ? 'px' : '')
163
163
  }`,
164
164
  backgroundColor: componentRenderShowState
165
165
  ? 'transparent'
166
166
  : '#ffffff',
167
167
  }}
168
168
  >
169
169
  {componentShowState ? children : placeholder}
170
170
  </View>
171
171
  )
172
172
  }else {
173
173
  const { ref, inView } = useInView({
174
174
  threshold: 0.5,
175
175
  triggerOnce: true,
176
176
  root: rootDom || null,
177
177
  rootMargin: `0px 0px 0px 0px`,
178
178
  delay: 300,
179
179
  })
180
180
  useEffect(() => {
181
181
  if (inView) {
182
182
  typeof inViewCallback === 'function' && inViewCallback()
183
183
  console.log('InViewRender -- 其它H5 展示啦!')
184
184
  }
185
185
  }, [inView])
186
186
  return (
187
187
  <View
188
188
  className={className}
189
189
  ref={ref}
190
190
  style={{
191
191
  minHeight: inView ? 'auto' : typeof height === 'number' ? `${height}px` : height,
192
192
  backgroundColor: 'transparent',
193
193
  }}
194
194
  >
195
195
  {inView ? children : placeholder}
196
196
  </View>
197
197
  )
198
198
  }
199
199
  children: null,
200
200
  placeholder: null,
201
201
  height: 1,
202
202
  className: '',
203
203
  lazyNodeClassName: '',
204
204
  inViewCallback: null,
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'
@@ -0,0 +1,8 @@
1
+
2
+ .d-item-point-layout{
3
+ position: relative;
4
+ .d-item-chart-point{
5
+ opacity: 1;
6
+ z-index: 100;
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ import React from 'react'
2
  const { className, pointClassName, children, reportData, trackCallback, ...otherProps } =
1
3
  props
2
4
  const [floorData, mInfo] = reportData
3
5
  const checkReportDataState = floorData && mInfo
4
6
 
5
7
  checkReportDataState && !mInfo.hasOwnProperty('pos') && (mInfo.pos = 0)
6
8
  return (
7
9
  <View
8
10
  ref={ref}
9
11
  className={classNames(
10
12
  itemViewExposureSmartStyle['d-item-point-layout'],
11
13
  className,
12
14
  )}
13
15
  {...otherProps}
14
16
  >
15
17
  {children ? children : null}
16
18
  {checkReportDataState && (
17
19
  <ExposureSmart
18
20
  className={classNames(pointClassName,{
19
21
  [itemViewExposureSmartStyle['d-item-chart-point']]: isChartH5,
20
22
  })}
21
23
  reportData={reportData}
22
24
  trackCallback={trackCallback}
23
25
  markPoint
24
26
  />
25
27
  )}
26
28
  </View>
27
29
  )
@@ -1 +1 @@
1
- import Taro, { useRouter } from '@tarojs/taro'
2
1
  floorData = {},
3
2
  const rootDom = document.querySelector('#J_shopHomeRoot')
4
3
  root: rootDom,
5
4
  rootMargin: `0px 0px ${window.innerHeight}px 0px`,
6
5
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
7
6
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
8
7
  useEffect(() => {
9
8
  if(componentShowState === true){
10
9
  console.log('>>>>>>>>>>>>>>>>>>> 楼层【id=' + containerId + '】已经渲染!')
11
10
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
12
11
  nativePageRegisterMessage(
13
12
  Message_Type.NATIVE_INJECT_JS_FILE,
14
13
  {
15
14
  data: {
16
15
  "bundleUrl": [bundleUrl]
17
16
  },
18
17
  },
19
18
  )
20
19
  }
21
20
  }
22
21
  }, [componentShowState])
23
22
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
24
23
  ref={ref}
24
+ import Taro, { useRouter } from '@tarojs/taro'
25
25
  floorData = {},
26
26
  const needShowHighVersion = isH5AndJdShopViewH5Scroll && !(global.info.queryInfo?.downgraded && global.info.queryInfo.downgraded === "true")
27
27
  const rootDom = isH5AndJdShopView && needShowHighVersion ? null : document.querySelector('#J_shopHomeRoot')
28
28
  root: rootDom,
29
29
  rootMargin: `0px 0px ${window.innerHeight}px 0px`,
30
30
  useEffect(() => {
31
31
  if(needShowHighVersion) return
32
32
  if (type === LazyType.FLOOR) {
33
33
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
34
34
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
35
35
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
36
36
  !componentShowStateRef.current && dealPageScrollInfo(res)
37
37
  })
38
38
  }
39
39
  }, [])
40
40
  useEffect(() => {
41
41
  if((!needShowHighVersion && componentShowState === true) ||
42
42
  (needShowHighVersion && inView && isH5AndJdShopView)
43
43
  ) {
44
44
  console.log('>>>>>>>>>>>>>>>>>>> 楼层【id=' + containerId + '】已经渲染!')
45
45
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
46
46
  nativePageRegisterMessage(
47
47
  Message_Type.NATIVE_INJECT_JS_FILE,
48
48
  {
49
49
  data: {
50
50
  "bundleUrl": [bundleUrl]
51
51
  },
52
52
  },
53
53
  )
54
54
  }
55
55
  }
56
56
  }, [componentShowState,inView])
57
57
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
58
58
  ref={ref}
@@ -1 +1 @@
1
- import React, { useCallback, useEffect, useRef, useState } from 'react'
2
1
  const [componentShowState, setComponentShowState] = useState(false)
3
2
  const componentLazyRef = useRef<HTMLElement | null>(null)
4
3
  const componentShowStateRef = useRef(false)
5
4
  useEffect(() => {
6
5
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
7
6
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
8
7
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
9
8
  !componentShowStateRef.current && dealPageScrollInfo(res)
10
9
  })
11
10
 
12
11
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
13
12
  <View
14
13
  ref={componentLazyRef}
15
14
  className={classNames(
16
15
  imageStyle['d-app-lazy-image'],
17
16
  {
18
17
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
19
18
  },
20
19
  {
21
20
  [imageStyle['d-hide-image-error']]: imageErrState,
22
21
  },
23
22
  {
24
23
  [imageStyle['d-load-completed']]: loadSuccess,
25
24
  },
26
25
  {
27
26
  'd-imag-rendering-crisp-edges':
28
27
  !taroJdBaseInfo.info.pageInfo.isVipShop &&
29
28
  imagRenderingSet,
30
29
  },
31
30
  'J_html5ImageBg',
32
31
  className,
33
32
  )}
34
33
  style={{
35
34
  ...style,
36
35
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
37
36
  >
38
37
  {(componentShowState || lazyLoad === false) && <img
39
38
  src={getQualityImage(
40
39
  imgSrc,
41
40
  taroJdBaseInfo.info.pageInfo.isVipShop
42
41
  ? NetWorkTypeQuality['perfect']
43
42
  : NetWorkTypeQuality[getNetWorkType],
44
43
  )}
45
44
  onLoad={imageLoad.bind(this, imgSrc)}
46
45
  onError={imageError}
47
46
  />}
48
47
  </View>
49
48
  ) : (
50
49
  <Image
51
50
  style={{
52
51
  ...style,
53
52
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
54
53
  }}
55
54
  className={classNames(
56
55
  imageStyle['d-lazy-image'],
57
56
  {
58
57
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
59
58
  },
60
59
  {
61
60
  [imageStyle['d-hide-image-error']]: imageErrState,
62
61
  },
63
62
  {
64
63
  [imageStyle['d-load-completed']]: loadSuccess,
65
64
  },
66
65
  {
67
66
  'd-imag-rendering-crisp-edges': imagRenderingSet,
68
67
  },
69
68
  className,
70
69
  )}
71
70
  src={getQualityImage(
72
71
  imgSrc,
73
72
  NetWorkTypeQuality[getNetWorkType],
74
73
  )}
75
74
  lazyLoad={lazyLoad}
76
75
  onError={imageError}
77
76
  onLoad={imageLoad.bind(this, imgSrc)}
78
77
  {...otherOption}
79
78
  />
80
79
  )
80
+ import React, { useCallback, useEffect, useRef, useState } from 'react'
81
81
  const [componentShowState, setComponentShowState] = useState(false)
82
82
  const componentLazyRef = useRef<HTMLElement | null>(null)
83
83
  const componentShowStateRef = useRef(false)
84
84
  const needShowHighVersion = isH5AndJdShopViewH5Scroll && !(global.info.queryInfo?.downgraded && global.info.queryInfo.downgraded === "true")
85
85
  useEffect(() => {
86
86
  if(needShowHighVersion) return
87
87
  const latestRes = latestFromNativeMsgStorage[TaroEventType.PAGE_SCROLL] || {}
88
88
  !componentShowStateRef.current && dealPageScrollInfo(latestRes)
89
89
  Taro.eventCenter.on(TaroEventType.PAGE_SCROLL, (res) => {
90
90
  !componentShowStateRef.current && dealPageScrollInfo(res)
91
91
  })
92
92
 
93
93
  if (typeof displayHeight === 'undefined' || typeof offSetY === 'undefined') return
94
94
  <View
95
95
  ref={ componentLazyRef }
96
96
  className={classNames(
97
97
  imageStyle['d-app-lazy-image'],
98
98
  {
99
99
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
100
100
  },
101
101
  {
102
102
  [imageStyle['d-hide-image-error']]: imageErrState,
103
103
  },
104
104
  {
105
105
  [imageStyle['d-load-completed']]: loadSuccess,
106
106
  },
107
107
  {
108
108
  'd-imag-rendering-crisp-edges':
109
109
  !taroJdBaseInfo.info.pageInfo.isVipShop &&
110
110
  imagRenderingSet,
111
111
  },
112
112
  'J_html5ImageBg',
113
113
  className,
114
114
  )}
115
115
  style={{
116
116
  ...style,
117
117
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
118
118
  >
119
119
  {(componentShowState || lazyLoad === false) && <img
120
120
  src={getQualityImage(
121
121
  imgSrc,
122
122
  taroJdBaseInfo.info.pageInfo.isVipShop
123
123
  ? NetWorkTypeQuality['perfect']
124
124
  : NetWorkTypeQuality[getNetWorkType],
125
125
  )}
126
126
  onLoad={imageLoad.bind(this, imgSrc)}
127
127
  onError={imageError}
128
128
  />}
129
129
  </View>
130
130
  ) : (
131
131
  <Image
132
132
  style={{
133
133
  ...style,
134
134
  ...changeStyleIncludeWidthAndHeightAndBgColor(),
135
135
  }}
136
136
  className={classNames(
137
137
  imageStyle['d-lazy-image'],
138
138
  {
139
139
  [imageStyle['d-lazy-sku-image']]: isSkuImage,
140
140
  },
141
141
  {
142
142
  [imageStyle['d-hide-image-error']]: imageErrState,
143
143
  },
144
144
  {
145
145
  [imageStyle['d-load-completed']]: loadSuccess,
146
146
  },
147
147
  {
148
148
  'd-imag-rendering-crisp-edges': imagRenderingSet,
149
149
  },
150
150
  className,
151
151
  )}
152
152
  src={getQualityImage(
153
153
  imgSrc,
154
154
  NetWorkTypeQuality[getNetWorkType],
155
155
  )}
156
156
  lazyLoad={isChartH5 ? false : lazyLoad}
157
157
  onError={imageError}
158
158
  onLoad={imageLoad.bind(this, imgSrc)}
159
159
  {...otherOption}
160
160
  />
161
161
  )
@@ -1 +1 @@
1
- import { NETWORK_DATA_TYPE } from '../../../common/const'
2
1
  No_Data_Bmall:'no-data-bmall',
2
+ import { NETWORK_DATA_TYPE } from '../../../common/const'
3
3
  [NETWORK_DATA_TYPE.NO_NET_WORK]: '网络连接已断开',
4
4
  [NETWORK_DATA_TYPE.DATA_ERROR]: '数据加载失败',
5
5
  [NETWORK_DATA_TYPE.NO_DATA]: '你访问的内容飞到太空了',
6
6
  [NETWORK_DATA_TYPE.RISK]: '活动太火爆',
7
7
  [NETWORK_DATA_TYPE.NO_NET_WORK]: '请检查您的网络设置',
8
8
  [NETWORK_DATA_TYPE.DATA_ERROR]: '请稍后重试',
9
9
  [NETWORK_DATA_TYPE.NO_DATA]: '',
10
10
  [NETWORK_DATA_TYPE.RISK]: '页面加载失败,请稍后再试',
11
11
  NETWORK_DATA_TYPE.NO_NET_WORK,
12
12
  NETWORK_DATA_TYPE.DATA_ERROR,
13
13
  NETWORK_DATA_TYPE.NO_DATA,
14
14
  NETWORK_DATA_TYPE.RISK,
15
15
  No_Data_Bmall:'no-data-bmall',
@@ -30,6 +30,7 @@
30
30
  height: 320px;
31
31
  background-size: contain;
32
32
  background-repeat: no-repeat;
33
+ margin: 0 auto;
33
34
  }
34
35
 
35
36
  .d-no-network {
@@ -40,7 +41,9 @@
40
41
  .d-data-error {
41
42
  background-image: url('https://m.360buyimg.com/imagetools/jfs/t1/106708/34/36128/37234/64896f52Fed1530e0/7b403e068aae316c.png');
42
43
  }
43
-
44
+ .d-risk {
45
+ background-image: url('https://m.360buyimg.com/imagetools/jfs/t1/106708/34/36128/37234/64896f52Fed1530e0/7b403e068aae316c.png');
46
+ }
44
47
  .d-no-data {
45
48
  background-image: url('https://img11.360buyimg.com/imagetools/jfs/t1/190994/19/325/42717/6088fed0Ec4b502d5/0e8de7593fb0d06c.png');
46
49
  }
@@ -1 +1 @@
1
- import { View } from '@tarojs/components'
2
1
  selectContainerId,
3
2
  placeHolderPreContainerId,
4
3
  containerData,
5
4
  children,
6
5
  style,
7
6
  shopTotalInfo,
8
7
  } = props;
9
8
  return children ? children : null;
10
9
  }, [containerData, shopTotalInfo]);
10
+ import { View } from '@tarojs/components'
11
11
  selectContainerId,
12
12
  placeHolderPreContainerId,
13
13
  containerData,
14
14
  children,
15
15
  style,
16
16
  shopTotalInfo,
17
17
  } = props;
18
18
  return children ? children : null;
19
19
  }, [containerData, shopTotalInfo]);
20
20
  data-container-empty={containerData?.floors?.[0]?.configEmpty || 'false'}
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
1
+ import Taro from '@tarojs/taro'