hot-single.scss
1.79 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
.hot-single {
position: relative;
background: #fff;
-webkit-overflow-scrolling: touch;
&-banner {
height: 200px;
width: 100%;
overflow: hidden;
}
&-goods-list {
width: 100%;
height: 330px;
overflow-x: scroll;
overflow-y: hidden;
background-size: 100% 100%;
ul {
height: 330px;
padding: 25px 0 17px 26px;
white-space: nowrap;
}
}
&-goods {
display: inline-block;
height: 290px;
width: 153px;
margin-right: 26px;
background: #fff;
border-radius: 5px;
vertical-align: top;
.goods-pic {
height: 206px;
width: 100%;
}
.goods-info {
position: relative;
height: 84px;
width: 200%;
background: #fff;
text-align: center;
padding: 24px 0 20px;
transform: scale(0.5);
transform-origin: 0 0 0;
.price {
color: #444;
font-size: 40px;
line-height: 1;
}
.view-num {
color: #b0b0b0;
font-size: 30px;
margin-top: 20px;
line-height: 1;
}
.view-status {
color: #b0b0b0;
font-size: 30px;
margin-top: 14px;
line-height: 1;
}
.view-margin {
margin-left: 40px;
}
.head-icon {
position: absolute;
left: 10px;
bottom: 10px;
height: 32px;
width: 32px;
border-radius: 50%;
}
}
}
}