@fonixtree/magic-design 0.1.43 → 0.1.45

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 (41) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  3. package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  4. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  5. package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  6. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -23
  7. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -38
  8. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +50 -41
  9. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
  10. package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
  11. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  12. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  13. package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  14. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  15. package/es/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  16. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +6 -1
  17. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +80 -70
  18. package/es/composite-comp/dito/components/SignBoard/pc/index.js +6 -1
  19. package/es/composite-comp/dito/components/SignBoard/pc/index.less +5 -0
  20. package/es/meta-comp/components/Text/index.js +2 -2
  21. package/lib/assets/fonts/.DS_Store +0 -0
  22. package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  23. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  24. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  25. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  26. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -23
  27. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -38
  28. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +50 -41
  29. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
  30. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
  31. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  32. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  33. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  34. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  35. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  36. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +6 -1
  37. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +80 -70
  38. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +6 -1
  39. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +5 -0
  40. package/lib/meta-comp/components/Text/index.js +2 -2
  41. package/package.json +1 -1
@@ -1,51 +1,58 @@
1
1
  .m-search-bar {
2
- height: 0.96rem;
3
- padding: 0.16rem 0;
2
+ height: 48px;
3
+ padding: 8px 0;
4
4
  display: flex;
5
5
  flex-direction: row-reverse;
6
6
  align-items: center;
7
7
  justify-content: space-between;
8
8
  width: 100%;
9
- }
10
- .m-search-bar .right {
11
- display: flex;
12
- flex: 1;
13
- margin-left: 0.3rem;
14
- align-items: center;
15
- justify-content: space-between;
16
- }
17
- .m-search-bar .right .search-input-wrap {
18
- flex: 1;
19
- background: #fff;
20
- border-radius: 0.08rem;
21
- border: 0.02rem solid #D2D9E5;
22
- padding: 0.08rem 0.24rem;
23
- height: 0.64rem;
24
- text-align: right;
25
- display: flex;
26
- justify-content: flex-end;
27
- }
28
- .m-search-bar .right .message-wrap {
29
- position: relative;
30
- margin-left: 0.2rem;
31
- }
32
- .m-search-bar .right .message-wrap .num {
33
- position: absolute;
34
- top: -0.12rem;
35
- right: -0.12rem;
36
- display: inline-block;
37
- padding: 0.02rem 0.04rem;
38
- min-width: 0.34rem;
39
- text-align: center;
40
- background-color: #CE1126;
41
- border: 0.02rem solid #fff;
42
- border-radius: 0.16rem;
43
- font-family: 'Montserrat';
44
- font-style: normal;
45
- font-weight: 600;
46
- font-size: 0.16rem;
47
- color: #FFFFFF;
48
- }
49
- .m-search-bar .logo img {
50
- width: auto;
51
- }
9
+
10
+ .right {
11
+ display: flex;
12
+ flex: 1;
13
+ margin-left: 15px;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+
17
+ .search-input-wrap {
18
+ flex: 1;
19
+ background: #fff;
20
+ border-radius: 4px;
21
+ border: 1px solid #D2D9E5;
22
+ padding: 4px 12px;
23
+ height: 32px;
24
+ text-align: right;
25
+ display: flex;
26
+ justify-content: flex-end;
27
+ }
28
+
29
+ .message-wrap {
30
+ position: relative;
31
+ margin-left: 10px;
32
+
33
+ .num {
34
+ position: absolute;
35
+ top: -6px;
36
+ right: -6px;
37
+ display: inline-block;
38
+ padding: 1px 2px;
39
+ min-width: 17px;
40
+ text-align: center;
41
+ background-color: #CE1126;
42
+ border: 1px solid #fff;
43
+ border-radius: 8px;
44
+ font-family: 'Montserrat';
45
+ font-style: normal;
46
+ font-weight: 600;
47
+ font-size: 8px;
48
+ color: #FFFFFF;
49
+ }
50
+ }
51
+ }
52
+
53
+ .logo {
54
+ img {
55
+ width: auto;
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect opacity="0.01" width="14" height="14" fill="black"/>
3
+ <path d="M13.1077 5.62392L9.01332 4.83432L7 1.16943L4.98673 4.83432L0.892334 5.62392L3.74241 8.67816L3.22506 12.8306L7 11.0534L10.7747 12.8306L10.2574 8.67816L13.1077 5.62392Z" fill="#FAAD14"/>
4
+ </svg>
@@ -17,6 +17,8 @@ var _storeLogo = _interopRequireDefault(require("../imgs/storeLogo.png"));
17
17
 
18
18
  var _coreUtil = require("../../../../../utils/coreUtil");
19
19
 
20
+ var _star = _interopRequireDefault(require("../imgs/star.svg"));
21
+
20
22
  var _commonUtil = require("../../../../../utils/commonUtil");
21
23
 
22
24
  var _locale = require("../../../../../locale");
@@ -376,7 +378,10 @@ function (_super) {
376
378
  className: "store-info-wrap"
377
379
  }, /*#__PURE__*/_react["default"].createElement("div", {
378
380
  className: "number"
379
- }, /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeEvalValue) ? Number(storeInfo.storeEvalValue / 100).toFixed(1) : '5', " "), " ", (0, _locale.i18n)('Positive')), /*#__PURE__*/_react["default"].createElement("div", {
381
+ }, /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeEvalValue) ? Number(storeInfo.storeEvalValue / 100).toFixed(1) : '5', " "), /*#__PURE__*/_react["default"].createElement("img", {
382
+ alt: "star",
383
+ src: _star["default"]
384
+ })), /*#__PURE__*/_react["default"].createElement("div", {
380
385
  className: "number"
381
386
  }, /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.userCollectionNum) || '1000+', " "), " ", (0, _locale.i18n)('FOLLOWERS')), /*#__PURE__*/_react["default"].createElement("div", {
382
387
  className: "chat-btn",
@@ -1,72 +1,82 @@
1
1
  .m-sign-board-bar {
2
2
  width: 100%;
3
- }
4
- .m-sign-board-bar .search {
5
- width: 100%;
6
- background: #EEEEEE;
7
- border-radius: 0.16rem;
8
- padding: 0.16rem 0.24rem;
9
- height: 0.72rem;
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- margin-bottom: 0.08rem;
14
- }
15
- .m-sign-board-bar .search .search-input {
16
- height: 0.4rem;
17
- font-weight: 400;
18
- font-size: 0.32rem;
19
- line-height: 0.4rem;
20
- padding: 0;
21
- background-color: transparent;
22
- border: none;
23
- }
24
- .m-sign-board-bar .store-info-wrap {
25
- display: flex;
26
- align-items: center;
27
- margin-top: 0.4rem;
28
- }
29
- .m-sign-board-bar .store-info-wrap .number {
30
- font-family: 'Montserrat';
31
- font-weight: 400;
32
- font-size: 0.24rem;
33
- line-height: 0.32rem;
34
- color: #696973;
35
- }
36
- .m-sign-board-bar .store-info-wrap .number > span {
37
- font-weight: 700;
38
- font-size: 0.28rem;
39
- line-height: 0.36rem;
40
- color: #333333;
41
- }
42
- .m-sign-board-bar .store-info-wrap .number:nth-child(2) {
43
- margin-left: 0.48rem;
44
- flex: 1;
45
- }
46
- .m-sign-board-bar .store-info-wrap .chat-btn {
47
- padding: 0.1rem 0.24rem;
48
- background: #FFFFFF;
49
- border: 0.02rem solid #333333;
50
- border-radius: 0.08rem;
51
- width: fit-content;
52
- font-family: 'Montserrat';
53
- font-weight: 400;
54
- font-size: 0.24rem;
55
- line-height: 0.32rem;
56
- text-transform: uppercase;
57
- color: #333333;
58
- }
59
- .m-sign-board-bar .store-info-wrap .store-logo {
60
- width: 0.88rem;
61
- height: 0.88rem;
62
- border-radius: 50%;
63
- }
64
- .m-sign-board-bar .store-info-wrap .store-name {
65
- flex: 1;
66
- margin-left: 0.24rem;
67
- font-weight: 500;
68
- font-size: 0.32rem;
69
- line-height: 0.4rem;
70
- color: #070707;
71
- font-family: 'Montserrat';
72
- }
3
+
4
+ .search {
5
+ width: 100%;
6
+ background: #EEEEEE;
7
+ border-radius: 8px;
8
+ padding: 8px 12px;
9
+ height: 36px;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ margin-bottom: 4px;
14
+ .search-input {
15
+ height: 20px;
16
+ font-weight: 400;
17
+ font-size: 16px;
18
+ line-height: 20px;
19
+ padding: 0;
20
+ background-color: transparent;
21
+ border: none;
22
+ }
23
+ }
24
+
25
+ .store-info-wrap {
26
+ display: flex;
27
+ align-items: center;
28
+ margin-top: 20px;
29
+ .number {
30
+ font-family: 'Montserrat';
31
+ font-weight: 400;
32
+ font-size: 12px;
33
+ line-height: 16px;
34
+ color: #696973;
35
+ display: flex;
36
+ align-items: center;
37
+ &> img {
38
+ width: 14px;
39
+ }
40
+ &> span {
41
+ font-weight: 700;
42
+ font-size: 14px;
43
+ line-height: 18px;
44
+ color: #333333;
45
+ margin: 0 4px;
46
+ }
47
+ &:nth-child(2) {
48
+ margin-left: 24px;
49
+ flex: 1;
50
+ }
51
+ }
52
+ .chat-btn {
53
+ padding: 5px 12px;
54
+ // height: 26px;
55
+ background: #FFFFFF;
56
+ border: 1px solid #333333;
57
+ border-radius: 4px;
58
+ width: fit-content;
59
+ font-family: 'Montserrat';
60
+ font-weight: 400;
61
+ font-size: 12px;
62
+ line-height: 16px;
63
+ text-transform: uppercase;
64
+ color: #333333;
65
+ }
66
+ .store-logo {
67
+ width: 44px;
68
+ height: 44px;
69
+ border-radius: 50%;
70
+ }
71
+ .store-name {
72
+ flex: 1;
73
+ margin-left: 12px;
74
+ font-weight: 500;
75
+ font-size: 16px;
76
+ line-height: 20px;
77
+ color: #070707;
78
+ font-family: 'Montserrat';
79
+ }
80
+ }
81
+
82
+ }
@@ -19,6 +19,8 @@ var _coreUtil = require("../../../../../utils/coreUtil");
19
19
 
20
20
  var _storeLogo = _interopRequireDefault(require("../imgs/storeLogo.png"));
21
21
 
22
+ var _star = _interopRequireDefault(require("../imgs/star.svg"));
23
+
22
24
  var _logo = _interopRequireDefault(require("../imgs/logo.png"));
23
25
 
24
26
  var _commonUtil = require("../../../../../utils/commonUtil");
@@ -384,7 +386,10 @@ function (_super) {
384
386
  className: "store-number"
385
387
  }, /*#__PURE__*/_react["default"].createElement("div", {
386
388
  className: "store-number-item"
387
- }, (0, _locale.i18n)('Positive'), ":", /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeEvalValue) ? Number(storeInfo.storeEvalValue / 100).toFixed(1) : '5')), /*#__PURE__*/_react["default"].createElement("div", {
389
+ }, /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeEvalValue) ? Number(storeInfo.storeEvalValue / 100).toFixed(1) : '5'), /*#__PURE__*/_react["default"].createElement("img", {
390
+ alt: "star",
391
+ src: _star["default"]
392
+ })), /*#__PURE__*/_react["default"].createElement("div", {
388
393
  className: "store-number-item"
389
394
  }, (0, _locale.i18n)('FOLLOWERS'), ":", /*#__PURE__*/_react["default"].createElement("span", null, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.userCollectionNum) || '1000+')))), /*#__PURE__*/_react["default"].createElement("div", {
390
395
  onClick: this.clickCollect
@@ -104,6 +104,11 @@
104
104
  font-size: 14px;
105
105
  line-height: 18px;
106
106
  color: #696973;
107
+ display: flex;
108
+ align-items: center;
109
+ &> img {
110
+ width: 14px;
111
+ }
107
112
  &:nth-child(2) {
108
113
  margin-left: 24px;
109
114
  }
@@ -342,7 +342,7 @@ function (_super) {
342
342
  if (outputType == 'html' && _mode == 'renderer') {
343
343
  if (data === null || data === void 0 ? void 0 : data.content.clickUrl) {
344
344
  var a = document.createElement('a');
345
- a.href = data.content.clickUrl;
345
+ a.href = _typeof(data.content.clickUrl) === 'object' ? data.content.clickUrl.value : data.content.clickUrl;
346
346
  a.target = '_blank';
347
347
  a.innerHTML = data.text;
348
348
  _this.textRef.current.innerHTML = '';
@@ -365,7 +365,7 @@ function (_super) {
365
365
  if (c === null || c === void 0 ? void 0 : c.content.clickUrl) {
366
366
  if (outputType == 'html' && _mode == 'renderer') {
367
367
  var a = document.createElement('a');
368
- a.href = c.content.clickUrl;
368
+ a.href = _typeof(c.content.clickUrl) === 'object' ? c.content.clickUrl.value : c.content.clickUrl;
369
369
  a.target = '_blank';
370
370
 
371
371
  if (_mode == 'designer') {
Binary file
@@ -1,54 +1,80 @@
1
1
  .m-banner-mobile {
2
2
  position: relative;
3
- }
4
- .m-banner-mobile .cylon-carousel .slick-track {
5
- display: flex;
6
- align-items: center;
7
- }
8
- .m-banner-mobile .carouselItem {
9
- position: relative;
10
- display: flex;
11
- }
12
- .m-banner-mobile .carouselItem .carouseContent {
13
- padding: 1.6rem 0.56rem 0;
14
- position: absolute;
15
- z-index: 2;
16
- display: flex;
17
- flex-direction: column;
18
- margin-bottom: auto;
19
- }
20
- .m-banner-mobile .carouselItem .title {
21
- margin-bottom: 0.16rem;
22
- }
23
- .m-banner-mobile .carouselItem .sub-title {
24
- margin-bottom: 0.4rem;
25
- }
26
- .m-banner-mobile .carouselItem .btn-wrap {
27
- display: flex;
28
- align-items: center;
29
- justify-content: flex-start;
30
- }
31
- .m-banner-mobile .carouselItem .btn-wrap .btn {
32
- margin-right: 0.24rem;
33
- }
34
- .m-banner-mobile .swiper-ban {
35
- position: absolute;
36
- width: 100%;
37
- bottom: 0.2rem;
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- }
42
- .m-banner-mobile .swiper-ban .ban {
43
- font-size: 0.32rem;
44
- width: 1.5em;
45
- height: 0.3em;
46
- background: #FFF;
47
- cursor: inherit;
48
- margin-right: 0.3em;
49
- transition: all 0.5s;
50
- }
51
- .m-banner-mobile .swiper-ban .ban.active {
52
- width: 1.5em;
53
- opacity: 1;
54
- }
3
+ // .turnPage {
4
+ // position: absolute;
5
+ // top: 50%;
6
+ // transform: translateY(-50%);
7
+ // z-index: 3;
8
+ // cursor: pointer;
9
+ // }
10
+ // .leftBtn {
11
+ // left: 20px;
12
+ // }
13
+ // .rightBtn {
14
+ // right: 20px;
15
+ // }
16
+
17
+ .cylon-carousel {
18
+ .slick-track {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+ }
23
+
24
+ .carouselItem {
25
+ // height: 386px;
26
+ position: relative;
27
+ display: flex;
28
+
29
+ .carouseContent {
30
+ padding: 80px 28px 0;
31
+ position: absolute;
32
+ z-index: 2;
33
+ display: flex;
34
+ flex-direction: column;
35
+ margin-bottom: auto;
36
+ }
37
+
38
+ .title {
39
+ margin-bottom: 8px;
40
+ }
41
+
42
+ .sub-title {
43
+ margin-bottom: 20px;
44
+ }
45
+
46
+ .btn-wrap {
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: flex-start;
50
+
51
+ .btn {
52
+ margin-right: 12px;
53
+ }
54
+ }
55
+ }
56
+
57
+ .swiper-ban {
58
+ position: absolute;
59
+ width: 100%;
60
+ bottom: 10px;
61
+ display: flex;
62
+ align-items: center;
63
+ justify-content: center;
64
+
65
+ .ban {
66
+ font-size: 16px;
67
+ width: 1.5em;
68
+ height: 0.3em;
69
+ background: #FFF;
70
+ cursor: inherit;
71
+ margin-right: 0.3em;
72
+ transition: all .5s;
73
+
74
+ &.active {
75
+ width: 1.5em;
76
+ opacity: 1;
77
+ }
78
+ }
79
+ }
80
+ }
@@ -1,84 +1,103 @@
1
1
  .m-carousel-mobile {
2
2
  position: relative;
3
3
  width: 100%;
4
- }
5
- .m-carousel-mobile .content {
6
- display: flex;
7
- margin: 0 auto;
8
- }
9
- .m-carousel-mobile .slider-wrap {
10
- width: 100%;
11
- margin: 0 auto;
12
- line-height: 1;
13
- }
14
- .m-carousel-mobile .slider-wrap .slick-list {
15
- padding: 0;
16
- }
17
- .m-carousel-mobile .slider-wrap .slick-list:hover {
18
- padding-top: 2rem;
19
- margin-top: -2rem;
20
- padding-bottom: 2rem;
21
- margin-bottom: -2rem;
22
- }
23
- .m-carousel-mobile .slider-wrap .slick-list .slick-track {
24
- display: flex;
25
- align-items: center;
26
- gap: 0.24rem;
27
- }
28
- .m-carousel-mobile .slider-wrap .img-wrap .img {
29
- width: fit-content;
30
- height: fit-content;
31
- display: block;
32
- margin: 0 auto;
33
- }
34
- .m-carousel-mobile .slider-wrap .img-wrap .title {
35
- display: flex;
36
- justify-content: center;
37
- margin-top: 0.24rem;
38
- }
39
- .m-carousel-mobile .slider-wrap .img-wrap .text {
40
- display: flex;
41
- justify-content: center;
42
- margin-top: 0.12rem;
43
- }
44
- .m-carousel-mobile .slider-wrap .img-wrap .tags {
45
- margin-top: 0.16rem;
46
- margin-bottom: 0.24rem;
47
- display: flex;
48
- flex-direction: row;
49
- align-items: center;
50
- justify-content: center;
51
- }
52
- .m-carousel-mobile .slider-wrap .img-wrap .tags > div {
53
- margin-right: 0.16rem;
54
- }
55
- .m-carousel-mobile .slider-wrap .img-wrap .tags > div:last-child {
56
- margin-right: 0;
57
- }
58
- .m-carousel-mobile .swiper-ban {
59
- position: absolute;
60
- width: 100%;
61
- bottom: 0.12rem;
62
- display: flex;
63
- align-items: center;
64
- justify-content: center;
65
- }
66
- .m-carousel-mobile .swiper-ban .ban {
67
- font-size: 0.16rem;
68
- width: 1em;
69
- height: 1em;
70
- border-radius: 50%;
71
- background: #FFF;
72
- cursor: inherit;
73
- margin-right: 0.2rem;
74
- transition: all 0.5s;
75
- }
76
- .m-carousel-mobile .swiper-ban .ban:last-child {
77
- margin-right: 0;
78
- }
79
- .m-carousel-mobile .swiper-ban .ban.active {
80
- width: 2em;
81
- height: 1em;
82
- border-radius: 2rem;
83
- opacity: 1;
84
- }
4
+
5
+ .content {
6
+ display: flex;
7
+ margin: 0 auto;
8
+ }
9
+
10
+ .slider-wrap {
11
+ width: 100%;
12
+ margin: 0 auto;
13
+ line-height: 1;
14
+
15
+ .slick-list {
16
+ // margin-left: -11px;
17
+ // margin-right: -11px;
18
+ padding: 0;
19
+
20
+ &:hover {
21
+ padding-top: 100px;
22
+ margin-top: -100px;
23
+ padding-bottom: 100px;
24
+ margin-bottom: -100px;
25
+ }
26
+
27
+ .slick-track {
28
+ display: flex;
29
+ align-items: center;
30
+ gap: 12px;
31
+ }
32
+ }
33
+
34
+ .img-wrap {
35
+ .img {
36
+ width: fit-content;
37
+ height: fit-content;
38
+ display: block;
39
+ margin: 0 auto;
40
+ }
41
+
42
+ .title {
43
+ display: flex;
44
+ justify-content: center;
45
+ margin-top: 12px;
46
+ }
47
+
48
+ .text {
49
+ display: flex;
50
+ justify-content: center;
51
+ margin-top: 6px;
52
+ }
53
+
54
+ .tags {
55
+ margin-top: 8px;
56
+ margin-bottom: 12px;
57
+ display: flex;
58
+ flex-direction: row;
59
+ align-items: center;
60
+ justify-content: center;
61
+
62
+ >div {
63
+ margin-right: 8px;
64
+
65
+ &:last-child {
66
+ margin-right: 0;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ .swiper-ban {
74
+ position: absolute;
75
+ width: 100%;
76
+ bottom: 6px;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: center;
80
+
81
+ .ban {
82
+ font-size: 8px;
83
+ width: 1em;
84
+ height: 1em;
85
+ border-radius: 50%;
86
+ background: #FFF;
87
+ cursor: inherit;
88
+ margin-right: 10px;
89
+ transition: all .5s;
90
+
91
+ &:last-child {
92
+ margin-right: 0;
93
+ }
94
+
95
+ &.active {
96
+ width: 2em;
97
+ height: 1em;
98
+ border-radius: 100px;
99
+ opacity: 1;
100
+ }
101
+ }
102
+ }
103
+ }