前台页面框架完成
This commit is contained in:
27
src/views/index.vue
Normal file
27
src/views/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<el-container>
|
||||
<el-header style="box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)">
|
||||
<HeaderComponent></HeaderComponent>
|
||||
</el-header>
|
||||
<el-container>
|
||||
<el-main>
|
||||
<keep-alive>
|
||||
<router-view></router-view>
|
||||
</keep-alive>
|
||||
</el-main>
|
||||
</el-container>
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HeaderComponent from "@/components/Header.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
HeaderComponent,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user