_recommend-product.css
2.37 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
.recommend-product {
width: 100%;
margin-bottom: 55px;
.recommend-header {
height: 40px;
border-bottom: 1px solid #ddd;
}
.head-tab {
width: 140px;
height: 40px;
line-height: 42px;
font-size: 14px;
text-align: center;
float: left;
cursor: pointer;
&.active {
font-weight: bold;
border: 1px solid #ddd;
border-bottom-color: #fff;
box-sizing: border-box;
}
}
.change-btn {
float: right;
font-size: 14px;
font-weight: bold;
line-height: 42px;
cursor: pointer;
.iconfont {
font-size: 18px;
position: relative;
top: 2px;
margin-left: 5px;
}
}
.product-area {
img {
width: 214px;
height: 288px;
background: #f5f7f6;
}
}
.recommend-goods {
width: 100%;
margin: 0 auto;
.goods-group {
display: none;
&:first-child {
display: block;
}
}
.goods {
width: 214px;
float: left;
margin: 20px 0 0 20px;
&:first-child {
margin-left: 0;
}
.goods-img,
img {
width: 214px;
height: 288px;
}
.goods-brand {
font-size: 14px;
font-weight: bold;
text-align: center;
padding: 15px 0;
width: 214px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.goods-name {
font-size: 12px;
text-align: center;
width: 214px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.goods-price {
font-size: 16px;
font-weight: bold;
text-align: center;
padding: 15px 0;
b {
font-size: 12px;
color: #878787;
margin-left: 15px;
text-decoration: line-through;
}
}
}
}
}