From ee2cc5b94a2e6341bfdda43eeb2b599e7ee1f63c Mon Sep 17 00:00:00 2001
From: zjc <1034206993@qq.com>
Date: Tue, 25 Feb 2025 17:54:34 +0800
Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=AF=B9=E6=8E=A5=E8=A7=86?=
=?UTF-8?q?=E9=A2=91=E6=94=B6=E8=97=8F=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/monitor.js | 9 ++++
src/views/monitor/components/box-2.vue | 63 ++++++++++++++++++++++++--
2 files changed, 67 insertions(+), 5 deletions(-)
diff --git a/src/api/monitor.js b/src/api/monitor.js
index b346c33..f38c57e 100644
--- a/src/api/monitor.js
+++ b/src/api/monitor.js
@@ -44,3 +44,12 @@ export function postVideoControlApi(data) {
data
})
}
+
+// 收藏视频
+export function postVideoCollectApi(data) {
+ return request({
+ url: '/fjtcc-api/api/largeScreen/video/collect',
+ method: 'get',
+ params: data
+ })
+}
diff --git a/src/views/monitor/components/box-2.vue b/src/views/monitor/components/box-2.vue
index 1ebc57d..f5e9f14 100644
--- a/src/views/monitor/components/box-2.vue
+++ b/src/views/monitor/components/box-2.vue
@@ -53,6 +53,18 @@
@click="handleItemVideo(item.hlsUrl, 100)"
>
+
取消关注
+
+
关注
+