@fonixtree/magic-design 0.0.82 → 0.0.83

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 (55) hide show
  1. package/es/composite-comp/bol/components/Button/index.less +8 -9
  2. package/es/composite-comp/bol/components/Carousel/mobile/index.js +69 -18
  3. package/es/composite-comp/bol/components/Carousel/mobile/index.less +9 -4
  4. package/es/composite-comp/bol/components/Carousel/pc/index.js +79 -31
  5. package/es/composite-comp/bol/components/Carousel/pc/index.less +10 -9
  6. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +28 -8
  7. package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -0
  8. package/es/composite-comp/bol/components/Newsletter/index.less +1 -1
  9. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +4 -2
  10. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  11. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  12. package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -1
  13. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +4 -2
  14. package/es/composite-comp/common/components/ProductItem/index.less +1 -0
  15. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +2 -4
  16. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +9 -10
  17. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +8 -0
  18. package/es/composite-comp/dito/components/Recommend/mobile/index.js +8 -5
  19. package/es/composite-comp/dito/components/Recommend/pc/index.js +6 -4
  20. package/es/composite-comp/dito/components/Recommend/pc/index.less +1 -0
  21. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +2 -2
  22. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -1
  23. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +1 -1
  24. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +2 -0
  25. package/es/meta-comp/components/Image/index.js +5 -0
  26. package/es/meta-comp/components/Image/index.less +2 -2
  27. package/es/meta-comp/components/Text/index.less +1 -0
  28. package/lib/composite-comp/bol/components/Button/index.less +8 -9
  29. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +69 -18
  30. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +9 -4
  31. package/lib/composite-comp/bol/components/Carousel/pc/index.js +79 -31
  32. package/lib/composite-comp/bol/components/Carousel/pc/index.less +10 -9
  33. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +28 -8
  34. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -0
  35. package/lib/composite-comp/bol/components/Newsletter/index.less +1 -1
  36. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +4 -2
  37. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  38. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  39. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -1
  40. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +4 -2
  41. package/lib/composite-comp/common/components/ProductItem/index.less +1 -0
  42. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +2 -4
  43. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +9 -10
  44. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +8 -0
  45. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +8 -5
  46. package/lib/composite-comp/dito/components/Recommend/pc/index.js +6 -4
  47. package/lib/composite-comp/dito/components/Recommend/pc/index.less +1 -0
  48. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +2 -2
  49. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -1
  50. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +1 -1
  51. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +2 -0
  52. package/lib/meta-comp/components/Image/index.js +5 -0
  53. package/lib/meta-comp/components/Image/index.less +2 -2
  54. package/lib/meta-comp/components/Text/index.less +1 -0
  55. package/package.json +1 -1
