From 5de2667c2dc682ab0c423c710408e311c809b511 Mon Sep 17 00:00:00 2001 From: liqian <735273025@qq.com> Date: Wed, 22 Jan 2025 18:04:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9nas=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E4=B8=AD=E5=BF=83=E8=81=94=E7=B3=BB=E6=88=91=E4=BB=AC?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/tops_nas/helper.phtml | 44 ++++++++++++++++------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/app/index/view/tops_nas/helper.phtml b/app/index/view/tops_nas/helper.phtml index 0d60520..d0fde51 100644 --- a/app/index/view/tops_nas/helper.phtml +++ b/app/index/view/tops_nas/helper.phtml @@ -137,6 +137,9 @@ flex: 1; color: #1f2635; font-size: 1rem; + white-space: nowrap; /* 不允许换行 */ + overflow: hidden; /* 超出部分隐藏 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ } .narshelpCenterPc .nhlppart1 .nhlp-row .nhlpit .nhlp-tx-list .ckgdbt { background: #fff; @@ -360,74 +363,74 @@