智慧园区前端大屏
shuishen
2024-12-18 9a37c5e1b2190c3f6ec71483923922189091dd52
src/views/companyInfo/components/leftContainer.vue
@@ -4,35 +4,46 @@
 * @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.
 * @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="data box">
      <title-box>
        <template #titleName>
          数据概览
        </template>
      </title-box>
      <data-content></data-content>
    </div> -->
    <!-- <div class="unit box">
    <div class="unit box" v-if="state.buttonIndex == 3">
      <title-box>
        <template #titleName>
          入住单位统计
          <!-- 应急空间 -->
        </template>
      </title-box>
      <unit-content></unit-content>
    </div> -->
    </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>
@@ -45,4 +56,16 @@
  </div>
</template>
<style lang="scss" scoped></style>
<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>