index.scss
1.63 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
106
107
108
109
110
111
@import '@/styles/_support';
.page {}
.bgc {
background-color: #f7f7f7;
}
// 轮播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;
padding: 0 14px;
text-align: center;
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-my {
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 {
background-color: #ffffff;
width: $itemWid;
border-radius: 8px;
margin-bottom: 32px;
.image-wrap {
width: $itemWid;
height: $itemWid;
}
.image {
width: $itemWid;
height: $itemWid;
@include border-top-radius(8px);
}
.desc {
border-top: solid 1px #f7f7f7;
@extend .bb;
width: 325px;
padding: 12px 20px;
font-size: 24px;
color: #333333;
@include ellipsis(1);
}
}
}
}