@@ -62,7 +62,6 @@ function (_super) {
62
62
 
63
63
  var _a = this.props,
64
64
  data = _a.data,
65
- configPaddingLR = _a.configPaddingLR,
66
65
  configCompSpace = _a.configCompSpace,
67
66
  configWidth = _a.configWidth;
68
67
  var obj = data[window.magicDesign.device] || {};
@@ -107,7 +106,7 @@ function (_super) {
107
106
  _this.selfRender();
108
107
  },
109
108
  value: obj.paddingBottom || 0
110
- })), configPaddingLR && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
109
+ })), /*#__PURE__*/_react["default"].createElement("div", {
111
110
  className: "padding-item"
112
111
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
113
112
  type: "icon-padding-left"
@@ -129,7 +128,7 @@ function (_super) {
129
128
  _this.selfRender();
130
129
  },
131
130
  value: obj.paddingRight || 0
132
- }))))), configCompSpace && /*#__PURE__*/_react["default"].createElement(_common.Field, {
131
+ })))), configCompSpace && /*#__PURE__*/_react["default"].createElement(_common.Field, {
133
132
  title: (0, _locale.i18n)('COMPONENT_SPACING')
134
133
  }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
135
134
  maxVal: 100,
@@ -146,7 +145,6 @@ function (_super) {
146
145
  };
147
146
 
148
147
  SpacingConfig.defaultProps = {
149
- configPaddingLR: true,
150
148
  configCompSpace: true,
151
149
  configWidth: false,
152
150
  data: {
@@ -104,8 +104,7 @@ var getDefaultJSON = function getDefaultJSON() {
104
104
  fontWeight: 600,
105
105
  fontSize: 8,
106
106
  fontStyle: 'normal',
107
- color: '#fff',
108
- padding: '0 5px'
107
+ color: '#fff'
109
108
  },
110
109
  buttonBorder: {
111
110
  open: true,
@@ -114,16 +113,16 @@ var getDefaultJSON = function getDefaultJSON() {
114
113
  },
115
114
  spacing: {
116
115
  pc: {
117
- paddingTop: 2,
118
- paddingBottom: 2,
119
- paddingLeft: 3,
120
- paddingRight: 3
116
+ paddingTop: 0,
117
+ paddingBottom: 0,
118
+ paddingLeft: 4,
119
+ paddingRight: 4
121
120
  },
122
121
  mobile: {
123
- paddingTop: 2,
124
- paddingBottom: 2,
125
- paddingLeft: 3,
126
- paddingRight: 3
122
+ paddingTop: 0,
123
+ paddingBottom: 0,
124
+ paddingLeft: 4,
125
+ paddingRight: 4
127
126
  }
128
127
  },
129
128
  buttonIcon: {
@@ -6,6 +6,7 @@
6
6
  width: fit-content;
7
7
  display: flex;
8
8
  align-items: center;
9
+ min-width: 130px;
9
10
 
10
11
  &:hover {
11
12
  @keyframes show-active{
@@ -89,8 +90,15 @@
89
90
  .category-group {
90
91
  margin-left: 180px;
91
92
  display: flex;
93
+ overflow-x: scroll;
94
+ flex: 1;
95
+ scroll-snap-type: x;
92
96
  .one-category {
93
97
  margin-right: 44px;
98
+ scroll-snap-align: end;
99
+ &:last-of-type {
100
+ margin-right: 0;
101
+ }
94
102
  }
95
103
  }
96
104
 
@@ -229,7 +229,7 @@ var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
229
229
  var LAYOUT_IMAGE_SIZE = {
230
230
  layout1: {
231
231
  w: '100%',
232
- h: 164
232
+ h: ''
233
233
  },
234
234
  layout2: {
235
235
  w: 100,
@@ -237,7 +237,7 @@ var LAYOUT_IMAGE_SIZE = {
237
237
  },
238
238
  layout3: {
239
239
  w: '100%',
240
- h: 104
240
+ h: ''
241
241
  },
242
242
  layout4: {
243
243
  w: 96,
@@ -568,12 +568,15 @@ function (_super) {
568
568
  return groupSource[tabIndex].seeAll;
569
569
  }, '');
570
570
 
571
- var imgHeight = (0, _commonUtil.ensure)(function () {
572
- return LAYOUT_IMAGE_SIZE[layout].h;
573
- }, 140);
574
571
  var imgWidth = (0, _commonUtil.ensure)(function () {
575
572
  return LAYOUT_IMAGE_SIZE[layout].w;
576
573
  }, 140);
574
+ var imgHeight = (0, _commonUtil.ensure)(function () {
575
+ return LAYOUT_IMAGE_SIZE[layout].h;
576
+ }, 140);
577
+ var macyContainerDom = document.querySelector('.m-recommend-mobile');
578
+ if (layout === 'layout1' && macyContainerDom) imgHeight = (macyContainerDom.clientWidth - 32) / 2 - 6;
579
+ if (layout === 'layout3' && macyContainerDom) imgHeight = (macyContainerDom.clientWidth - 32) / 3 - 8;
577
580
  return /*#__PURE__*/_react["default"].createElement("div", {
578
581
  className: "m-recommend-mobile",
579
582
  style: bgStyle
@@ -233,7 +233,7 @@ var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
233
233
  var LAYOUT_IMAGE_SIZE = {
234
234
  layout1: {
235
235
  w: '100%',
236
- h: 180
236
+ h: ''
237
237
  },
238
238
  layout2_col6: {
239
239
  w: 160,
@@ -636,12 +636,14 @@ function (_super) {
636
636
  return groupSource[tabIndex].seeAll;
637
637
  }, '');
638
638
 
639
- var imgHeight = (0, _commonUtil.ensure)(function () {
640
- return layout === 'layout1' ? LAYOUT_IMAGE_SIZE[layout].h : LAYOUT_IMAGE_SIZE[layout + "_col" + panelProps.customize.pcRowNum].h;
641
- }, 140);
642
639
  var imgWidth = (0, _commonUtil.ensure)(function () {
643
640
  return layout === 'layout1' ? LAYOUT_IMAGE_SIZE[layout].w : LAYOUT_IMAGE_SIZE[layout + "_col" + panelProps.customize.pcRowNum].w;
644
641
  }, 140);
642
+ var imgHeight = (0, _commonUtil.ensure)(function () {
643
+ return layout === 'layout1' ? LAYOUT_IMAGE_SIZE[layout].h : LAYOUT_IMAGE_SIZE[layout + "_col" + panelProps.customize.pcRowNum].h;
644
+ }, 140);
645
+ var macyContainerDom = document.querySelector('.tab-list');
646
+ if (layout === 'layout1' && macyContainerDom) imgHeight = (macyContainerDom.clientWidth - 12 * (panelProps.customize.pcRowNum - 1)) / panelProps.customize.pcRowNum;
645
647
  return /*#__PURE__*/_react["default"].createElement("div", {
646
648
  className: "m-recommend-pc",
647
649
  style: bgStyle
@@ -31,6 +31,7 @@
31
31
  justify-content: center;
32
32
  white-space: nowrap;
33
33
  flex-direction: column;
34
+ cursor: pointer;
34
35
 
35
36
  img {
36
37
  height: 16px;
@@ -42,7 +42,7 @@ var getDefaultJSON = function getDefaultJSON() {
42
42
  open: true,
43
43
  color: {
44
44
  pc: '#D92929',
45
- mobile: '#232F46'
45
+ mobile: '#8493AF'
46
46
  }
47
47
  },
48
48
  icon: {
@@ -50,7 +50,7 @@ var getDefaultJSON = function getDefaultJSON() {
50
50
  open: true,
51
51
  color: {
52
52
  pc: '#D92929',
53
- mobile: '#8493AF'
53
+ mobile: '#232F46'
54
54
  }
55
55
  }
56
56
  },
@@ -47,7 +47,6 @@ function FlashDealConfig(props) {
47
47
  name: (0, _locale.i18n)('SPACING'),
48
48
  value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
49
49
  configCompSpace: true,
50
- configPaddingLR: false,
51
50
  data: data.spacing
52
51
  })
53
52
  }, {
@@ -82,7 +82,7 @@ function (_super) {
82
82
  };
83
83
 
84
84
  _this.onAddClick = function () {
85
- var json = (0, _defaultJSON.recommendGroupSourceJSON)('', 'Tab');
85
+ var json = (0, _defaultJSON.recommendGroupSourceJSON)(_this.props.id, '', 'Tab');
86
86
 
87
87
  _this.props.source.push(json);
88
88
 
@@ -86,6 +86,7 @@ function (_super) {
86
86
  var _this = this;
87
87
 
88
88
  var data = this.props.data;
89
+ console.log('data', data);
89
90
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
90
91
  divider: "bold",
91
92
  headerSize: "large",
@@ -93,6 +94,7 @@ function (_super) {
93
94
  key: '1',
94
95
  name: (0, _locale.i18n)('GROUP'),
95
96
  value: /*#__PURE__*/_react["default"].createElement(_RecommendConfigGroup["default"], {
97
+ id: data.id,
96
98
  source: data.groupSource
97
99
  })
98
100
  }, {
@@ -78,6 +78,7 @@ function (_super) {
78
78
  hoverState = _a.hoverState,
79
79
  maxHeight = _a.maxHeight,
80
80
  maxWidth = _a.maxWidth,
81
+ minHeight = _a.minHeight,
81
82
  minWidth = _a.minWidth,
82
83
  limitWidthHeight = _a.limitWidthHeight,
83
84
  scale = _a.scale;
@@ -97,6 +98,10 @@ function (_super) {
97
98
  obj.maxWidth = maxWidth;
98
99
  }
99
100
 
101
+ if (minHeight) {
102
+ obj.minHeight = minHeight;
103
+ }
104
+
100
105
  if (minWidth) {
101
106
  obj.minWidth = minWidth;
102
107
  }
@@ -16,8 +16,8 @@
16
16
 
17
17
  &.backgroundImg {
18
18
  &>img {
19
- // object-fit: cover;
20
- width: auto;
19
+ object-fit: cover;
20
+ // width: auto;
21
21
  max-width: none;
22
22
  }
23
23
  }
@@ -1,5 +1,6 @@
1
1
  .m-meta-text {
2
2
  display: block;
3
+ margin: 0 auto;
3
4
 
4
5
  .select-container {
5
6
  position: relative;
@@ -13,36 +13,35 @@
13
13
  }
14
14
 
15
15
  &.layout1 {
16
- flex-direction: column;
16
+ flex-direction: row;
17
17
 
18
18
  &.left {
19
- align-items: flex-start;
19
+ justify-content: flex-start;
20
20
  }
21
21
 
22
22
  &.center {
23
- align-items: center;
23
+ justify-content: center;
24
24
  }
25
25
 
26
26
  &.right {
27
- align-items: flex-end;
27
+ justify-content: flex-end;
28
28
  }
29
29
  }
30
30
 
31
31
  &.layout2 {
32
- flex-direction: row;
32
+ flex-direction: column;
33
33
 
34
34
  &.left {
35
- justify-content: flex-start;
35
+ align-items: flex-start;
36
36
  }
37
37
 
38
38
  &.center {
39
- justify-content: center;
39
+ align-items: center;
40
40
  }
41
41
 
42
42
  &.right {
43
- justify-content: flex-end;
43
+ align-items: flex-end;
44
44
  }
45
45
  }
46
46
 
47
-
48
47
  }
@@ -13,6 +13,10 @@ var _reactSlick = _interopRequireDefault(require("react-slick"));
13
13
 
14
14
  var _classnames = _interopRequireDefault(require("classnames"));
15
15
 
16
+ var _lodash = require("lodash");
17
+
18
+ var _coreUtil = require("../../../../../utils/coreUtil");
19
+
16
20
  var _components = require("../../../../../meta-comp/components");
17
21
 
18
22
  var _commonUtil = require("../../../../../utils/commonUtil");
@@ -70,20 +74,20 @@ var __assign = void 0 && (void 0).__assign || function () {
70
74
  };
71
75
 
72
76
  var MOBILE_IMG_SIZE = [{
73
- w: 282,
74
- h: 212
77
+ maxW: 375,
78
+ maxH: 160
75
79
  }, {
76
- w: 135,
77
- h: 102
80
+ maxW: 169,
81
+ maxH: 126
78
82
  }, {
79
- w: 86,
80
- h: 65
83
+ maxW: 109,
84
+ maxH: 82
81
85
  }, {
82
- w: 60,
83
- h: 45
86
+ maxW: 78,
87
+ maxH: 58
84
88
  }, {
85
- w: 50,
86
- h: 50
89
+ maxW: 50,
90
+ maxH: 50
87
91
  }];
88
92
 
89
93
  var CarouselMobile =
@@ -95,9 +99,28 @@ function (_super) {
95
99
  var _this = _super !== null && _super.apply(this, arguments) || this;
96
100
 
97
101
  _this.state = {
98
- sliderIndex: 0
102
+ sliderIndex: 0,
103
+ contentWidth: 0
99
104
  };
100
105
  _this.sliderRef = /*#__PURE__*/_react["default"].createRef();
106
+ _this.destroy = null;
107
+
108
+ _this.listenWidth = function () {
109
+ var renderContainer = document.querySelector('.composite_wrap');
110
+ if (renderContainer) _this.setState({
111
+ contentWidth: renderContainer.offsetWidth
112
+ });
113
+ };
114
+
115
+ _this.sliderGoTo = function (groupSource) {
116
+ var nextIndex = groupSource.findIndex(function (item) {
117
+ return item.id === _mobx.store.clickedGroup;
118
+ });
119
+
120
+ if (nextIndex != -1 && nextIndex != _this.state.sliderIndex) {
121
+ _this.sliderRef.slickGoTo(nextIndex);
122
+ }
123
+ };
101
124
 
102
125
  _this.mouseEnterBtn = function (e) {
103
126
  var _a, _b;
@@ -133,14 +156,24 @@ function (_super) {
133
156
  CarouselMobile.prototype.componentDidMount = function () {
134
157
  var _a;
135
158
 
159
+ var _this = this;
160
+
136
161
  var data = this.props.data;
137
162
 
138
163
  _mobx.store.setState({
139
164
  CarouselStore: __assign(__assign({}, _mobx.store.CarouselStore), (_a = {}, _a[data.id] = data.customize.layout, _a))
140
165
  });
166
+
167
+ this.destroy = (0, _mobx.autorun)(function () {
168
+ _this.sliderGoTo(_this.props.data.groupSource);
169
+ });
170
+ this.listenWidth();
171
+ window.addEventListener('resize', (0, _lodash.debounce)(this.listenWidth));
141
172
  };
142
173
 
143
174
  CarouselMobile.prototype.componentWillReceiveProps = function (nextProps) {
175
+ this.sliderGoTo(nextProps.data.groupSource);
176
+
144
177
  if (nextProps.data.setting.autoplay.open) {
145
178
  this.sliderRef.slickPlay();
146
179
  } else {
@@ -148,11 +181,17 @@ function (_super) {
148
181
  }
149
182
  };
150
183
 
184
+ CarouselMobile.prototype.componentWillUnmount = function () {
185
+ this.destroy();
186
+ };
187
+
151
188
  CarouselMobile.prototype.render = function () {
152
189
  var _this = this;
153
190
 
154
191
  var data = this.props.data;
155
- var sliderIndex = this.state.sliderIndex;
192
+ var _a = this.state,
193
+ sliderIndex = _a.sliderIndex,
194
+ contentWidth = _a.contentWidth;
156
195
  var showText = data.customize.layout === 'layout2';
157
196
  var colNum = showText ? 1 : Math.min(data.customize.rowNum, data.groupSource.length);
158
197
  var bgStyle = {};
@@ -168,13 +207,18 @@ function (_super) {
168
207
  };
169
208
  }
170
209
 
171
- var spacing = data.spacing[window.magicDesign.device];
172
- if (spacing.contentWidth) bgStyle.width = spacing.contentWidth;
210
+ var autoplay = data.setting.autoplay.open;
211
+ /** 设计器模式下 如果选中特定group 自动播放关闭 */
212
+
213
+ if ((0, _coreUtil.isDesignMode)() && _mobx.store.clickedGroup) {
214
+ autoplay = false;
215
+ }
216
+
173
217
  var settings = {
174
218
  className: 'slider-wrap',
175
219
  arrows: false,
176
220
  dots: false,
177
- autoplay: data.setting.autoplay.open,
221
+ autoplay: autoplay,
178
222
  autoplaySpeed: data.setting.autoplay.interval * 1000,
179
223
  speed: 500,
180
224
  draggable: window.magicDesign.mode === 'renderer',
@@ -186,9 +230,16 @@ function (_super) {
186
230
  });
187
231
  }
188
232
  };
233
+ var spacing = data.spacing[window.magicDesign.device];
189
234
  return /*#__PURE__*/_react["default"].createElement("div", {
190
235
  className: "m-carousel-mobile",
191
236
  style: bgStyle
237
+ }, /*#__PURE__*/_react["default"].createElement("div", {
238
+ className: "content",
239
+ style: {
240
+ width: contentWidth - spacing.paddingLeft - spacing.paddingRight,
241
+ paddingBottom: data.setting.dots.open ? '20px' : '0'
242
+ }
192
243
  }, /*#__PURE__*/_react["default"].createElement(_reactSlick["default"], _extends({
193
244
  ref: function ref(slider) {
194
245
  return _this.sliderRef = slider;
@@ -201,8 +252,8 @@ function (_super) {
201
252
  className: "img"
202
253
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
203
254
  data: item.image,
204
- maxHeight: MOBILE_IMG_SIZE[colNum - 1].h,
205
- maxWidth: MOBILE_IMG_SIZE[colNum - 1].w
255
+ maxHeight: MOBILE_IMG_SIZE[colNum - 1].maxH,
256
+ maxWidth: MOBILE_IMG_SIZE[colNum - 1].maxW
206
257
  })), showText && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, item.title.open && /*#__PURE__*/_react["default"].createElement("div", {
207
258
  className: "title"
208
259
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
@@ -237,7 +288,7 @@ function (_super) {
237
288
  fontSize: i == sliderIndex ? data.setting.dots.hoverSize : data.setting.dots.size
238
289
  }
239
290
  });
240
- })));
291
+ }))));
241
292
  };
242
293
 
243
294
  CarouselMobile.defaultProps = {
@@ -1,12 +1,16 @@
1
1
  .m-carousel-mobile {
2
- display: flex;
3
2
  position: relative;
4
- margin: 0 auto;
3
+ width: 100%;
4
+
5
+ .content {
6
+ display: flex;
7
+ margin: 0 auto;
8
+ }
5
9
 
6
10
  .slider-wrap {
7
11
  width: 100%;
8
- padding: 30px 0;
9
12
  margin: 0 auto;
13
+ line-height: 1;
10
14
 
11
15
  .img-wrap {
12
16
  .img {
@@ -30,6 +34,7 @@
30
34
 
31
35
  .tags {
32
36
  margin-top: 8px;
37
+ margin-bottom: 12px;
33
38
  display: flex;
34
39
  flex-direction: row;
35
40
  align-items: center;
@@ -54,7 +59,7 @@
54
59
  .swiper-ban {
55
60
  position: absolute;
56
61
  width: 100%;
57
- bottom: 0;
62
+ bottom: 6px;
58
63
  display: flex;
59
64
  align-items: center;
60
65
  justify-content: center;