From cc623d5fdb416c9a9faabda74b35cfaf1dbfa446 Mon Sep 17 00:00:00 2001 From: zhaichao Date: Sun, 23 Aug 2026 16:31:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=B1=80=E8=A1=A8=E6=A0=BC=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B1=85=E4=B8=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/styles/ruoyi.scss | 19 +++++++++++-------- frontend/src/views/index.vue | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/frontend/src/assets/styles/ruoyi.scss b/frontend/src/assets/styles/ruoyi.scss index bfc3a0c83..c45e0575e 100644 --- a/frontend/src/assets/styles/ruoyi.scss +++ b/frontend/src/assets/styles/ruoyi.scss @@ -1,4 +1,4 @@ -/** +/** * 通用css样式布局处理 * Copyright (c) 2019 roomroot */ @@ -93,13 +93,16 @@ } .el-table { - .el-table__header-wrapper, .el-table__fixed-header-wrapper { - th { - word-break: break-word; - background-color: #f8f8f9; - color: #515a6e; - height: 40px; - font-size: 13px; + th { + word-break: break-word; + background-color: #f8f8f9; + color: #515a6e; + height: 40px; + font-size: 13px; + text-align: center; + + .cell { + text-align: center; } } diff --git a/frontend/src/views/index.vue b/frontend/src/views/index.vue index 6c92d2d71..6b60de5b0 100644 --- a/frontend/src/views/index.vue +++ b/frontend/src/views/index.vue @@ -434,7 +434,7 @@ export default { th { padding: 10px 20px; - text-align: left; + text-align: center; font-weight: 600; color: var(--edu-green-dark); border-bottom: 1px solid rgba(0, 135, 90, 0.1);