+
+
+ {pending && (isAuthor || isAdmin) ? (
+
+
+
+ 等待人工复核
+ {" — "}内容暂时仅你和管理员可见。具体进度可在
+ 通知页面
+ 查看。
+
+
+
+ ) : null}
+
+ {rejected && (isAuthor || isAdmin) ? (
+
+
+
+ 未通过审核。
+ 查看通知详情。
+
+
+
+ ) : null}
+
+ {hidden && (isAuthor || isAdmin) ? (
+
+
+ 该帖已被管理员或 AI 审核隐藏。
+
+
+ ) : null}
+
+ {draft && isAuthor ? (
+
+
+
+ 草稿 — 只有你能看到。
+ 继续编辑
+
+
+
+ ) : null}
+
+
+
+ {tags.length > 0 ? (
+ tags.map((t) => (
+
+ {TAG_LABEL[t] ?? t}
+
+ ))
+ ) : (
+ 动态
+ )}
+ {post.section === "MEDICAL" && post.hospital ? (
+ {post.hospital}
+ ) : null}
+
+ {post.title}
+
+
+ {post.author_name}
+
+ · {relativeTime(new Date(post.created_at))}
+ {user && !isAuthor ? (
+
+ ) : null}
+
+
+
+ {post.body}
+
+
+
+
+ {user ? (
+ <>
+
+
+ >
+ ) : null}
+
+ {!isAuthor && user ? (
+
+ ) : null}
+ {(isAuthor || isAdmin) ? (
+ <>
+
+
+ >
+ ) : null}
+
+
+
+ {post.status === "PUBLISHED" ?
: null}
+
+ );
+}
+
+export default function PostDetailPageClient() {
+ return (
+