| | |
| | | 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"> |
| | | |
| | | <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="unit box"> |
| | | <title-box> |
| | | <template #titleName> |
| | | 入住单位统计 |
| | | </template> |
| | | </title-box> |
| | | <unit-content></unit-content> |
| | | </div> --> |
| | | |
| | | |
| | | <!-- <div class="fire box"> |
| | | <title-box> |
| | |
| | | </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> |