summaryrefslogtreecommitdiff
path: root/src/components/layout/index.vue
blob: 83f6672e76fd6b1b6ff2288aefe4e2be2a6c93a5 (plain)
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
<template>
  <div id="layout">
    <layout-header></layout-header>
    <div id="layout-container">
      <left-menu></left-menu>
      <div class="pageContent">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script setup>
import layoutHeader from '@/components/layout/layoutHeader.vue';
import leftMenu from '@/components/layout/leftMenu.vue';
</script>

<style lang="scss" scoped>
#layout {
  width: 100%;
  height: 100%;
  #layout-container {
    height: calc(100vh - 70px);
    position: relative;
    .pageContent {
      padding: 25px 50px 25px calc(64px + 50px);
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 18px 0;
      overflow-x: hidden;
      overflow-y: auto;
      position: relative;
    }
  }
}
</style>