equip.scss
3.7 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
.page{
width: 100%;
height: 100%;
background-color: #f9f9f9;
}
.main{
position: relative;
.top {
margin: 20rpx;
padding-top: 30rpx;
display: flex;
justify-content: space-between;
image {
width: 350rpx;
height: 200rpx;
}
}
.star_box{
width: 100%;
// height: 300rpx;
height: 408rpx;
background-color: #FFFFFF;
overflow: hidden;
margin-bottom: 20rpx;
>.title_box{
// width: 90%;
// margin: 0 auto;
margin: 0 20rpx;
margin-top: 26.29rpx;
margin-bottom: 23rpx;
display: flex;
justify-content: space-between;
align-items: center;
>.right{
display: flex;
align-items: center;
>.redDian{
width: 12rpx;
height: 25rpx;
background: #E60012;
box-shadow: inset 0rpx 4rpx 9rpx 0rpx rgba(255,255,255,0.42), 5rpx 7rpx 9rpx 0rpx rgba(230,0,18,0.2784);
border-radius: 191rpx 191rpx 191rpx 191rpx;
margin-right: 21rpx;
}
>span{
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 600;
color: #3D3D3D;
line-height: 37rpx;
}
}
>p{
font-size: 21rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #C1C1C1;
line-height: 30rpx;
display: flex;
align-items: center;
>image{
display: block;
width: 17rpx;
height: 17rpx;
margin-left: 7rpx;
}
}
}
}
.all_box{
width: 100%;
background-color: #FFFFFF;
overflow: hidden;
>.title_box{
// width: 90%;
// margin: 0 auto;
margin: 0 20rpx;
margin-top: 26.29rpx;
margin-bottom: 23rpx;
display: flex;
justify-content: space-between;
align-items: center;
>.right{
display: flex;
align-items: center;
>.redDian{
width: 12rpx;
height: 25rpx;
background: #E60012;
box-shadow: inset 0rpx 4rpx 9rpx 0rpx rgba(255,255,255,0.42), 5rpx 7rpx 9rpx 0rpx rgba(230,0,18,0.2784);
border-radius: 191rpx 191rpx 191rpx 191rpx;
margin-right: 21rpx;
}
>span{
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 600;
color: #3D3D3D;
line-height: 37rpx;
}
}
>p{
font-size: 21rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #C1C1C1;
line-height: 30rpx;
display: flex;
align-items: center;
>image{
display: block;
width: 17rpx;
height: 17rpx;
margin-left: 7rpx;
}
}
}
>.item_box{
margin: 0 20rpx;
margin-top: 30rpx;
display: flex;
justify-content: flex-start;
padding-bottom: 32rpx;
border-bottom: 1rpx solid rgba(200, 210, 223, .5);
>image{
width: 127rpx;
height: 127rpx;
margin-right: 21rpx;
}
>.right{
width: 516rpx;
>p{
width: 100%;
white-space: wrap; /* 不换行 */
overflow: hidden; /* 隐藏超出部分 */
text-overflow: ellipsis; /* 添加省略号 */
font-size: 28rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 500;
color: #3D3D3D;
line-height: 40rpx;
}
>.detail_limit{
display: -webkit-box; /* 必须 */
overflow: hidden; /* 必须 */
text-overflow: ellipsis; /* 必须 */
white-space: normal !important; /* 非常重要 */
word-wrap: break-word; /* 非常重要 */
// line-height: 1.2em; /* 根据需求调整 */
max-height: 3.6em; /* 根据需求调整 */
-webkit-line-clamp: 2; /* 根据需求调整 */
-webkit-box-orient: vertical; /* 必须 */
-webkit-box-align: start; /* 必须 */
-webkit-box-pack: center; /* 必须 */
font-size: 25rpx;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
color: #808080;
line-height: 35rpx;
margin-top: 20rpx;
}
}
}
}
}