@fonixtree/magic-design 0.1.14 → 0.1.16

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 (95) hide show
  1. package/es/common/ImageModal/CommonSelPicCard/index.js +6 -6
  2. package/es/common/ImageModal/CommonSelPicCard/index.less +2 -2
  3. package/es/common/ImageModal/index.less +3 -3
  4. package/es/common/ImageModal/utils.js +15 -9
  5. package/es/common/InputNumber/index.less +1 -1
  6. package/es/common/LinkModal/FilteredProductModal/index.less +2 -2
  7. package/es/common/LinkModal/index.less +1 -1
  8. package/es/common/ProductModal/index.less +2 -2
  9. package/es/common/Slider/index.less +2 -2
  10. package/es/common/SwitchCollapse/index.less +3 -3
  11. package/es/composite-comp/bol/components/Banner/mobile/index.js +4 -2
  12. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  13. package/es/composite-comp/bol/components/Banner/pc/index.less +1 -1
  14. package/es/composite-comp/bol/components/Carousel/mobile/index.js +6 -4
  15. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  16. package/es/composite-comp/bol/components/Divider/index.js +4 -2
  17. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +6 -4
  18. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  19. package/es/composite-comp/bol/components/ImageText/mobile/index.js +4 -2
  20. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  21. package/es/composite-comp/bol/components/Newsletter/index.js +3 -1
  22. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.js +2 -2
  23. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +4 -2
  24. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +2 -2
  25. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  26. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +2 -2
  27. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  28. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +2 -2
  29. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  30. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  31. package/es/composite-comp/bol/components/Wallet/mobile/index.js +4 -4
  32. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  33. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +1 -1
  34. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -2
  35. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  36. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  37. package/es/composite-comp/dito/components/PcNavigation/pc/index.js +1 -1
  38. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  39. package/es/composite-comp/dito/components/Recommend/pc/index.less +1 -1
  40. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +43 -49
  41. package/es/core/Designer/AppointmentModal/index.less +2 -2
  42. package/es/decorator/compositeDecorator.js +4 -2
  43. package/es/meta-comp/components/Button/index.js +3 -1
  44. package/es/meta-comp/components/Image/index.js +4 -2
  45. package/es/meta-comp/components/Text/index.js +1 -1
  46. package/es/meta-comp/config-panels/ImageConfig/index.less +1 -1
  47. package/es/utils/commonUtil.js +45 -1
  48. package/lib/common/ImageModal/CommonSelPicCard/index.js +6 -6
  49. package/lib/common/ImageModal/CommonSelPicCard/index.less +2 -2
  50. package/lib/common/ImageModal/index.less +3 -3
  51. package/lib/common/ImageModal/utils.js +15 -9
  52. package/lib/common/InputNumber/index.less +1 -1
  53. package/lib/common/LinkModal/FilteredProductModal/index.less +2 -2
  54. package/lib/common/LinkModal/index.less +1 -1
  55. package/lib/common/ProductModal/index.less +2 -2
  56. package/lib/common/Slider/index.less +2 -2
  57. package/lib/common/SwitchCollapse/index.less +3 -3
  58. package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -2
  59. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  60. package/lib/composite-comp/bol/components/Banner/pc/index.less +1 -1
  61. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +6 -4
  62. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  63. package/lib/composite-comp/bol/components/Divider/index.js +4 -2
  64. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +6 -4
  65. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  66. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +4 -2
  67. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  68. package/lib/composite-comp/bol/components/Newsletter/index.js +3 -1
  69. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +2 -2
  70. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +4 -2
  71. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +2 -2
  72. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  73. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +2 -2
  74. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  75. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +2 -2
  76. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  77. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  78. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +4 -4
  79. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  80. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +1 -1
  81. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -2
  82. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  83. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  84. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +1 -1
  85. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  86. package/lib/composite-comp/dito/components/Recommend/pc/index.less +1 -1
  87. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +43 -49
  88. package/lib/core/Designer/AppointmentModal/index.less +2 -2
  89. package/lib/decorator/compositeDecorator.js +4 -2
  90. package/lib/meta-comp/components/Button/index.js +3 -1
  91. package/lib/meta-comp/components/Image/index.js +4 -2
  92. package/lib/meta-comp/components/Text/index.js +1 -1
  93. package/lib/meta-comp/config-panels/ImageConfig/index.less +1 -1
  94. package/lib/utils/commonUtil.js +45 -1
  95. package/package.json +2 -1
