增加用户认证、等级、徽章与积分体系,并优化管理后台体验。

覆盖站长调账与积分解锁内容;后台按审核优先分组导航,仪表盘展示待办,用户管理改为成员目录式布局。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 02:42:18 +08:00
parent b075495540
commit 6b0a1d4281
44 changed files with 4455 additions and 254 deletions

View File

@@ -628,7 +628,7 @@ export default function PostDetailPage() {
: authorInitial}
</UserLink>
<div className="post-detail-author-info">
<UserLink user={post.user} className="post-detail-author-name" />
<UserLink user={post.user} className="post-detail-author-name" showBadges />
<span className="post-detail-meta-line">
{formatDateTime(post.created_at)}
{showEdited && (
@@ -665,8 +665,10 @@ export default function PostDetailPage() {
<PostContent
html={post.content || ''}
isLoggedIn={!!user}
postId={post.id}
onHeadingsChange={handleHeadingsChange}
onRequestReply={scrollToCommentBox}
onUnlocked={() => { void reloadPostContent(); }}
/>
<div className="post-detail-actions">