智慧园区前端大屏
shuishen
2024-12-17 a07f79573d52f61ba6ec97766e9abc12309eadee
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-03-10 15:27:59
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-10-25 18:43:23
 * @FilePath: \bigScreen\src\views\statistics\components\leftContainer.vue
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<script setup>
import dataContent from './box/dataContent.vue'
import unitContent from './box/unitContent.vue'
import fireContent from './box/fireContent.vue'
 
let state = defineProps({
  buttonIndex: {
    type: Number,
    default: 1
  }
})
 
</script>
 
<template>
  <div class="left-container">
 
    <div class="unit box" v-if="state.buttonIndex == 3">
      <title-box>
        <template #titleName>
          <!-- 应急空间 -->
        </template>
      </title-box>
      <unit-content></unit-content>
    </div>
 
    <div class="data box" v-if="state.buttonIndex == 4">
      <title-box>
        <template #titleName>
          <!-- 三道防线 -->
        </template>
      </title-box>
      <data-content></data-content>
    </div>
 
 
 
    <!-- <div class="fire box">
      <title-box>
        <template #titleName>
          实时火警事件
        </template>
      </title-box>
      <fire-content></fire-content>
    </div> -->
  </div>
</template>
 
<style lang="scss" scoped>
.left-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  pointer-events: auto;
  // background: rgba(28, 115, 195, 0.2);
}
</style>