goodsItem_8.less
2.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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
@charset "UTF-8";
.goods-item-8-box {
background-color: transparent;
width: 100%;
height: auto;
.main-box {
display: flex;
justify-content: space-between;
margin: 0 auto;
padding: 30px 0;
width: 90%;
height: auto;
.left-box {
position: relative;
.img-box {
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
// margin: 0 auto;
width: 210px;
height: 210px;
border-radius: 12px;
overflow: hidden;
.simg {
display: block;
width: 210px;
height: 210px;
}
}
}
.content-box {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 63%;
height: auto;
.top-box {
width: 100%;
.title {
display: -webkit-box;
width: 100%;
color: #333333;
font-size: 28px;
font-weight: 600;
-webkit-line-clamp: 2;
/*! autoprefixer: off */
-webkit-box-orient: vertical;
/*! autoprefixer: on */
text-overflow: ellipsis;
overflow: hidden;
& + .sub-title {
margin-top: 10px;
}
& + .icon-stock-is-tight-box {
margin-top: 8px;
}
}
.sub-title {
color: #9B9B9B;
font-size: 24px;
font-weight: 400;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
& + .icon-stock-is-tight-box {
margin-top: 8px;
}
}
.icon-stock-is-tight-box {
width: 108px;
height: 34px;
.icon-stock-is-tight-img {
display: block;
width: 108px;
height: 34px;
}
}
}
.bottom-box {
display: flex;
justify-content: space-between;
align-items: baseline;
width: 100%;
.price-box {
display: flex;
justify-content: flex-start;
align-items: baseline;
// margin-top: 20px;
.symbol {
color: #FC1541;
font-size: 26px;
}
.integer {
color: #FC1541;
font-size: 34px;
}
.decimal {
color: #FC1541;
font-size: 26px;
}
.prices {
margin-left: 10px;
color: #A5A5A5;
font-size: 24px;
font-weight: 300;
text-decoration: line-through;
}
}
.icon-box {
.icon-img {
display: block;
width: 54px;
height: 54px;
}
}
.btn {
&.btn-disabled {
background-color: #D1D1D1;
padding: 8px 24px;
color: #FFFFFF;
font-size: 24px;
font-weight: 500;
border-radius: 24px;
}
}
}
}
}
&.style-2 {
.main-box {
.content-box {
.top-box {
.sub-title {
display: inline-block;
background-color:rgba(245, 166, 35, 0.08);
padding: 2px 16px;
color: #F5A623;
max-width: 100%;
border-radius: 18px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
}
}