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}