From 3f72661411be338a8d086cf400f226003093858b Mon Sep 17 00:00:00 2001 From: jinsir <874871581@qq.com> Date: Thu, 20 Nov 2025 16:51:37 +0800 Subject: [PATCH] =?UTF-8?q?list=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/news/list/NewsList.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/news/list/NewsList.tsx b/app/components/news/list/NewsList.tsx index 955401f..9096912 100644 --- a/app/components/news/list/NewsList.tsx +++ b/app/components/news/list/NewsList.tsx @@ -14,8 +14,8 @@ const NewsItem: React.FC = ({ title = '', time = '', url = '' }) => { onClick={() => url && window.open(url)} // 点击时打开链接 className="flex items-center justify-between hover:text-blue-600 cursor-pointer transition duration-300 ease-in-out" > -

{title}

-

{time}

+

{title}

+

{time}

); @@ -28,7 +28,7 @@ const NewsList: React.FC = () => { const educationNews = mockNewsData.filter((news) => news.type === "教育"); return ( -
+
{/* 使用 Flexbox 将两个列表放在一行 */}
{/* 科技新闻 */} @@ -38,7 +38,7 @@ const NewsList: React.FC = () => {
科技新闻
-
@@ -63,7 +63,7 @@ const NewsList: React.FC = () => {
教育新闻
-