From f42a0b7b0a167dac9ce41c8fd320206e0150f1a4 Mon Sep 17 00:00:00 2001 From: anghunk Date: Fri, 30 Jan 2026 23:15:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=BF=E6=8D=A2=E5=86=85=E8=81=94SV?= =?UTF-8?q?G=E4=B8=BAPhosphor=E5=9B=BE=E6=A0=87=E7=BB=84=E4=BB=B6=E5=B9=B6?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A1=8C=E9=AB=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在登录页、布局页和评论页中使用Phosphor图标组件替换内联SVG - 移除登录页中已废弃的.password-toggle svg样式 - 修复评论组件中.cell-status-line的行高问题 - 保持管理员图标的原始内联SVG实现 --- cwd-admin/src/styles/components/comments.less | 1 + cwd-admin/src/styles/components/login.less | 4 -- cwd-admin/src/views/CommentsView/index.vue | 34 ++++++++++----- cwd-admin/src/views/LayoutView/index.vue | 35 +++------------- cwd-admin/src/views/LoginView/index.vue | 42 +------------------ 5 files changed, 31 insertions(+), 85 deletions(-) diff --git a/cwd-admin/src/styles/components/comments.less b/cwd-admin/src/styles/components/comments.less index bb9b5b8..3f7b97c 100644 --- a/cwd-admin/src/styles/components/comments.less +++ b/cwd-admin/src/styles/components/comments.less @@ -259,6 +259,7 @@ align-items: center; justify-content: center; gap: 4px; + line-height: 1; } .cell-pin-flag { diff --git a/cwd-admin/src/styles/components/login.less b/cwd-admin/src/styles/components/login.less index b9097c7..06dcef2 100644 --- a/cwd-admin/src/styles/components/login.less +++ b/cwd-admin/src/styles/components/login.less @@ -112,10 +112,6 @@ color: var(--text-primary); } -.password-toggle svg { - width: 16px; -} - .form-error { font-size: 13px; color: var(--color-danger); diff --git a/cwd-admin/src/views/CommentsView/index.vue b/cwd-admin/src/views/CommentsView/index.vue index f736cc8..595746c 100644 --- a/cwd-admin/src/views/CommentsView/index.vue +++ b/cwd-admin/src/views/CommentsView/index.vue @@ -37,7 +37,27 @@
{{ item.name }} - + + + + + + +