From f7c04c88d471b7414e9b856dc7145a96af580c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com> Date: Thu, 14 Aug 2025 20:36:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=BA=92=E6=96=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/css/video.less | 12 +++ src/views/VideoStream.vue | 171 ++++++++++++++++++++++++-------------- 2 files changed, 119 insertions(+), 64 deletions(-) diff --git a/src/static/css/video.less b/src/static/css/video.less index 5d72aae..e375477 100644 --- a/src/static/css/video.less +++ b/src/static/css/video.less @@ -215,4 +215,16 @@ video { flex-direction: column; align-items: center; // justify-content: center; +} + +.left-button.active { + background-color: red; +} + +/* 互斥期间的其它三枚按钮置灰禁点 */ +.left-button.disabled { + pointer-events: none; + cursor: not-allowed; + opacity: 0.5; + filter: grayscale(0.4); } \ No newline at end of file diff --git a/src/views/VideoStream.vue b/src/views/VideoStream.vue index 4f6e119..44a401d 100644 --- a/src/views/VideoStream.vue +++ b/src/views/VideoStream.vue @@ -3,8 +3,9 @@
-
+
{{ btn.label }}
@@ -64,7 +65,7 @@