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}:""} {/* 当前用户+配置了贡献确权 */}