feat:对接监控大屏

This commit is contained in:
zjc
2025-01-16 16:02:01 +08:00
parent 2a11f91d36
commit 70495d3c95
20 changed files with 336 additions and 237 deletions

View File

@@ -3,20 +3,21 @@
<div class="box-2">
<Nav />
<!-- 视频 -->
<Monitor />
<Monitor :list="videoList" />
</div>
</template>
<script setup>
import Nav from '@/components/Nav/index.vue'
import Monitor from '@/components/Monitor/index.vue'
import { getVideoListApi, postRefreshApi } from '@/api/home'
import { getVideoListApi } from '@/api/home'
let videoList = ref([])
const getVideoList = async () => {
let res = await getVideoListApi({
businessVideoDisplayPosition: ''
})
console.log(res, 'res')
videoList.value = res.data
}
onMounted(() => {
@@ -25,9 +26,9 @@
</script>
<style lang="scss" scoped>
.box-2 {
margin-top: vh(120);
width: vw(2356);
height: vh(965);
margin-top: vh(120);
display: flex;
}
</style>