From e86150f84d2b1f79fa3527c7b8bdfae2151f46e7 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Fri, 27 Feb 2026 10:43:35 +0800 Subject: [PATCH] =?UTF-8?q?style:=20Material=20Design=20-=20=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=AE=B9=E5=99=A8=E6=B7=BB=E5=8A=A0=E9=98=B4=E5=BD=B1?= =?UTF-8?q?=E5=92=8C=E5=9C=86=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/ccdiProject/components/ProjectTable.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue index c4f60dc..0c081d2 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue @@ -242,10 +242,19 @@ export default { .project-table-container { margin-top: 16px; - // 表格整体样式 + // 表格整体样式 - Material Design 卡片式 :deep(.el-table) { - border: 1px solid #eee; - border-radius: 4px; + // 移除边框,使用阴影 + border: none; + border-radius: 8px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + + // 悬停时卡片阴影加深 + transition: box-shadow 0.3s ease; + + &:hover { + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + } // 表头样式 th {