feat: 走心评论(精选评论)+ 移动端评论框底栏布局修复

- 底栏:≤480px 压缩按钮内边距,SE 等小屏单行放下;换行时按钮组右对齐
- Worker:comments 加 is_featured;PUT /comments/:id 支持切换;新增公开接口
  GET /api/v2/featured/comments(排除悄悄话/待审/已删,服务端渲染 markdown)
- 前端:评论区注入「精选」按钮(回复右侧,仅管理员可见)
- 关于页:走心评论板块(标题寄语通栏 + 卡片瀑布流),排在热力图上方
This commit is contained in:
zqlit committed 2026-10-05 12:08:33 +08:00
1 parent 2c83cd641b
commit 8a6c291a8a
10 files changed
+409 -2

No files matched your search

+1
View File
@@ -56,6 +56,7 @@ router.post('/comments', C.createComment);
router.get('/comments/:id', C.getComment);
router.put('/comments/:id', C.updateComment);
router.del('/comments/:id', C.deleteComment);
router.get('/featured/comments', C.listFeaturedComments);
// ---------------------------------------------------------------- 投票 / 浏览量
// ★ 投票:Artalk 客户端把「方向」编进 target_name(comment_up / comment_down /