From 736db7fded4da33ecfb92674d05a9a4e69c0e5f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= Date: Tue, 20 Jan 2026 16:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=BB=E9=A1=B5tab?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E6=9B=B4=E6=94=B9=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/users/Index.scss | 13 +++++++++---- src/forge/users/Infos.js | 6 +++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/forge/users/Index.scss b/src/forge/users/Index.scss index 0a94a5e15..10846cf93 100644 --- a/src/forge/users/Index.scss +++ b/src/forge/users/Index.scss @@ -280,8 +280,6 @@ ul.ant-menu.menuStyle{ padding:0px; margin:0px 30px 0px 0px !important; font-size: 17px; - height: 32px; - line-height: 0px; border-bottom: 2px solid transparent!important; position: relative; a{ @@ -297,9 +295,16 @@ ul.ant-menu.menuStyle{ } } .menuNum{ + margin-left: 5px; font-size: 12px; - margin-left: 3px; - color: #FF6E21; + color: #666; + background-color: hsla(0, 0%, 60%, .13); + border-radius: 50%; + height: 24px; + line-height: 24px; + min-width: 24px; + text-align: center; + padding: 0 5px; } &.ant-menu-item-selected::before{ position: absolute; diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js index 33561f322..d0bd8b358 100644 --- a/src/forge/users/Infos.js +++ b/src/forge/users/Infos.js @@ -391,7 +391,7 @@ class Infos extends Component { 参与项目 - { user && user.user_projects_count > 0 ? ({user.user_projects_count}) :"" } + { user && user.user_projects_count > 0 ? {user.user_projects_count} :"" } { @@ -399,7 +399,7 @@ class Infos extends Component { 待办事项 - {undo_events && undo_events >0 ? ({undo_events}):""} + {undo_events && undo_events >0 ? {undo_events}:""} :"" } @@ -411,7 +411,7 @@ class Infos extends Component { 参与组织 - { user && user.user_org_count && user.user_org_count > 0 ? ({user.user_org_count}):""} + { user && user.user_org_count && user.user_org_count > 0 ? {user.user_org_count}:""} {/* 当前用户+配置了贡献确权 */}