Spaces:
Running
Running
<script setup> | |
import { RouterView } from 'vue-router' | |
import Navigation from './components/Navigation.vue' | |
</script> | |
<template> | |
<div id="app"> | |
<Navigation /> | |
<main class="main-content"> | |
<RouterView /> | |
</main> | |
</div> | |
</template> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: #f8f9fa; | |
} | |
#app { | |
min-height: 100vh; | |
display: flex; | |
flex-direction: column; | |
} | |
.main-content { | |
flex: 1; | |
padding-top: 0; | |
} | |
/* 移除重复的导航组件,使用统一的导航 */ | |
.backend-switcher-container { | |
display: none; | |
} | |
</style> | |