Files
OCS_service/app/layouts/default.vue
T

20 lines
599 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- app/layouts/default.vue - 页面外壳负责组合导航内容区和页脚 -->
<script lang="ts" setup>
import AppFooter from "@/components/layout/AppFooter.vue";
import AppHeader from "@/components/layout/AppHeader.vue";
</script>
<template>
<div
class="flex h-screen flex-col overflow-hidden bg-background text-foreground"
>
<AppHeader class="shrink-0" />
<main class="flex min-h-0 flex-1 flex-col overflow-y-auto">
<div class="mx-auto w-full max-w-7xl flex-1 px-4 py-6 md:px-6">
<slot />
</div>
<AppFooter />
</main>
</div>
</template>