Files
cas_cloud_web/src/views/website/website-layout.vue

29 lines
534 B
Vue
Raw Normal View History

2022-08-30 10:36:30 +08:00
<template>
<div class="index">
<WebsiteHeader></WebsiteHeader>
<div class="content">
2022-11-17 17:29:47 +08:00
<router-view :key="route.fullPath" />
2022-08-30 10:36:30 +08:00
</div>
<el-backtop />
</div>
</template>
<script setup name="WebsiteLayout">
import WebsiteHeader from "@/components/WebsiteHeader";
2022-11-17 17:29:47 +08:00
import { useRoute } from "vue-router";
const route = useRoute();
2022-08-30 10:36:30 +08:00
</script>
<style lang="scss" scoped>
.index {
position: relative;
height: 100%;
width: 100%;
.content {
width: 100%;
padding-top: 80px;
height: 100%;
}
}
</style>