From e8a66ef2fbfd31092d395d1ae6791ca5e00c4780 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 08 Apr 2021 09:31:54 +0800
Subject: [PATCH] avue-main样式调增
---
src/views/Video/video.vue | 68 ++++++++++++++++++---------------
1 files changed, 37 insertions(+), 31 deletions(-)
diff --git a/src/views/Video/video.vue b/src/views/Video/video.vue
index eab9c5a..5d79289 100644
--- a/src/views/Video/video.vue
+++ b/src/views/Video/video.vue
@@ -1,41 +1,47 @@
<template>
- <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto
- v-bind:src="reportUrl"></iframe>
+ <iframe
+ v-show="iframeState"
+ id="show-iframe"
+ frameborder="0"
+ name="showHere"
+ scrolling="auto"
+ v-bind:src="reportUrl"
+ ></iframe>
</template>
<script>
- export default {
- name: "tcgl.vue",
- created() {
- this.getData();
+export default {
+ name: "tcgl.vue",
+ created() {
+ this.getData();
+ },
+ data() {
+ return {
+ reportUrl: "",
+ channelNumber: null,
+ serialNumber: null,
+ };
+ },
+ methods: {
+ getData() {
+ this.reportUrl =
+ "./realVideo/realtime-view-videos.html?channelNumber=" +
+ this.$route.query.channelNumber +
+ "&serialNumber=" +
+ this.$route.query.serialNumber;
},
- data() {
- return {
- reportUrl: '',
- channelNumber: null,
- serialNumber: null
- }
- },
- methods: {
- getData() {
- this.reportUrl = "./realVideo/realtime-view-videos.html?channelNumber="
- + this.$route.query.channelNumber
- + "&serialNumber=" + this.$route.query.serialNumber;
- }
- }
- }
+ },
+};
</script>
<style>
+#show-iframe {
+ display: block !important;
+ height: 95%;
+}
- #show-iframe {
- display: block !important;
- height: 95%;
-
- }
-
- .avue-main .avue-view {
- height: 100%;
- padding: 0px 5px !important;
- }
+.avue-main .avue-view {
+ height: calc(100%);
+ padding: 5px 5px !important;
+}
</style>
--
Gitblit v1.9.3