goodsItem_3.less
1.85 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
@charset "UTF-8";
.goods-item-3-box {
background-color: #ffffff;
padding: 20px 0;
width: 560px;
height: auto;
border-radius: 8px;
.main-box {
display: flex;
justify-content: space-between;
margin: 0 auto;
width: 520px;
height: auto;
.img-box {
display: flex;
justify-content: center;
align-items: center;
background-color: #F9F9F9;
margin: 0 auto;
width: 240px;
height: 240px;
border-radius: 8px;
overflow: hidden;
.simg {
display: block;
width: 240px;
height: 240px;
}
}
.content-box {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
width: 280px;
height: auto;
.top-box {
width: 220px;
.title {
color: #333333;
font-size: 30px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ads {
margin-top: 5px;
color: #333333;
font-size: 22px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.bottom-box {
width: 220px;
.price-box {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 20px;
.symbol {
color: #FC1541;
font-size: 20px;
}
.price {
color: #FC1541;
font-size: 30px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.buttons-box {
margin-top: 20px;
.btn {
&.btn-primary {
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
color: #EC1125;
font-size: 24px;
width: 100%;
height: 46px;
border: 1px solid #EC1125;
border-radius: 6px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
}
}
}