goodsItem_10.less
1.88 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
@charset "UTF-8";
.goods-item-10-box {
background-color: #ffffff;
padding: 20px 0;
width: 173px;
height: auto;
border-radius: 8px;
.top-box {
position: relative;
.img-box {
display: flex;
justify-content: center;
align-items: center;
background-color: #F9F9F9;
margin: 0 auto;
width: 143px;
height: 143px;
border-radius: 8px;
overflow: hidden;
.simg {
display: block;
width: 143px;
height: 143px;
}
}
}
.content-box {
margin: 0 auto;
width: 143px;
.price-box {
display: flex;
justify-content: center;
align-items: baseline;
margin-top: 20px;
height: 32px;
.symbol {
color: #FC1541;
font-size: 24px;
}
.price {
color: #FC1541;
font-size: 24px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
& + .prices {
margin-left: 8px;
}
}
.prices {
color: #BEBEBE;
font-size: 18px;
text-decoration: line-through;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.prices-box {
display: flex;
justify-content: center;
align-items: baseline;
height: 28px;
line-height: 28px;
.symbol {
color: #AAAAAA;
font-size: 22px;
font-weight: 300;
text-decoration: line-through;
}
.prices {
color: #AAAAAA;
font-size: 22px;
font-weight: 300;
text-decoration: line-through;
}
}
.prices-pl-box {
height: 28px;
line-height: 28px;
}
}
&.pid-2, &.pid-4 { // 积分样式
.content-box {
.price-box {
justify-content: center;
.price {
& + .price-text {
margin-left: 2px;
}
}
.price-text {
color: #333333;
font-size: 20px;
font-weight: 400;
}
}
}
}
}