_recommend-for-you.scss
1.08 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
.recommend-for-you {
padding: pxToRem(30px) 0 pxToRem(10px);
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
.title {
font-size: pxToRem(32px);
line-height: pxToRe(88px);
text-align: center;
color: #444;
font-weight: bold;
}
.swiper-recommend {
padding: pxToRem(20px) 0;
width: 100%;
overflow: hidden;
.swiper-slider {
margin: 0 pxToRem(10px);
&:first-child {
margin-left: pxToRem(30px);
}
&:last-child {
margin-right: pxToRem(30px);
}
img {
width: pxToRem(156px);
max-width: none;
}
}
}
.price {
margin-top: pxToRem(20px);
font-size: pxToRem(20px);
line-height: 1;
.sale-price {
color: #d9134f;
}
.old-price {
float: right;
color: #ededed;
}
.no-price {
color: #444;
}
}
}