feat(frontend): 实现主题切换功能并优化全局样式

- 在 App.vue 中添加主题切换按钮和逻辑
- 新增 global.css 和 theme.css 文件,统一全局样式和主题样式
- 更新 LoginPage、RegisterPage 和 HomePage 的样式,适配新主题
- 实现暗黑模式下的样式调整
This commit is contained in:
2025-07-31 10:38:51 +08:00
parent e0a99235ec
commit b22fc82432
8 changed files with 524 additions and 111 deletions

View File

@@ -1,4 +1,5 @@
import { createApp } from 'vue'
import './assets/styles/global.css'
import App from './App.vue'
import router from './router/'
import ElementPlus from 'element-plus'