refactor: 使用 CSS 变量定制 Element Plus 主题,优化 Welcome 页样式

- 重构 common.less,使用 Element Plus CSS 变量覆盖组件样式:
  - Menu: --el-menu-bg-color, --el-menu-hover-bg-color 等
  - Table: --el-table-header-bg-color, --el-table-row-hover-bg-color 等
  - Dialog: --el-dialog-border-radius, --el-dialog-padding-primary
  - 保留无对应变量的直接样式,添加注释说明

- 优化 Welcome.vue:
  - 调整 max-width 从 900px 到 1000px
  - 添加 box-sizing: border-box

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-20 22:03:54 +08:00
co-authored by Claude Opus 4.6
parent 83731771a1
commit 5b9dc0ccb9
2 changed files with 31 additions and 20 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ import menus from '../config/menu'
<style lang="less" scoped>
.welcome-page {
padding: 32px;
max-width: 900px;
max-width: 1000px;
box-sizing: border-box;
}
.welcome-header {