diff --git a/cwd-admin/src/views/CommentsView.vue b/cwd-admin/src/views/CommentsView.vue
index b52888e..9316cec 100644
--- a/cwd-admin/src/views/CommentsView.vue
+++ b/cwd-admin/src/views/CommentsView.vue
@@ -22,7 +22,6 @@
用户
评论信息
评论地址
- 点赞
状态
操作
@@ -70,9 +69,6 @@
>{{ item.postSlug }}
-
- {{ typeof item.likes === "number" && Number.isFinite(item.likes) && item.likes >= 0 ? item.likes : 0 }}
-
@@ -85,6 +81,17 @@
>
置顶
+
+
+ {{
+ typeof item.likes === "number" &&
+ Number.isFinite(item.likes) &&
+ item.likes >= 0
+ ? item.likes
+ : 0
+ }}
@@ -692,7 +699,7 @@ watch(domainFilter, () => {
}
.table-cell-status {
- width: 120px;
+ width: 180px;
flex-shrink: 0;
align-items: center;
}
@@ -765,11 +772,6 @@ watch(domainFilter, () => {
color: #57606a;
}
-.cell-likes-number {
- font-size: 13px;
- color: #57606a;
-}
-
.cell-author-wrapper {
display: flex;
align-items: flex-start;
@@ -795,6 +797,12 @@ watch(domainFilter, () => {
font-weight: 500;
}
+.cell-status-wrapper {
+ display: flex;
+ gap: 5px;
+ white-space: nowrap;
+}
+
.cell-status-approved {
color: #1a7f37;
background-color: #e7f5eb;
@@ -810,6 +818,15 @@ watch(domainFilter, () => {
background-color: #ffebe9;
}
+.cell-likes-number {
+ color: #d1242f;
+ background-color: #ffebe9;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 4px;
+}
+
.cell-pin-flag {
color: #825802;
background-color: #f7c848;