goodsItem_5.less
1.82 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
@charset "UTF-8";
.goods-item-5-box {
background-color: transparent;
width: 100%;
height: auto;
.main-box {
display: flex;
justify-content: space-between;
margin: 0 auto;
width: 690px;
height: auto;
.left-box {
display: flex;
justify-content: space-between;
align-items: center;
width: 570px;
.img-box {
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
// margin: 0 auto;
width: 160px;
height: 160px;
border-radius: 8px;
overflow: hidden;
.simg {
display: block;
width: 160px;
height: 160px;
}
}
.content-box {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 380px;
height: 100%;
.top-box {
width: 380px;
.title {
color: #333333;
font-size: 28px;
font-weight: 500;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.desc-box {
display: flex;
align-items: center;
margin-top: 10px;
.desc {
color: #999999;
font-size: 22px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
& + .desc {
margin-left: 20px;
}
}
}
}
.bottom-box {
width: 380px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.flag {
display: inline;
background-color: #FFF2F5;
padding: 1px 8px;
color: #FC1541;
font-size: 20px;
border-radius: 4px;
}
}
}
}
.right-box {
display: flex;
justify-content: flex-end;
align-items: center;
width: 120px;
.distance-box {
color: #333333;
font-size: 24px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}