2020-06-19 17:10:44 +08:00
|
|
|
<template>
|
|
|
|
<el-container>
|
|
|
|
<el-header>
|
|
|
|
<header-view/>
|
|
|
|
</el-header>
|
|
|
|
<el-main>
|
2020-06-22 17:13:42 +08:00
|
|
|
<nuxt :nuxt-child-key="$route.name" />
|
2020-06-19 17:10:44 +08:00
|
|
|
</el-main>
|
|
|
|
<el-footer>
|
|
|
|
<footer-view/>
|
|
|
|
</el-footer>
|
|
|
|
</el-container>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-06-21 21:56:34 +08:00
|
|
|
import { mapState } from 'vuex'
|
2020-06-19 17:10:44 +08:00
|
|
|
import HeaderView from "./header";
|
|
|
|
import FooterView from "./footer";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "PcMain",
|
|
|
|
components: {
|
|
|
|
HeaderView,
|
2020-06-22 17:13:42 +08:00
|
|
|
FooterView
|
2020-06-21 21:56:34 +08:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
...mapState('global', [])
|
2020-06-19 17:10:44 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
</style>
|