From f7a8e3524c77bd40c5c93f1f49380f0bf587db15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B2=A9=E5=B2=A9?= Date: Mon, 9 Feb 2026 00:27:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BD=BF=E7=94=A8=E6=96=B0=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LeftPanel: 整合子组件,使用 useChannels/useGroups/useFavorites - BottomPanel: 使用 useUI 替代 props - VideoPlayer: 优化播放器逻辑 - DebugPanel: 移动到 Layout 目录 - InputPanel: 新增遥控输入组件 - useUI: 优化 UI 状态管理 --- ui/src/components/Layout/BottomPanel.vue | 28 +- ui/src/components/Layout/DebugPanel.vue | 68 +++ ui/src/components/Layout/InputPanel.vue | 93 ++++ ui/src/components/Layout/LeftPanel.vue | 534 +++++++++++++++++------ ui/src/components/VideoPlayer.vue | 116 +++-- 5 files changed, 637 insertions(+), 202 deletions(-) create mode 100644 ui/src/components/Layout/DebugPanel.vue create mode 100644 ui/src/components/Layout/InputPanel.vue diff --git a/ui/src/components/Layout/BottomPanel.vue b/ui/src/components/Layout/BottomPanel.vue index b4c5490..2b6bc9e 100644 --- a/ui/src/components/Layout/BottomPanel.vue +++ b/ui/src/components/Layout/BottomPanel.vue @@ -1,10 +1,10 @@