add frontend

This commit is contained in:
voltsrage
2026-06-19 17:42:09 +08:00
parent 49973271e5
commit 5f69ce1a95
53 changed files with 6591 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<script setup>
import AppShell from '@/components/layout/AppShell.vue'
</script>
<template>
<AppShell>
<RouterView v-slot="{ Component }">
<KeepAlive include="WardDashboard">
<Transition name="fade" mode="out-in">
<component :is="Component" />
</Transition>
</KeepAlive>
</RouterView>
</AppShell>
</template>
<style>
.fade-enter-active,
.fade-leave-active { transition: opacity 0.15s ease; }
.fade-enter-from,
.fade-leave-to { opacity: 0; }
</style>