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.
|
|
|
<!--
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-05-04 17:56:39
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-05-08 15:53:49
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<div class="layout">
|
|
|
|
<Header />
|
|
|
|
<div class="layout-box"><Nuxt /></div>
|
|
|
|
<Footer />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import Header from "./module/header/index.vue";
|
|
|
|
import Footer from "./module/footer/index.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "Layout",
|
|
|
|
components: { Header, Footer },
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.layout-box {
|
|
|
|
width: 1200px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.layout-footer{
|
|
|
|
height: 189px;
|
|
|
|
background: #ddd;
|
|
|
|
}
|
|
|
|
</style>
|