| | |
| | | <template> |
| | | <div class="border-r-small m-h-2 p-h-4"> |
| | | <!-- <div class="border-r-small m-h-2 p-h-4"> --> |
| | | <BaseCard> |
| | | <el-scrollbar ref="scrollbarRef" :height="height"> |
| | | <div ref="scrollContentRef"> |
| | | <div v-for="item in streams" :key="item.index"> |
| | |
| | | </div> |
| | | </div> |
| | | </el-scrollbar> |
| | | </div> |
| | | </BaseCard> |
| | | <!-- </div> --> |
| | | </template> |
| | | <script setup> |
| | | import { reactive, ref, onMounted, inject } from 'vue' |
| | |
| | | import { unCalc } from '@/utils/css-util' |
| | | |
| | | const excludeMapHeight = inject('excludeMapHeight') |
| | | const height = `calc(${unCalc(excludeMapHeight)} - 30px)` |
| | | const height = `calc(${unCalc(excludeMapHeight)} - 36px)` |
| | | |
| | | const streams = reactive([]) |
| | | const scrollContentRef = ref() |