whychdw
2024-12-02 ec054b1f37e4863074069fe686d82e20c435f9c1
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
56
57
<script>
import appMain from "@/layout/components/AppMain.vue";
export default {
  name: "LayoutIndex",
  components: {
    appMain
  },
  data() {
    return {}
  },
  methods: {
 
  },
  mounted() {
 
  }
}
</script>
 
<template>
  <div class="app-wrapper">
    <div class="app-header">
      <div class="app-title">武汉源畅科技电源监控平台</div>
      <div class="app-menu"></div>
    </div>
    <div class="app-main">
      <app-main></app-main>
    </div>
    <div class="app-footer"></div>
  </div>
</template>
 
<style scoped lang="scss">
.app-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  .app-header {
    height: var(--base-height);
    .app-title {
      display: inline-block;
      min-width: 600px;
      font-size: 24px;
      font-weight: 700;
      padding: 0 200px 0 20px;
      background-image: var(--bg-image);
      background-size: 100% 100%;
      background-repeat: no-repeat;
      height: var(--base-height);
      line-height: var(--base-height);
    }
  }
  .app-main {
    flex: 1;
  }
}
</style>