feat:对接监控大屏
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user