From dc938fdb01254c91f7240a1b76bb13c15203b69d Mon Sep 17 00:00:00 2001 From: tone Date: Sat, 20 Dec 2025 23:18:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=8D=9A=E5=AE=A2?= =?UTF-8?q?=E9=A1=B5=E6=A0=B7=E5=BC=8F=E3=80=81=E8=AF=AD=E4=B9=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(with-header-footer)/blog/[id]/page.tsx | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/apps/frontend/app/(with-header-footer)/blog/[id]/page.tsx b/apps/frontend/app/(with-header-footer)/blog/[id]/page.tsx index 14235e0..d08979f 100644 --- a/apps/frontend/app/(with-header-footer)/blog/[id]/page.tsx +++ b/apps/frontend/app/(with-header-footer)/blog/[id]/page.tsx @@ -59,18 +59,20 @@ export default function Blog() { )} {data && ( - <> -

{data.title}

-

发布于:{new Date(data.createdAt).toLocaleString()}

+
+
+

{data.title}

+ +

, - h2: ({ ...props }) =>

, - h3: ({ ...props }) =>

, - h4: ({ ...props }) =>

, - h5: ({ ...props }) =>

, + h1: ({ ...props }) =>

, + h2: ({ ...props }) =>

, + h3: ({ ...props }) =>

, + h4: ({ ...props }) =>

, + h5: ({ ...props }) =>
, p: ({ ...props }) =>

, img: ({ src }) => ( @@ -89,7 +91,7 @@ export default function Blog() { a: ({ ...props }) => , }} >{data.content} - +

)} {data && (