From 98122ef509eb33fdd15ae071e452905efc75de86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Thu, 16 Jul 2026 14:15:45 +0800 Subject: [PATCH] =?UTF-8?q?style(swaptrade2):=20=E4=BA=92=E6=8D=A2?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E5=88=97=E8=A1=A8=E7=BD=91=E6=A0=BC=E8=A1=8C?= =?UTF-8?q?=E9=AB=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 设置 jqgrid 行高度为 25px - 设置单元格高度为 25px 并调整行高至 20px - 添加文本溢出省略号显示效果 - 统一设置白空间为 nowrap 避免文本换行 --- YLErpWeb/Views/SwapTrade2/TradeList.cshtml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/YLErpWeb/Views/SwapTrade2/TradeList.cshtml b/YLErpWeb/Views/SwapTrade2/TradeList.cshtml index 3ac977cb..e7f78c75 100644 --- a/YLErpWeb/Views/SwapTrade2/TradeList.cshtml +++ b/YLErpWeb/Views/SwapTrade2/TradeList.cshtml @@ -21,6 +21,18 @@ .ChildrenBG { background-color: #ADADAD !important; } + + #listGrid tr.jqgrow { + height: 25px !important; + } + + #listGrid tr.jqgrow > td { + height: 25px !important; + line-height: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } @section JS{ @@ -116,4 +128,4 @@
上限10000条
- \ No newline at end of file +