zmc
2023-08-30 b7b35d8bd8f0ff7fe4e1aa6c69a877551bed81a3
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
 
<script  >
import  AppAside  from "./AppAside.vue";
import  AppHeader from "./AppHeader.vue"
  export default{
    data(){
      return{
 
      }
    },
    methods:{
 
    }
 
  }
</script>
 
<template>
   <div class="common-layout">
    <el-container>
      <AppAside/>
      <el-container class="header-and-main">
        <AppHeader/>
        <el-main class="main-content">
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
 
<style lang="scss" scoped>
 
.header-and-main {
  flex-direction: column;
  height: 100vh;
}
// 垂直方向溢出区域禁止滚动
.el-main {
  background-color: #f4f4f5;
  padding: 0;
  // overflow-y: hidden;
}
* {
  font-family: 'KaiGenGothicSC-Light';
}
</style>