1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
| <script >
| import AppAside from "./AppAside.vue";
| import AppHeader from "./AppHeader.vue"
| import Content from '@/components/core/Content.vue';
| export default{
| components:[
| AppAside,
| AppHeader,
| Content
| ],
| data(){
| return{
|
| }
| },
| methods:{
|
| }
|
| }
| </script>
|
| <template>
| <div class="page-container">
| <el-container>
| <AppAside/>
| <el-container class="header-and-main">
| <AppHeader/>
| <el-main >
| <Content></Content>
| <!-- <RouterView/> -->
| </el-main>
| </el-container>
| </el-container>
| </div>
| </template>
|
| <style lang="scss" scoped>
|
| .header-and-main {
| flex-direction: column;
| height: 100vh;
| min-width: 1445px;
| }
| /* // 垂直方向溢出区域禁止滚动 */
| .el-main {
| background-color: #f4f4f5;
| padding: 0;
| }
| * {
| font-family: 'KaiGenGothicSC-Light';
| }
|
| </style>
|
|