zmc
2023-07-11 77a108bd860c737449b46809f6e8a4e1242e5e3b
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
 
<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>
          <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;
}
</style>