From 34035e8a1ab0dc923c91ce2633aaf7e106c609ed Mon Sep 17 00:00:00 2001 From: yangzongjia Date: Mon, 26 Jun 2023 10:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=82=B9=E5=87=BB=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E5=BC=B9=E5=87=BA=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/videos/index.vue | 22 ++++++++++++++++++---- src/views/zhiwujiance/zhiwujianceInfo.vue | 4 ++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/views/monitor/videos/index.vue b/src/views/monitor/videos/index.vue index 3c231ef..edf47b1 100644 --- a/src/views/monitor/videos/index.vue +++ b/src/views/monitor/videos/index.vue @@ -66,12 +66,16 @@
-
+ @mouseleave="leave" @click.stop="openshipinShipinjiankong(item, index)">
+

实时视频

回放视频

-
+
+

实时视频

+

回放视频

+
+

设备名称:{{ item.name }}

设备通道:{{ item.channelNo }}

@@ -240,6 +244,8 @@ export default { }, data() { return { + buttonFlag: false, + topFlag: false, checkList: ['选中且禁用', '复选框 A'], btnRuqinbaojing: [], btnShipinjiankong: [], @@ -427,7 +433,15 @@ export default { openshipinRuqinbaojing() { this.seenshipinRuqinbaojing = !this.seenshipinRuqinbaojing }, - openshipinShipinjiankong(index) { + openshipinShipinjiankong(item, index) { + this.topFlag = false; + this.buttonFlag = false; + var showTopButton = item.topPosition.slice(0, item.topPosition.lastIndexOf("%")) + if (showTopButton >= 80) { + this.topFlag = true; + } else { + this.buttonFlag = true; + } this.active = index this.seenshipinShipinjiankong = !this.seenshipinShipinjiankong }, diff --git a/src/views/zhiwujiance/zhiwujianceInfo.vue b/src/views/zhiwujiance/zhiwujianceInfo.vue index 62d2481..f9315f7 100644 --- a/src/views/zhiwujiance/zhiwujianceInfo.vue +++ b/src/views/zhiwujiance/zhiwujianceInfo.vue @@ -93,8 +93,8 @@ export default { // tableKey: 0, // index: 0, viewTitle: '', - // fileUrl: 'http://8.130.39.13:7003/upload/monitor/', - fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/', + fileUrl: 'http://8.130.39.13:7003/upload/monitor/', + // fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/', supplierType_list: [ { title: '摄像头', id: '1' }, ],