feat: 重做管理后台的导航、表单和登录页

This commit is contained in:
Nixevol
2026-10-19 16:47:19 +08:00
parent 8beacfb931
commit 9c33ba1431
29 changed files with 794 additions and 321 deletions
+13 -2
View File
@@ -1,10 +1,13 @@
<script setup lang="ts">
import { NConfigProvider, NMessageProvider, NDialogProvider, zhCN, dateZhCN } from "naive-ui";
import { NConfigProvider, NDialogProvider, NMessageProvider, dateZhCN, zhCN } from "naive-ui";
import { RouterView } from "vue-router";
import { useAppTheme } from "./theme";
const { theme } = useAppTheme();
</script>
<template>
<n-config-provider :locale="zhCN" :date-locale="dateZhCN" size="small">
<n-config-provider :locale="zhCN" :date-locale="dateZhCN" :theme="theme" size="small">
<n-message-provider>
<n-dialog-provider>
<RouterView />
@@ -20,4 +23,12 @@ body,
height: 100%;
margin: 0;
}
body {
background: #f7f8fa;
color: rgba(0, 0, 0, 0.9);
}
html.dark body {
background: #101014;
color: rgba(255, 255, 255, 0.9);
}
</style>