29 lines
534 B
Vue
29 lines
534 B
Vue
<template>
|
|
<div class="index">
|
|
<WebsiteHeader></WebsiteHeader>
|
|
<div class="content">
|
|
<router-view :key="route.fullPath" />
|
|
</div>
|
|
<el-backtop />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup name="WebsiteLayout">
|
|
import WebsiteHeader from "@/components/WebsiteHeader";
|
|
import { useRoute } from "vue-router";
|
|
const route = useRoute();
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.index {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
.content {
|
|
width: 100%;
|
|
padding-top: 80px;
|
|
height: 100%;
|
|
}
|
|
}
|
|
</style>
|