From 2aa6092938bc41f713dcae3a8c41e0eb33e1fcff Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 15 Apr 2022 14:03:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=9B=9E=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppISManage/AppISManage.vue | 12 +- .../components/AiSlwVideo.vue | 205 +++++++++++--- .../components/Timeline.vue | 262 ++++++++++++++++++ 3 files changed, 440 insertions(+), 39 deletions(-) create mode 100644 packages/IntelligentSecurity/components/Timeline.vue diff --git a/packages/IntelligentSecurity/AppISManage/AppISManage.vue b/packages/IntelligentSecurity/AppISManage/AppISManage.vue index c0ea5caf..539efc28 100644 --- a/packages/IntelligentSecurity/AppISManage/AppISManage.vue +++ b/packages/IntelligentSecurity/AppISManage/AppISManage.vue @@ -16,10 +16,8 @@ class="videoBox" v-for="(m, i) in monitors" :key="m.id" - @mouseenter.stop="m.isShowPlayBtn = true" - @mouseleave.stop="m.isShowPlayBtn = false" :style="currentSplitStyle"> - + @@ -116,6 +114,12 @@ export default { if (e === 1 && this.monitors.length) { this.monitors = [this.monitors[0]] } + + console.log(this.$refs.AiMonitor) + + this.$refs.AiMonitor.forEach(e => { + e.reset() + }) }, removeMonitor(i) { @@ -217,7 +221,7 @@ export default { height: 100%; .monitorPane { - color: #fff; + // color: #fff; flex: 1; min-width: 0; padding: 20px 20px 20px 4px; diff --git a/packages/IntelligentSecurity/components/AiSlwVideo.vue b/packages/IntelligentSecurity/components/AiSlwVideo.vue index a1447df1..7b76642f 100644 --- a/packages/IntelligentSecurity/components/AiSlwVideo.vue +++ b/packages/IntelligentSecurity/components/AiSlwVideo.vue @@ -14,33 +14,53 @@ style="width: 100%; height: 100%;" :src="`https://cdn.cunwuyun.cn/slw2.0/index.html?url=${src}`"> -
-
-
- 实时 - 历史 -
-
- -
- - +
+ +
+
+
+ + + +
+
+ +
+ + +
+
+
+
+ + 直播中 + {{ form.date }} +
+
回到直播
-
-
- - - +
+ + + + + + + + + +
+ + \ No newline at end of file