diff --git a/dist/helper/index.wxss b/dist/helper/index.wxss index f9fb21b3..a9ab8680 100644 --- a/dist/helper/index.wxss +++ b/dist/helper/index.wxss @@ -64,7 +64,9 @@ transform: translateY(-50%) matrix(0.71, 0.71, -0.71, 0.71, 0, 0); } -.zui-ellipsis { +.zui-ellipsis, +.zui-ellipsis--l2, +.zui-ellipsis--l3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -74,13 +76,17 @@ .zui-ellipsis--l2 { max-height: 40px; line-height: 20px; - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } +.zui-ellipsis--l3 { + max-height: 60px; + line-height: 20px; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; +} + .zui-clearfix { zoom: 1; }