|
@@ -24,6 +24,33 @@
|
|
|
background-color: #555;
|
|
|
}
|
|
|
|
|
|
+// 超行省略一行
|
|
|
+.line_number1 {
|
|
|
+ display: -webkit-box !important;
|
|
|
+ -webkit-box-orient: vertical !important;
|
|
|
+ -webkit-line-clamp: 1 !important;
|
|
|
+ overflow: hidden !important;
|
|
|
+ text-overflow: ellipsis !important;
|
|
|
+}
|
|
|
+
|
|
|
+// 超行省略二行
|
|
|
+.line_number2 {
|
|
|
+ display: -webkit-box !important;
|
|
|
+ -webkit-box-orient: vertical !important;
|
|
|
+ -webkit-line-clamp: 2 !important;
|
|
|
+ overflow: hidden !important;
|
|
|
+ text-overflow: ellipsis !important;
|
|
|
+}
|
|
|
+
|
|
|
+// 超行省略三行
|
|
|
+.line_number3 {
|
|
|
+ display: -webkit-box !important;
|
|
|
+ -webkit-box-orient: vertical !important;
|
|
|
+ -webkit-line-clamp: 3 !important;
|
|
|
+ overflow: hidden !important;
|
|
|
+ text-overflow: ellipsis !important;
|
|
|
+}
|
|
|
+
|
|
|
.iconFont {
|
|
|
font-size: 20px;
|
|
|
}
|