diff --git a/internal/controller/admin/admin_comment_controller.go b/internal/controller/admin/admin_comment_controller.go index 75f6d09..9957df1 100644 --- a/internal/controller/admin/admin_comment_controller.go +++ b/internal/controller/admin/admin_comment_controller.go @@ -23,7 +23,9 @@ func NewAdminCommentController(cs adminCommentUseCase) *AdminCommentController { // CommentsPage SSR 页面 func (ctrl *AdminCommentController) CommentsPage(c *gin.Context) { c.HTML(http.StatusOK, "admin/comments/index.html", common.BuildAdminPageData(c, gin.H{ - "Title": "评论管理", + "Title": "评论管理", + "ExtraCSS": "/admin/static/css/comments.css", + "ExtraJS": "/admin/static/js/comments.js", })) } diff --git a/templates/admin/html/audit/index.html b/templates/admin/html/audit/index.html index 88ad90b..6da40cc 100644 --- a/templates/admin/html/audit/index.html +++ b/templates/admin/html/audit/index.html @@ -86,7 +86,7 @@ -
请填写拒绝理由:
diff --git a/templates/admin/html/comments/index.html b/templates/admin/html/comments/index.html index 63bc8f5..d4ef02f 100644 --- a/templates/admin/html/comments/index.html +++ b/templates/admin/html/comments/index.html @@ -7,19 +7,19 @@| ID | -作者 | +ID | +作者 | 评论内容 | -所属文章 | -时间 | -操作 | +所属文章 | +时间 | +操作 |
|---|---|---|---|---|---|---|---|---|---|---|
| 暂无评论 | ||||||||||
| 暂无评论 | ||||||||||
| 加载失败 | ||||||||||
| 加载失败 | ||||||||||