From ffe555078e9e8149d9608006531d86480f4ecb78 Mon Sep 17 00:00:00 2001 From: jinsir <874871581@qq.com> Date: Thu, 20 Nov 2025 15:24:41 +0800 Subject: [PATCH] =?UTF-8?q?list=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/news/list/List.tsx | 6 +++--- app/components/news/list/NewsList.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/news/list/List.tsx b/app/components/news/list/List.tsx index b830a2f..aea2e69 100644 --- a/app/components/news/list/List.tsx +++ b/app/components/news/list/List.tsx @@ -14,16 +14,16 @@ const NewsItem: React.FC = ({ title = '', time = '', url = '' }) => {
url && window.open(url)} - className="flex items-center justify-between hover:text-blue-600 cursor-pointer transition duration-300 ease-in-out" + className="flex items-center justify-between cursor-pointer transition duration-300 ease-in-out" > {/* 标题部分:左侧 */}
-

{title}

+

{title}

{/* 时间部分:右侧 */} -

{time}

+

{time}

); diff --git a/app/components/news/list/NewsList.tsx b/app/components/news/list/NewsList.tsx index 0031a89..c5757a4 100644 --- a/app/components/news/list/NewsList.tsx +++ b/app/components/news/list/NewsList.tsx @@ -14,7 +14,7 @@ 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}

+

{title}

{time}