diff --git a/frontend/src/assets/styles/ruoyi.scss b/frontend/src/assets/styles/ruoyi.scss index bfc3a0c8..c45e0575 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 6c92d2d7..6b60de5b 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);