Browse Source

指挥调度 修改

wangqin
Joe 10 months ago
parent
commit
321ef170ec
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue
  2. 28
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/RealTimeVideo/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue

@ -56,6 +56,7 @@ export default {
position: relative; position: relative;
background-color: #000; background-color: #000;
height: 240px; height: 240px;
overflow: hidden;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -139,6 +140,8 @@ export default {
.video-stream, .video-stream,
img { img {
height: 100%; height: 100%;
max-height: 100%;
max-width: 100%;
} }
.video-stream { .video-stream {

28
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/RealTimeVideo/index.vue

@ -1,7 +1,13 @@
<template> <template>
<Card class='RealTimeVideo' title="实时视频"> <Card class='RealTimeVideo' title="实时视频">
<Video class="item-video" :pileNum="detailData.stakeMark" /> <div class="item">
<!-- <Video class="item-video" /> --> <Video class="item-video" :pileNum="detailData.stakeMark" />
<span>处置现场</span>
</div>
<div class="item">
<Video class="item-video" />
<span>感知视频</span>
</div>
</Card> </Card>
</template> </template>
@ -22,6 +28,7 @@ export default {
<style lang='scss' scoped> <style lang='scss' scoped>
.RealTimeVideo { .RealTimeVideo {
::v-deep { ::v-deep {
.content { .content {
display: flex; display: flex;
@ -31,10 +38,23 @@ export default {
} }
} }
.item-video { .item {
flex: 1; flex: 1;
width: calc(50% - 4.5px); display: flex;
flex-direction: column;
height: 100%; height: 100%;
align-items: center;
gap: 6px;
span {
font-size: 12px;
}
.item-video {
width: 100%;
flex: 1;
height: 100%;
}
} }
} }
</style> </style>

Loading…
Cancel
Save