diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue index 75ae005e..061090ea 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue @@ -1,18 +1,21 @@ @@ -37,6 +40,11 @@ export default { type: String, default: null } + }, + data() { + return { + active: "video" + } } } @@ -46,6 +54,18 @@ export default { position: relative; background-color: #000; height: 240px; + display: flex; + justify-content: center; + + .fade-enter-active, + .fade-leave-active { + transition: opacity 0.24s ease; + } + + .fade-enter-from, + .fade-leave-to { + opacity: 0; + } .header { position: absolute; @@ -54,7 +74,7 @@ export default { width: 100%; z-index: 999; display: flex; - padding: 3px 6px; + padding: 6px; justify-content: space-between; .left, @@ -113,10 +133,14 @@ export default { } } + + .video-stream, + img { + height: 100%; + } + .video-stream { width: 100%; - height: 100%; - // height: 240px; } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/view.png b/ruoyi-ui/src/views/JiHeExpressway/components/Video/view.png new file mode 100644 index 00000000..9e9285ba Binary files /dev/null and b/ruoyi-ui/src/views/JiHeExpressway/components/Video/view.png differ