From 31a4f4baac6913dd63dbdaf42bfa7a945a89e2c3 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Wed, 8 Apr 2026 09:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=9F=B3=E4=B9=90=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/page.tsx | 19 +------------------ src/app/page.tsx | 35 ++++++++++++++--------------------- 2 files changed, 15 insertions(+), 39 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 1f5a406..9daf1a6 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -37,7 +37,6 @@ import { FolderOpen, Globe, Mail, - Music, Palette, Settings, Tv, @@ -7773,7 +7772,7 @@ const ThemeConfigComponent = ({ }; // 音乐配置组件 -const MusicConfigComponent = ({ +export const MusicConfigComponent = ({ config, refreshConfig, }: { @@ -12954,7 +12953,6 @@ function AdminPageClient() { liveSource: false, webLive: false, siteConfig: false, - musicConfig: false, registrationConfig: false, categoryConfig: false, configFile: false, @@ -13293,21 +13291,6 @@ function AdminPageClient() { /> - {/* 音乐配置标签 */} - - } - isExpanded={expandedTabs.musicConfig} - onToggle={() => toggleTab('musicConfig')} - > - - - {/* 视频源配置标签 */} { - if (typeof window !== 'undefined') { - const enabled = (window as any).RUNTIME_CONFIG?.TUNEHUB_ENABLED === true; - setMusicEnabled(enabled); - } - }, []); - // 检查公告弹窗状态 useEffect(() => { if (typeof window !== 'undefined' && announcement) { @@ -613,17 +604,19 @@ function HomeClient() { - {/* 音乐视听入口 */} - {musicEnabled && ( - - - - )} + {/* 音乐视听入口(暂时隐藏,后续可能恢复) */} + {/** + * {musicEnabled && ( + * + * + * + * )} + */} {/* 源站寻片入口 */} {sourceSearchEnabled && (