Files
schoolNews/schoolNewsWeb/src/App.vue

33 lines
694 B
Vue
Raw Normal View History

2025-09-25 14:58:50 +08:00
<template>
2025-10-08 14:11:54 +08:00
<div id="app">
<!-- 直接渲染路由由路由配置决定使用什么布局 -->
2025-09-25 14:58:50 +08:00
<router-view />
</div>
</template>
2025-10-08 14:11:54 +08:00
2025-09-25 14:58:50 +08:00
<script setup lang="ts">
2025-10-08 14:11:54 +08:00
// App.vue 只负责渲染路由出口
// 具体的布局NavigationLayout, BlankLayout等由路由配置决定
2025-09-25 14:58:50 +08:00
</script>
<style lang="scss">
#app {
2025-10-08 14:11:54 +08:00
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2025-09-25 14:58:50 +08:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2025-10-08 14:11:54 +08:00
height: 100vh;
margin: 0;
padding: 0;
2025-09-25 14:58:50 +08:00
}
2025-10-08 14:11:54 +08:00
* {
box-sizing: border-box;
}
2025-09-25 14:58:50 +08:00
2025-10-08 14:11:54 +08:00
body {
margin: 0;
padding: 0;
2025-09-25 14:58:50 +08:00
}
</style>