index.scss
1.52 KB
1
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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import '@/styles/_support';
.page {}
.bgc {}
// 轮播banner
.banner {
background-color: #f2f2f2;
@extend .bb;
width: $screenWidth;
.swiper {
width: $screenWidth;
height: 400px;
.img {
width: $screenWidth;
height: 400px;
}
}
}
// 类别选择
.sel {
margin: 56px auto 0;
display: flex;
justify-content: center;
&-item {
@extend .fcc;
// @extend .bb;
text-align: center;
// padding: 0 12px;
margin: 0 22px;
color: #ffffff;
width: 92px;
height: 92px;
border-radius: 92px;
background-color: #ffcc33;
}
&-item-1 {}
&-item-2 {
background-color: #ffcccc;
}
&-item-3 {
background-color: #cc9999;
}
&-item-4 {
background-color: #cccc99;
}
&-item-5 {
background-color: #ffcc99;
}
}
// 产品推荐
.product {
margin: 72px auto 0;
width: $contentWidth;
&-title {
text-align: center;
font-size: 32px;
color: #c78f8f;
}
&-list {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
$itemWid: 330px;
.item {
width: $itemWid;
// height: 440px;
background: #F8F8F8;
border-radius: 4px;
margin-bottom: 32px;
padding-bottom: 12px;
.image {
width: $itemWid;
height: $itemWid;
}
.desc {
@extend .bb;
width: 325px;
padding: 4px 20px;
font-size: 24px;
// line-height: 32px;
color: #333333;
// @include ellipsis(3);
}
}
}
}