@@ -11,6 +11,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
12
  var _components = require("../../../../../../meta-comp/components");
13
13
 
14
+ var _commonUtil = require("../../../../../../utils/commonUtil");
15
+
14
16
  var _playCircle = _interopRequireDefault(require("../../imgs/play-circle.png"));
15
17
 
16
18
  var _index = _interopRequireDefault(require("../ShareBtn/index"));
@@ -76,10 +78,10 @@ function (_super) {
76
78
  var showBtn = data.video.playButton == 'Bottom Left' && !['h5-layout3', 'pc-layout4', 'pc-layout5'].includes(layout);
77
79
  return /*#__PURE__*/_react["default"].createElement("div", {
78
80
  className: "video-tag-container",
79
- style: {
81
+ style: (0, _commonUtil.pxToRem)({
80
82
  position: position,
81
83
  padding: padding
82
- }
84
+ })
83
85
  }, showBtn && /*#__PURE__*/_react["default"].createElement("div", {
84
86
  className: "left-wrap"
85
87
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -126,9 +126,9 @@ function (_super) {
126
126
  return /*#__PURE__*/_react["default"].createElement("div", {
127
127
  key: group.id,
128
128
  className: "video-item-wrap",
129
- style: {
129
+ style: pxToRem({
130
130
  height: data.mobileHeight
131
- }
131
+ })
132
132
  }, /*#__PURE__*/_react["default"].createElement(_common.Video, {
133
133
  ref: function ref(el) {
134
134
  if (!_this.videoRefMap[group.id]) {
@@ -1,30 +1,26 @@
1
1
  .video-layout1-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
-
5
- .video-item-wrap {
6
- height: 212px;
7
- position: relative;
8
- margin-bottom: 10px;
9
-
10
- &:last-child{
11
- margin-bottom: 0;
12
- }
13
-
14
- .play-btn {
15
- position: absolute;
16
- top: 50%;
17
- left: 50%;
18
- transform: translate(-50%, -50%);
19
- width: 60px;
20
- height: 60px;
21
- z-index: 1;
22
- cursor: pointer;
23
-
24
- img {
25
- width: 100%;
26
- height: 100%;
27
- }
28
- }
29
- }
30
- }
4
+ }
5
+ .video-layout1-wrap .video-item-wrap {
6
+ height: 4.24rem;
7
+ position: relative;
8
+ margin-bottom: 0.2rem;
9
+ }
10
+ .video-layout1-wrap .video-item-wrap:last-child {
11
+ margin-bottom: 0;
12
+ }
13
+ .video-layout1-wrap .video-item-wrap .play-btn {
14
+ position: absolute;
15
+ top: 50%;
16
+ left: 50%;
17
+ transform: translate(-50%, -50%);
18
+ width: 1.2rem;
19
+ height: 1.2rem;
20
+ z-index: 1;
21
+ cursor: pointer;
22
+ }
23
+ .video-layout1-wrap .video-item-wrap .play-btn img {
24
+ width: 100%;
25
+ height: 100%;
26
+ }
@@ -158,9 +158,9 @@ function (_super) {
158
158
  return /*#__PURE__*/_react["default"].createElement("div", {
159
159
  key: group.id,
160
160
  className: "video-item-wrap",
161
- style: {
161
+ style: (0, _commonUtil.pxToRem)({
162
162
  height: data.mobileHeight
163
- }
163
+ })
164
164
  }, /*#__PURE__*/_react["default"].createElement(_common.Video, {
165
165
  ref: function ref(el) {
166
166
  if (!_this.videoRefMap[group.id]) {
@@ -2,48 +2,41 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  position: relative;
5
- padding-bottom: 36px;
6
-
7
- .slider-wrap {
8
- width: 100%;
9
- overflow: hidden;
10
-
11
- .slider-list-wrap {
12
- display: flex;
13
- transform: translateX(-100%);
14
- transition: all .3s linear;
15
- position: relative;
16
-
17
- &.noAnimation {
18
- animation: none;
19
- }
20
- }
21
-
22
- .video-item-wrap {
23
- height: 212px;
24
- position: relative;
25
- width: 100%;
26
- flex-shrink: 0;
27
-
28
- &:last-child {
29
- margin-bottom: 0;
30
- }
31
-
32
- .play-btn {
33
- position: absolute;
34
- top: 50%;
35
- left: 50%;
36
- transform: translate(-50%, -50%);
37
- width: 60px;
38
- height: 60px;
39
- z-index: 1;
40
- cursor: pointer;
41
-
42
- img {
43
- width: 100%;
44
- height: 100%;
45
- }
46
- }
47
- }
48
- }
49
- }
5
+ padding-bottom: 0.72rem;
6
+ }
7
+ .video-layout2-wrap .slider-wrap {
8
+ width: 100%;
9
+ overflow: hidden;
10
+ }
11
+ .video-layout2-wrap .slider-wrap .slider-list-wrap {
12
+ display: flex;
13
+ transform: translateX(-100%);
14
+ transition: all 0.3s linear;
15
+ position: relative;
16
+ }
17
+ .video-layout2-wrap .slider-wrap .slider-list-wrap.noAnimation {
18
+ animation: none;
19
+ }
20
+ .video-layout2-wrap .slider-wrap .video-item-wrap {
21
+ height: 4.24rem;
22
+ position: relative;
23
+ width: 100%;
24
+ flex-shrink: 0;
25
+ }
26
+ .video-layout2-wrap .slider-wrap .video-item-wrap:last-child {
27
+ margin-bottom: 0;
28
+ }
29
+ .video-layout2-wrap .slider-wrap .video-item-wrap .play-btn {
30
+ position: absolute;
31
+ top: 50%;
32
+ left: 50%;
33
+ transform: translate(-50%, -50%);
34
+ width: 1.2rem;
35
+ height: 1.2rem;
36
+ z-index: 1;
37
+ cursor: pointer;
38
+ }
39
+ .video-layout2-wrap .slider-wrap .video-item-wrap .play-btn img {
40
+ width: 100%;
41
+ height: 100%;
42
+ }
@@ -128,9 +128,9 @@ function (_super) {
128
128
  }, /*#__PURE__*/_react["default"].createElement("div", {
129
129
  key: group.id,
130
130
  className: "video-item-wrap",
131
- style: {
131
+ style: (0, _commonUtil.pxToRem)({
132
132
  height: data.mobileHeight
133
- }
133
+ })
134
134
  }, /*#__PURE__*/_react["default"].createElement(_common.Video, {
135
135
  ref: function ref(el) {
136
136
  if (!_this.videoRefMap[group.id]) {
@@ -1,53 +1,44 @@
1
1
  .video-layout3-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
-
5
- .video-layout3-item-con {
6
- display: flex;
7
- flex-direction: column;
8
- margin-bottom: 10px;
9
-
10
- &:last-child {
11
- margin-bottom: 0;
12
- }
13
- }
14
-
15
- .video-item-wrap {
16
- height: 212px;
17
- position: relative;
18
-
19
-
20
- &:last-child {
21
- margin-bottom: 0;
22
- }
23
-
24
- .play-btn {
25
- position: absolute;
26
- top: 50%;
27
- left: 50%;
28
- transform: translate(-50%, -50%);
29
- width: 60px;
30
- height: 60px;
31
- z-index: 1;
32
- cursor: pointer;
33
-
34
- img {
35
- width: 100%;
36
- height: 100%;
37
- }
38
-
39
- &.bottomLeft {
40
- left: 12px;
41
- bottom: 10px;
42
- transform: unset;
43
- top: unset;
44
- }
45
- }
46
-
47
- .video-share-btn {
48
- position: absolute;
49
- right: 12px;
50
- bottom: 12px;
51
- }
52
- }
53
- }
4
+ }
5
+ .video-layout3-wrap .video-layout3-item-con {
6
+ display: flex;
7
+ flex-direction: column;
8
+ margin-bottom: 0.2rem;
9
+ }
10
+ .video-layout3-wrap .video-layout3-item-con:last-child {
11
+ margin-bottom: 0;
12
+ }
13
+ .video-layout3-wrap .video-item-wrap {
14
+ height: 4.24rem;
15
+ position: relative;
16
+ }
17
+ .video-layout3-wrap .video-item-wrap:last-child {
18
+ margin-bottom: 0;
19
+ }
20
+ .video-layout3-wrap .video-item-wrap .play-btn {
21
+ position: absolute;
22
+ top: 50%;
23
+ left: 50%;
24
+ transform: translate(-50%, -50%);
25
+ width: 1.2rem;
26
+ height: 1.2rem;
27
+ z-index: 1;
28
+ cursor: pointer;
29
+ }
30
+ .video-layout3-wrap .video-item-wrap .play-btn img {
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ .video-layout3-wrap .video-item-wrap .play-btn.bottomLeft {
35
+ left: 0.24rem;
36
+ bottom: 0.2rem;
37
+ transform: unset;
38
+ top: unset;
39
+ }
40
+ .video-layout3-wrap .video-item-wrap .video-share-btn {
41
+ position: absolute;
42
+ right: 0.24rem;
43
+ bottom: 0.24rem;
44
+ }
@@ -1,4 +1,3 @@
1
1
  .m-video-mobile {
2
- position: relative;
3
-
4
- }
2
+ position: relative;
3
+ }
@@ -298,9 +298,9 @@ function (_super) {
298
298
  data: data.title.headline
299
299
  }), /*#__PURE__*/_react["default"].createElement("div", {
300
300
  className: "content column_" + colNum,
301
- style: {
301
+ style: (0, _commonUtil.pxToRem)({
302
302
  gap: MOBILE_IMG_SIZE[colNum].gap
303
- }
303
+ })
304
304
  }, data.groupSource.map(function (item) {
305
305
  var _amount = _this.getAmount(item.sourceType);
306
306
 
@@ -317,9 +317,9 @@ function (_super) {
317
317
 
318
318
  return _this.setState((_a = {}, _a["hover_" + item.id] = false, _a));
319
319
  },
320
- style: {
320
+ style: (0, _commonUtil.pxToRem)({
321
321
  width: "calc((100% - " + MOBILE_IMG_SIZE[colNum].gap * (colNum - 1) + "px) / " + colNum + ")"
322
- }
322
+ })
323
323
  }, item.image.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
324
324
  className: "image",
325
325
  data: item.hover.open && item.hover.image.open && _this.state["hover_" + item.id] ? item.hover.image : item.image,
@@ -1,40 +1,27 @@
1
- .m-Wallet-mobile {
2
-
3
- .headline {
4
- margin-bottom: 7px;
5
- }
6
-
7
- .content {
8
- display: flex;
9
- flex-wrap: wrap;
10
-
11
- &.column_3 {
12
- .item-wrap {
13
- .title {
14
- top: 13%;
15
- }
16
-
17
- .amount {
18
- bottom: 13%;
19
- }
20
- }
21
- }
22
-
23
- .item-wrap {
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- position: relative;
28
- border-radius: 10px;
29
-
30
- .image {
31
- border-radius: 10px;
32
- overflow: hidden;
33
- }
34
-
35
- .text-content {
36
- position: absolute;
37
- }
38
- }
39
- }
40
- }
1
+ .m-Wallet-mobile .headline {
2
+ margin-bottom: 0.14rem;
3
+ }
4
+ .m-Wallet-mobile .content {
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+ }
8
+ .m-Wallet-mobile .content.column_3 .item-wrap .title {
9
+ top: 13%;
10
+ }
11
+ .m-Wallet-mobile .content.column_3 .item-wrap .amount {
12
+ bottom: 13%;
13
+ }
14
+ .m-Wallet-mobile .content .item-wrap {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ position: relative;
19
+ border-radius: 0.2rem;
20
+ }
21
+ .m-Wallet-mobile .content .item-wrap .image {
22
+ border-radius: 0.2rem;
23
+ overflow: hidden;
24
+ }
25
+ .m-Wallet-mobile .content .item-wrap .text-content {
26
+ position: absolute;
27
+ }
@@ -71,7 +71,7 @@
71
71
  }
72
72
  }
73
73
 
74
- .ant-picker {
74
+ .cylon-picker {
75
75
  padding: 8px 11px 8px;
76
76
  border-radius: 8px;
77
77
  border: 1px solid rgb(210 217 229);
@@ -10,10 +10,10 @@
10
10
  top: 10px;
11
11
  }
12
12
 
13
- .ant-select {
13
+ .cylon-select {
14
14
  width: 100%;
15
15
 
16
- .ant-select-selector {
16
+ .cylon-select-selector {
17
17
  padding-left: 45px;
18
18
  }
19
19
  }
@@ -1,100 +1,86 @@
1
1
  .m-flash-deal-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- padding: 16px 16px 28px 16px;
5
-
6
- .flash-deal-title {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
-
11
- .left {
12
- display: flex;
13
- align-items: center;
14
-
15
- .icon {
16
- height: 18px;
17
- margin-right: 10px;
18
- }
19
-
20
- .title {
21
- font-family: 'Montserrat';
22
- font-style: normal;
23
- font-weight: 600;
24
- font-size: 14px;
25
- line-height: 18px;
26
- color: #2C2C2C;
27
- margin-right: 10px;
28
- }
29
-
30
- .sub-title {
31
- font-family: 'Montserrat';
32
- font-style: normal;
33
- font-weight: 600;
34
- font-size: 10px;
35
- line-height: 18px;
36
- color: #2C2C2C;
37
- margin-right: 6px;
38
- align-self: end;
39
- }
40
- }
41
-
42
- .right {
43
- display: flex;
44
- align-items: center;
45
-
46
- .text {
47
- font-family: 'Montserrat';
48
- font-style: normal;
49
- font-weight: 600;
50
- font-size: 12px;
51
- line-height: 15px;
52
- color: #0038A8;
53
- margin-right: 5px;
54
- }
55
-
56
- .btn {
57
- white-space: nowrap;
58
- }
59
- }
60
- }
61
-
62
- .flash-deal-list {
63
- margin-top: 16px;
64
- overflow-x: auto;
65
- overflow-y: hidden;
66
- white-space: nowrap;
67
- display: flex;
68
- align-items: flex-start;
69
- justify-content: flex-start;
70
- position: relative;
71
-
72
- .loading-wrap {
73
- display: flex;
74
- align-items: center;
75
- justify-content: center;
76
- padding: 30px;
77
- position: absolute;
78
- top: 0;
79
- bottom: 0;
80
- left: 0;
81
- right: 0;
82
- margin: auto;
83
- }
84
-
85
- // 秒杀特有样式
86
- .m-product-item-wrap {
87
- width: 142px;
88
- margin-right: 8px;
89
-
90
- .product-img {
91
- height: 140px;
92
- width: 140px;
93
- }
94
-
95
- .product-name {
96
- height: 36px;
97
- }
98
- }
99
- }
100
- }
4
+ padding: 0.32rem 0.32rem 0.56rem 0.32rem;
5
+ }
6
+ .m-flash-deal-mobile .flash-deal-title {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ }
11
+ .m-flash-deal-mobile .flash-deal-title .left {
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+ .m-flash-deal-mobile .flash-deal-title .left .icon {
16
+ height: 0.36rem;
17
+ margin-right: 0.2rem;
18
+ }
19
+ .m-flash-deal-mobile .flash-deal-title .left .title {
20
+ font-family: 'Montserrat';
21
+ font-style: normal;
22
+ font-weight: 600;
23
+ font-size: 0.28rem;
24
+ line-height: 0.36rem;
25
+ color: #2C2C2C;
26
+ margin-right: 0.2rem;
27
+ }
28
+ .m-flash-deal-mobile .flash-deal-title .left .sub-title {
29
+ font-family: 'Montserrat';
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ font-size: 0.2rem;
33
+ line-height: 0.36rem;
34
+ color: #2C2C2C;
35
+ margin-right: 0.12rem;
36
+ align-self: end;
37
+ }
38
+ .m-flash-deal-mobile .flash-deal-title .right {
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+ .m-flash-deal-mobile .flash-deal-title .right .text {
43
+ font-family: 'Montserrat';
44
+ font-style: normal;
45
+ font-weight: 600;
46
+ font-size: 0.24rem;
47
+ line-height: 0.3rem;
48
+ color: #0038A8;
49
+ margin-right: 0.1rem;
50
+ }
51
+ .m-flash-deal-mobile .flash-deal-title .right .btn {
52
+ white-space: nowrap;
53
+ }
54
+ .m-flash-deal-mobile .flash-deal-list {
55
+ margin-top: 0.32rem;
56
+ overflow-x: auto;
57
+ overflow-y: hidden;
58
+ white-space: nowrap;
59
+ display: flex;
60
+ align-items: flex-start;
61
+ justify-content: flex-start;
62
+ position: relative;
63
+ }
64
+ .m-flash-deal-mobile .flash-deal-list .loading-wrap {
65
+ display: flex;
66
+ align-items: center;
67
+ justify-content: center;
68
+ padding: 0.6rem;
69
+ position: absolute;
70
+ top: 0;
71
+ bottom: 0;
72
+ left: 0;
73
+ right: 0;
74
+ margin: auto;
75
+ }
76
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap {
77
+ width: 2.84rem;
78
+ margin-right: 0.16rem;
79
+ }
80
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-img {
81
+ height: 2.8rem;
82
+ width: 2.8rem;
83
+ }
84
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-name {
85
+ height: 0.72rem;
86
+ }
@@ -1,38 +1,21 @@
1
- .mobile-navigation-mobile {
2
- // display: flex;
3
- // flex-direction: column;
4
- // padding-top: 18px;
5
- .group-wrap {
6
- padding: 0 20px;
7
- display: flex;
8
- .one-card {
9
- // display: flex;
10
-
11
- .card-image-wrap {
12
- margin-bottom: 4px;
13
- width: 100%;
14
- }
15
- }
16
- }
17
-
1
+ .mobile-navigation-mobile .group-wrap {
2
+ padding: 0 0.4rem;
3
+ display: flex;
18
4
  }
19
-
20
- .newline {
21
- .group-wrap {
22
- flex-wrap: wrap;
23
- }
5
+ .mobile-navigation-mobile .group-wrap .one-card .card-image-wrap {
6
+ margin-bottom: 0.08rem;
7
+ width: 100%;
24
8
  }
25
-
26
- .tile {
27
- .group-wrap {
28
- // overflow-x: scroll;
29
- overflow-x: auto;
30
- flex-wrap: nowrap;
31
- scroll-snap-type: x;
32
- padding: 0 15px;
33
- .one-card {
34
- flex-shrink: 0;
35
- scroll-snap-align: end;
36
- }
37
- }
9
+ .newline .group-wrap {
10
+ flex-wrap: wrap;
11
+ }
12
+ .tile .group-wrap {
13
+ overflow-x: auto;
14
+ flex-wrap: nowrap;
15
+ scroll-snap-type: x;
16
+ padding: 0 0.3rem;
17
+ }
18
+ .tile .group-wrap .one-card {
19
+ flex-shrink: 0;
20
+ scroll-snap-align: end;
38
21
  }