feat: 实现后台管理前端全部页面与登录布局

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Nixevol
2026-06-28 16:52:41 +08:00
co-authored by Cursor
parent fa61840cfb
commit 5fa84f346b
40 changed files with 4481 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
<template>
<n-config-provider :theme-overrides="themeOverrides" :locale="naiveLocale" :date-locale="naiveDateLocale">
<router-view />
</n-config-provider>
</template>
<script setup lang="ts">
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
import { zhCN, dateZhCN, enUS, dateEnUS } from 'naive-ui';
import { themeOverrides } from '@/theme';
const { locale } = useI18n();
const naiveLocale = computed(() => (locale.value === 'en-US' ? enUS : zhCN));
const naiveDateLocale = computed(() => (locale.value === 'en-US' ? dateEnUS : dateZhCN));
</script>