This commit is contained in:
gongjiale 2022-11-25 13:51:51 +08:00
parent ca34984b25
commit 547f679b62
3 changed files with 68 additions and 12 deletions

View File

@ -4,8 +4,7 @@
<div class="inner-title"> <div class="inner-title">
重点点位视频监控 重点点位视频监控
<span <span
style=" style="float: right;
float: right;
font-size: 16px; font-size: 16px;
color: #fff; color: #fff;
margin-right: 10px; margin-right: 10px;
@ -17,25 +16,53 @@
></span ></span
> >
</div> </div>
<div class="video-List">放视频</div> <div class="video-List">
<div id="video1" class="monitor">
</div>
</div>
</div> </div>
<!--视频列表弹出框-->
<!-- <dialog :visible.sync="this.listVisible">>
<video-list></video-list>
</dialog> -->
<!-- <el-dialog
title="提示"
:visible.sync="dialogVisible"
width="30%"
:before-close="handleClose">
<video-list></video-list>
</el-dialog> -->
</div> </div>
</template> </template>
<script> <script>
import bus from "@/views/layout/bus"; import bus from "@/views/layout/bus";
import * as echarts from "echarts"; import * as echarts from "echarts";
import VideoList from "./VideoList";
//
const DHWsInstance = DHWs.getInstance({
reConnectCount: 0,
connectionTimeout: 100
})
export default { export default {
data() { data() {
return {}; return {
videoVisible: false,
};
}, },
components: {}, components: {VideoList},
created() {}, created() {},
mounted() {}, mounted() {
},
methods: { methods: {
// //
openVideoList(){ openVideoList(){
this.videoVisible=!this.videoVisible
this.$emit("IsShowLideoVisible",this.videoVisible);
},
}
}, },
watch: {}, watch: {},
}; };

View File

@ -53,13 +53,13 @@
<!-- 视频标签列表 --> <!-- 视频标签列表 -->
<div class="complaintContent1"> <div class="complaintContent1">
<video-list-right></video-list-right> <video-list-right></video-list-right>
</div> </div>
<!-- 重点视频列表 --> <!-- 重点视频列表 -->
<div class="mainVideoList"> <div class="mainVideoList">
<video-list-left></video-list-left> <video-list-left @IsShowLideoVisible="IsShowLideoVisible"></video-list-left>
</div> </div>
<div class="keyAreas" @click="handleKeyArea"> <div class="keyAreas" @click="handleKeyArea">
重点区域 重点区域
@ -68,6 +68,12 @@
<div class="siteList" v-if="keyAreasShow"> <div class="siteList" v-if="keyAreasShow">
<site-list-more></site-list-more> <site-list-more></site-list-more>
</div> </div>
<!--视频列表弹出框-->
<div class="siteList1" v-if="videoVisible">
<video-list></video-list>
</div>
<!-- 热力图图例 --> <!-- 热力图图例 -->
<div class="legend"></div> <div class="legend"></div>
@ -125,6 +131,9 @@
</div> </div>
<video-play v-if="openVideo" :channel-id="channelCode"></video-play> <video-play v-if="openVideo" :channel-id="channelCode"></video-play>
</div> </div>
</div> </div>
</template> </template>
@ -138,6 +147,7 @@ import EarlyWarning from "./components/EarlyWarning";
import VideoPlay from "./components/VideoPlay"; import VideoPlay from "./components/VideoPlay";
import VideoListRight from "./components/VideoListRight"; import VideoListRight from "./components/VideoListRight";
import VideoListLeft from "./components/VideoListLeft"; import VideoListLeft from "./components/VideoListLeft";
import VideoList from "./components/VideoList";
import SiteListMore from "./components/SiteListMore"; import SiteListMore from "./components/SiteListMore";
import { selectByJdWd } from "@/api/construction/index"; import { selectByJdWd } from "@/api/construction/index";
import { import {
@ -157,6 +167,7 @@ import HorizonTimeLine from "./components/HorizonTimeLine";
export default { export default {
data() { data() {
return { return {
videoVisible:false,
hiMap: new HieimpMap(), // hiMap: new HieimpMap(), //
mapId: "map-single", // id mapId: "map-single", // id
@ -193,6 +204,7 @@ export default {
complaintEvent, complaintEvent,
VideoListRight, VideoListRight,
VideoListLeft, VideoListLeft,
VideoList,
SiteListMore, SiteListMore,
VideoPlay, VideoPlay,
HorizonTimeLine, HorizonTimeLine,
@ -265,6 +277,9 @@ export default {
} }
}, },
methods: { methods: {
IsShowLideoVisible(val){
this.videoVisible=val
},
// //
getCurrentTime() { getCurrentTime() {
const yy = new Date().getFullYear(); const yy = new Date().getFullYear();
@ -719,6 +734,9 @@ export default {
font-family: 'Tensentype-ZhiHeiJ-W5'; font-family: 'Tensentype-ZhiHeiJ-W5';
src: url("../../../assets/construction/TTZhiHeiJ-W5.ttf"); src: url("../../../assets/construction/TTZhiHeiJ-W5.ttf");
} }
::v-deep .el-dialog {
background: rgba(32,59,93,.8);
}
.map-box { .map-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -732,6 +750,7 @@ export default {
} }
#contain { #contain {
header { header {
position: relative; position: relative;
z-index: 1000; z-index: 1000;
@ -892,6 +911,15 @@ export default {
height:500px; height:500px;
background: rgba($color: #05213b, $alpha: .85); background: rgba($color: #05213b, $alpha: .85);
} }
.siteList1 {
position: absolute;
z-index: 10;
right: 498px;
top: 185px;
width: 374px;
height:500px;
background: rgba($color: #05213b, $alpha: .85);
}
.legend { .legend {
position: absolute; position: absolute;
left: 50%; left: 50%;

View File

@ -839,6 +839,7 @@
</div> </div>
<div class="monitor" id="video2"></div> <div class="monitor" id="video2"></div>
</div> --> </div> -->
</aside> </aside>
<!-- 资源清单 --> <!-- 资源清单 -->
@ -1718,7 +1719,7 @@ export default {
// //
dataCamera: [], dataCamera: [],
basisShow: false, basisShow: false,
homeEventData: [], openDialog2: [],
FloodMaplatlng: {} // -使 FloodMaplatlng: {} // -使
} }
}, },