From d47c0ad6a8059d0a51b562e1139608f29830c9a2 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Fri, 27 Feb 2026 10:49:54 +0800 Subject: [PATCH] =?UTF-8?q?style:=20Material=20Design=20-=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E8=A1=8C=E5=88=86=E9=9A=94=E7=BA=BF=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=95=99=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ccdiProject/components/ProjectTable.vue | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue index e05754e..a503428 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue @@ -269,13 +269,13 @@ export default { border-bottom: 2px solid #e0e0e0; } - // 数据行样式 + // 数据行样式 - 增加留白,移除分隔线 td { color: #333; font-size: 14px; - height: 50px; - padding: 12px; - border-bottom: 1px solid #f0f0f0; + height: 64px; + padding: 20px 12px; + border-bottom: none; } // 移除列分隔线 @@ -286,18 +286,18 @@ export default { } // 悬停效果 - .el-table__row:hover > td { - background-color: #f5f5f5 !important; - transition: background-color 0.3s; - } - - // 表格内容无额外边框 - &::before { - height: 0; + .el-table__row { + transition: background-color 0.2s ease; + + &:hover > td { + background-color: #fafafa !important; + } } + // 移除额外边框 + &::before, &::after { - width: 0; + display: none; } } }