From 7e0358ede415d443756e890b1f5067723daeced2 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Thu, 13 Nov 2025 21:59:33 +0800 Subject: [PATCH] update ui --- .../Community/components/DynamicNewsCard.js | 25 +++++++++---------- src/views/Community/index.js | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/views/Community/components/DynamicNewsCard.js b/src/views/Community/components/DynamicNewsCard.js index 2e3e9a00..acf020c6 100644 --- a/src/views/Community/components/DynamicNewsCard.js +++ b/src/views/Community/components/DynamicNewsCard.js @@ -398,13 +398,14 @@ const [currentMode, setCurrentMode] = useState('vertical'); } }} > - {/* 标题和搜索部分 - 可滚动区域 */} + {/* 标题和搜索部分 - 一行布局 */} - + {/* 第一行:标题 + 通知开关 + 更新时间 */} + @@ -480,17 +481,15 @@ const [currentMode, setCurrentMode] = useState('vertical'); - {/* 搜索和筛选组件 - 紧凑版 */} - - - + {/* 第二行:搜索和筛选组件 */} + {/* 主体内容 */} diff --git a/src/views/Community/index.js b/src/views/Community/index.js index 9ed3d275..08208863 100644 --- a/src/views/Community/index.js +++ b/src/views/Community/index.js @@ -144,7 +144,7 @@ const Community = () => { return ( {/* 主内容区域 */} - + {/* 通知权限提示横幅 */} {showNotificationBanner && (