Merge branch 'develop'

This commit is contained in:
caishi 2021-04-23 14:47:50 +08:00
commit 20ab8a6683
2 changed files with 8 additions and 8 deletions

View File

@ -174,7 +174,7 @@ li.ant-menu-item{
}
.menuinfos{
padding:15px 0px;
li{
&>a{
display: flex;
flex-direction: column;
align-items: center;

View File

@ -60,18 +60,18 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){
}
</FlexAJ>
<AlignCenter className="menuinfos">
<li>
<a href={data.projects_url}>
<span>{data.projects_count}</span>
<span>项目数</span>
</li>
<li>
</a>
<a href={data.followers_url}>
<span>{data.followers_count}</span>
<span>粉丝数</span>
</li>
<li>
</a>
<a href={data.following_url}>
<span>{data.following_count}</span>
<span>关注数</span>
</li>
</a>
</AlignCenter>
{
data.organizations && data.organizations.length > 0 ?
@ -145,7 +145,7 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){
total > 0 ?
list.map((item,key)=>{
return(
<Popover content={menu} visible={item.visible} overlayClassName="menuPanels" placement="bottom">
<Popover content={menu} visible={item.visible} overlayClassName="menuPanels" placement="top">
<Link key={key} to={`/users/${item.login}`}>
<img src={getImageUrl(`/${item.image_url}`)} alt="" onMouseOver={()=>setVisibleFunc(true,item.login,key)}/>
</Link>