@fonixtree/magic-design 0.1.78 → 1.0.2-0.1
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.
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/es/composite-comp/bol/components/ImageText/pc/index.js +2 -2
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +8 -6
- package/es/composite-comp/common/components/ProductItem/index.js +6 -8
- package/es/composite-comp/common/components/ProductItem/index.less +22 -28
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/es/composite-comp/dito/components/Recommend/pc/index.js +6 -6
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +2 -2
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/es/core/Designer/History/index.js +2 -2
- package/es/core/Designer/PageCompList/index.js +5 -3
- package/es/core/Designer/index.js +0 -3
- package/es/core/Renderer/index.js +21 -20
- package/es/meta-comp/config-panels/ButtonConfig/index.js +5 -5
- package/es/utils/businessUtil.js +3 -3
- package/es/utils/commonUtil.js +6 -4
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +2 -2
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +8 -6
- package/lib/composite-comp/common/components/ProductItem/index.js +6 -8
- package/lib/composite-comp/common/components/ProductItem/index.less +22 -28
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +6 -6
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +2 -2
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/lib/core/Designer/History/index.js +2 -2
- package/lib/core/Designer/PageCompList/index.js +5 -3
- package/lib/core/Designer/index.js +0 -3
- package/lib/core/Renderer/index.js +21 -20
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +5 -5
- package/lib/utils/businessUtil.js +3 -3
- package/lib/utils/commonUtil.js +6 -4
- package/package.json +1 -1
|
@@ -2,39 +2,48 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
position: relative;
|
|
5
|
-
padding-bottom:
|
|
6
|
-
|
|
7
|
-
.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
+
}
|
|
@@ -1,46 +1,57 @@
|
|
|
1
1
|
.video-layout3-wrap {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.video-layout3-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
4
|
+
.video-tag-container {
|
|
5
|
+
padding-top: 20px;
|
|
6
|
+
padding-bottom: 38px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.video-layout3-item-con {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
margin-bottom: 10px;
|
|
13
|
+
|
|
14
|
+
&:last-child {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.video-item-wrap {
|
|
20
|
+
height: 212px;
|
|
21
|
+
position: relative;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
&:last-child {
|
|
25
|
+
margin-bottom: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.play-btn {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 50%;
|
|
31
|
+
left: 50%;
|
|
32
|
+
transform: translate(-50%, -50%);
|
|
33
|
+
// width: 60px;
|
|
34
|
+
// height: 60px;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
|
|
38
|
+
img {
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.bottomLeft {
|
|
44
|
+
left: 12px;
|
|
45
|
+
bottom: 10px;
|
|
46
|
+
transform: unset;
|
|
47
|
+
top: unset;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.video-share-btn {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 12px;
|
|
54
|
+
bottom: 12px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
.m-Wallet-mobile
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
}
|
|
@@ -7,7 +7,9 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
|
|
11
|
+
|
|
12
|
+
var _pick = _interopRequireDefault(require("lodash/pick"));
|
|
11
13
|
|
|
12
14
|
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
13
15
|
|
|
@@ -252,15 +254,15 @@ function (_super) {
|
|
|
252
254
|
|
|
253
255
|
if (panelProps.hover.open) {
|
|
254
256
|
var tempObj = {};
|
|
255
|
-
tempObj = (0,
|
|
257
|
+
tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.button, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
|
|
256
258
|
panelProps.hover.button = __assign(__assign({}, panelProps.hover.button), tempObj);
|
|
257
|
-
tempObj = (0,
|
|
259
|
+
tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.secondButton, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
|
|
258
260
|
panelProps.hover.secondButton = __assign(__assign({}, panelProps.hover.secondButton), tempObj);
|
|
259
|
-
tempObj = (0,
|
|
261
|
+
tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.image, ['content', 'open']));
|
|
260
262
|
panelProps.hover.image = __assign(__assign({}, panelProps.hover.image), tempObj);
|
|
261
|
-
tempObj = (0,
|
|
263
|
+
tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.text, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
|
|
262
264
|
panelProps.hover.text = __assign(__assign({}, panelProps.hover.text), tempObj);
|
|
263
|
-
tempObj = (0,
|
|
265
|
+
tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.title, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
|
|
264
266
|
panelProps.hover.title = __assign(__assign({}, panelProps.hover.title), tempObj);
|
|
265
267
|
panelProps.hover.background = __assign(__assign({}, panelProps.hover.background), panelProps.background); // console.log(buttonTemp.buttonBorder == panelProps.button.buttonBorder);
|
|
266
268
|
}
|
|
@@ -202,13 +202,11 @@ function (_super) {
|
|
|
202
202
|
text: _price
|
|
203
203
|
}),
|
|
204
204
|
readonly: true
|
|
205
|
-
}), panelProps.salesPrice.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
206
|
-
className: "price-sold-wrap"
|
|
207
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
205
|
+
}), oldPrice && panelProps.salesPrice.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
208
206
|
className: "old-price-wrap"
|
|
209
207
|
}, !!discount && /*#__PURE__*/_react["default"].createElement("span", {
|
|
210
208
|
className: "discount"
|
|
211
|
-
}, "-", discount, "%"),
|
|
209
|
+
}, "-", discount, "%"), /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
212
210
|
className: "old-price",
|
|
213
211
|
data: __assign(__assign({}, panelProps.salesPrice), {
|
|
214
212
|
text: oldPrice
|
|
@@ -217,9 +215,7 @@ function (_super) {
|
|
|
217
215
|
style: {
|
|
218
216
|
color: panelProps.salesPrice.content.color
|
|
219
217
|
}
|
|
220
|
-
})),
|
|
221
|
-
className: "sold-count"
|
|
222
|
-
}, (0, _commonUtil.convertCount)(data.salesCnt), " sold")), showProgress && panelProps.salesProgressVisible.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
218
|
+
})), showProgress && panelProps.salesProgressVisible.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
223
219
|
className: "progress-wrap"
|
|
224
220
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
225
221
|
className: "text"
|
|
@@ -230,7 +226,9 @@ function (_super) {
|
|
|
230
226
|
style: {
|
|
231
227
|
width: salePercent + "%"
|
|
232
228
|
}
|
|
233
|
-
})))
|
|
229
|
+
}))), !showProgress && data.salesCnt > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
230
|
+
className: "sold-count"
|
|
231
|
+
}, (0, _commonUtil.convertCount)(data.salesCnt), " sold")));
|
|
234
232
|
};
|
|
235
233
|
|
|
236
234
|
ProductItem.defaultProps = {
|
|
@@ -7,7 +7,13 @@
|
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
position: relative;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.sold-count {
|
|
11
|
+
color: #7b7b7b;
|
|
12
|
+
font-size: 12px;
|
|
13
|
+
position: absolute;
|
|
14
|
+
right: 8px;
|
|
15
|
+
bottom: 8px;
|
|
16
|
+
}
|
|
11
17
|
|
|
12
18
|
.img-wrap {
|
|
13
19
|
position: relative;
|
|
@@ -53,40 +59,28 @@
|
|
|
53
59
|
text-overflow: ellipsis;
|
|
54
60
|
}
|
|
55
61
|
|
|
56
|
-
.price-
|
|
62
|
+
.old-price-wrap {
|
|
57
63
|
display: flex;
|
|
58
64
|
margin-top: 0px;
|
|
59
|
-
align-items:
|
|
65
|
+
align-items: baseline;
|
|
60
66
|
white-space: nowrap;
|
|
61
67
|
overflow: hidden;
|
|
62
68
|
text-overflow: ellipsis;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
line-height: 15px;
|
|
75
|
-
color: #fff;
|
|
76
|
-
padding: 0 4px;
|
|
77
|
-
background-color: #CE1126;
|
|
78
|
-
}
|
|
79
|
-
.old-price {
|
|
80
|
-
text-decoration: line-through;
|
|
81
|
-
width: fit-content;
|
|
82
|
-
}
|
|
69
|
+
|
|
70
|
+
.discount {
|
|
71
|
+
margin-right: 3px;
|
|
72
|
+
font-family: 'Montserrat';
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
font-size: 8px;
|
|
76
|
+
line-height: 15px;
|
|
77
|
+
color: #fff;
|
|
78
|
+
padding: 0 4px;
|
|
79
|
+
background-color: #CE1126;
|
|
83
80
|
}
|
|
84
81
|
|
|
85
|
-
.
|
|
86
|
-
|
|
87
|
-
font-size: 12px;
|
|
88
|
-
text-align: right ;
|
|
89
|
-
flex-grow: 1;
|
|
82
|
+
.old-price {
|
|
83
|
+
text-decoration: line-through;
|
|
90
84
|
}
|
|
91
85
|
}
|
|
92
86
|
|
|
@@ -1,86 +1,100 @@
|
|
|
1
1
|
.m-flash-deal-mobile {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
padding:
|
|
5
|
-
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
+
}
|
|
@@ -1,21 +1,38 @@
|
|
|
1
|
-
.mobile-navigation-mobile
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
|
|
4
18
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
19
|
+
|
|
20
|
+
.newline {
|
|
21
|
+
.group-wrap {
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
8
24
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
}
|
|
21
38
|
}
|