From 85f65bef1e91bc6e86777b1c6c35b304ec91c4e6 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Fri, 15 Aug 2025 17:11:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.vue b/src/App.vue index 421cc34..7215a68 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,5 +36,8 @@ vertical-align: middle; } + /* 自定义全局样式 */ .absolute-center {position: absolute !important;left: 50%;top: 50%;transform: translate(-50%, -50%);} + .line-1 {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} + .line-2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}