recommend-for-you.scss
1.8 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
.recommend-for-you {
padding: 30px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
font-size: 12px;
padding-left: 15px;
.title {
color: #444;
text-align: center;
font-size: 32px;
line-height: 88px;
}
.swiper-container {
padding: 30px 30px 20px;
width: 100%;
.swiper-slide {
float: left;
margin: 0 10px;
width: 156px;
img {
width: 100%;
height: 208px;
}
}
}
.sale-name {
overflow: hidden;
margin-top: 20px;
width: 100%;
color: #444;
text-overflow: ellipsis;
white-space: nowrap;
}
.price {
position: relative;
margin-top: 8px;
font-size: 24px;
line-height: 1;
.sale-price {
margin-right: 8px;
color: #d9134f;
}
.old-price {
display: block;
color: #b0b0b0;
text-decoration: line-through;
}
.no-price {
color: #444;
}
}
}
.width750 {
.recommend-for-you {
padding: 35px 0;
font-size: 14px;
.title {
font-size: 38px;
line-height: 103px;
}
.swiper-container {
padding: 35px 35px 23px;
.swiper-slide {
margin: 0 12px;
width: 183px;
img {
height: 244px;
}
}
}
.sale-name {
margin-top: 23px;
}
.price {
margin-top: 9px;
font-size: 28px;
.sale-price {
margin-right: 9px;
}
}
}
}