_product.css
3.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.favorite-products {
margin-top: 20px;
.products-cates {
font-size: 14px;
background-color: #eee;
.label {
float: left;
margin: 12px 0 12px 20px;
a {
color: #bbb;
}
}
.label.focus {
font-weight: 700;
font-size: 16px;
a {
color: #1b1b1b;
}
}
}
.product-list {
margin: 0 -10px;
padding-bottom: 30px;
border-bottom: 1px solid #eee;
.goods-info {
float: left;
width: 216px;
margin: 20px 10px 0;
cursor: pointer;
position: relative;
.choose-icon {
position: absolute;
display: none;
top: 0;
right: 0;
z-index: 1;
.iconfont {
font-size: 36px;
color: #999;
}
}
.goods-img {
position: relative;
.goods-state-bg {
position: absolute;
bottom: 0;
height: 35px;
background-color: #666;
opacity: 0.7;
width: 100%;
z-index: 1;
}
.goods-state {
position: absolute;
bottom: 0;
height: 35px;
line-height: 35px;
text-align: center;
color: #fff;
font-size: 14px;
width: 100%;
z-index: 2;
}
}
.desc {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 15px;
}
.brand-name {
padding: 10px 0;
font-size: 14px;
font-weight: 700;
}
.product-name {
padding: 5px 0;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.price {
padding: 13px;
font-size: 14px;
}
.thumb {
width: 216px;
height: 293px;
}
.tool-area {
text-align: center;
margin-top: 15px;
height: 26px;
.btn {
display: none;
margin: 0 4px;
color: #666;
border-color: #666;
}
}
}
.goods-info:hover,
.goods-info.choose {
.tool-area {
.btn {
display: inline-block;
}
}
}
.goods-info.choose {
.choose-icon {
display: block;
}
}
}
}