You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
557 B

<template>
<HeaderBar v-if = "!route.meta.hideHeader"/>
<router-view/>
</template>
<script setup lang="ts">
import HeaderBar from './components/HeaderBar.vue'
import router from './routers/routers';
import { useRoute } from 'vue-router'
const route = useRoute()
</script>
<style>
/* 设置 body 背景渐变,清除异常布局设置 */
html, body, #app {
margin: 0;
padding: 0;
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
background: linear-gradient(200deg, #f3e7e9, #e3eeff);
overflow: hidden;
}
</style>