diff --git a/cwd-admin/src/styles/components/setting.less b/cwd-admin/src/styles/components/setting.less
index fc33ba2..2e52f6d 100644
--- a/cwd-admin/src/styles/components/setting.less
+++ b/cwd-admin/src/styles/components/setting.less
@@ -90,6 +90,83 @@
box-shadow: 0 0 0 1px rgba(9, 105, 218, 0.2);
}
+.tag-input {
+ padding: 4px 6px;
+ border-radius: 4px;
+ border: 1px solid var(--border-color);
+ background-color: var(--bg-input);
+}
+
+.tag-input-inner {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+}
+
+.tag-input-tag {
+ display: inline-flex;
+ align-items: center;
+ max-width: 100%;
+ padding: 2px 8px;
+ border-radius: 999px;
+ background-color: var(--bg-sider);
+ color: var(--text-primary);
+ font-size: 13px;
+ position: relative;
+}
+
+.tag-input-tag-text {
+ max-width: 180px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.tag-input-tag-remove {
+ border: none;
+ padding: 0;
+ background: none;
+ cursor: pointer;
+ color: var(--text-secondary);
+ font-size: 12px;
+ opacity: 0;
+ visibility: hidden;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ width: 100%;
+ height: 100%;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.tag-input-tag-remove:hover {
+ color: var(--color-danger);
+}
+
+.tag-input-tag:hover .tag-input-tag-text {
+ opacity: 0;
+ visibility: hidden;
+}
+
+.tag-input-tag:hover .tag-input-tag-remove {
+ opacity: 1;
+ visibility: visible;
+}
+
+.tag-input-input {
+ flex: 1;
+ min-width: 120px;
+ border: none;
+ outline: none;
+ background: transparent;
+ padding: 4px 2px;
+ font-size: 14px;
+ color: var(--text-primary);
+}
+
.toast {
position: fixed;
top: 20px;
diff --git a/cwd-admin/src/styles/layout.less b/cwd-admin/src/styles/layout.less
index 3356a2c..ae6c9ee 100644
--- a/cwd-admin/src/styles/layout.less
+++ b/cwd-admin/src/styles/layout.less
@@ -152,6 +152,13 @@
cursor: pointer;
font-size: 15px;
color: var(--text-primary);
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.menu-item-icon {
+ flex: 0 0 auto;
}
.menu-item:hover {
diff --git a/cwd-admin/src/views/LayoutView/index.vue b/cwd-admin/src/views/LayoutView/index.vue
index 0fbcaed..aff4103 100644
--- a/cwd-admin/src/views/LayoutView/index.vue
+++ b/cwd-admin/src/views/LayoutView/index.vue
@@ -83,35 +83,40 @@
:class="{ active: isRouteActive('comments') }"
@click="goComments"
>
- 评论管理
+