From 1b9f1884b863cf7f2a11dd6bfa674abef94dfe26 Mon Sep 17 00:00:00 2001 From: jinsir <874871581@qq.com> Date: Tue, 18 Nov 2025 21:01:42 +0800 Subject: [PATCH] =?UTF-8?q?list=20=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/body/GrassrootsDynamics.tsx | 35 ++++++++++++++-------- app/components/list/List.tsx | 6 ++-- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/app/components/body/GrassrootsDynamics.tsx b/app/components/body/GrassrootsDynamics.tsx index 3c64040..3a67208 100644 --- a/app/components/body/GrassrootsDynamics.tsx +++ b/app/components/body/GrassrootsDynamics.tsx @@ -3,18 +3,27 @@ import List from '../list/List'; export default function GrassrootsDynamics() { return ( -
- {/* 左边图片 */} -
- 基层动态 -
- {/* 右边列表 */} -
- -
-
+
+ {/* 左边图片 */} +
+ {/* 装饰图形 */} +
+
+ + {/* 图片 */} +
+ 基层动态 +
+
+ + {/* 右边列表 */} +
+ +
+
); } \ No newline at end of file diff --git a/app/components/list/List.tsx b/app/components/list/List.tsx index 0034864..c8c706d 100644 --- a/app/components/list/List.tsx +++ b/app/components/list/List.tsx @@ -29,9 +29,9 @@ const NewsItem: React.FC = ({ title = '', time = '', url = '' }) => { // 使用新闻数据渲染列表 const List: React.FC = () => { return ( -
-
-
+
+
+
    {mockNewsData.map((news) => (