forked from Gitlink/forgeplus-react
Change ForumUser Page
This commit is contained in:
parent
7b097149eb
commit
5992e83c60
|
@ -18,7 +18,10 @@ function head_user({ UserInfo }) {
|
|||
<DivInline>
|
||||
<HeadTab className="fl">
|
||||
<span>粉丝</span>
|
||||
<a href={`/users/${UserInfo && UserInfo.login}/user_fanslist`}>
|
||||
{/* <a href={`/users/${UserInfo && UserInfo.login}/user_fanslist`}>
|
||||
{fansCount <= 0 ? UserInfo && UserInfo.fans_count : fansCount}
|
||||
</a> */}
|
||||
<a href="javascript:void(0)">
|
||||
{fansCount <= 0 ? UserInfo && UserInfo.fans_count : fansCount}
|
||||
</a>
|
||||
</HeadTab>
|
||||
|
@ -32,9 +35,12 @@ function head_user({ UserInfo }) {
|
|||
)}
|
||||
<HeadTab className="fr">
|
||||
<span>关注</span>
|
||||
<a href={`/users/${UserInfo && UserInfo.login}/user_watchlist`}>
|
||||
<a href="javascript:void(0)">
|
||||
{UserInfo && UserInfo.stars_count}
|
||||
</a>
|
||||
{/* <a href={`/users/${UserInfo && UserInfo.login}/user_watchlist`}>
|
||||
{UserInfo && UserInfo.stars_count}
|
||||
</a> */}
|
||||
</HeadTab>
|
||||
<ShowName>{UserInfo && UserInfo.username}</ShowName>
|
||||
</DivInline>
|
||||
|
|
|
@ -38,7 +38,7 @@ function user_menu({ is_current_user, login, props }) {
|
|||
{is_current_user && (
|
||||
<Menu.Item key="interesting">{show_name}感兴趣的论坛</Menu.Item>
|
||||
)}
|
||||
{is_current_user && <Menu.Item key="blocks">黑名单</Menu.Item>}
|
||||
{/* {is_current_user && <Menu.Item key="blocks">黑名单</Menu.Item>} */}
|
||||
</Menu>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -84,7 +84,8 @@ function user_avatar({ avatar, is_current_user, user_id, login }) {
|
|||
onMouseLeave={() => setIsHover(isClick)}
|
||||
>
|
||||
<Avatar size={109} src={getUrl(userAvatar)} />
|
||||
{is_current_user && (isHover || isClick) && (
|
||||
{/* is_current_user && (isHover || isClick) */}
|
||||
{false && (
|
||||
<HeadPhotoHover onClick={() => setIsClick(true)}>
|
||||
<ImgCrop rotate>
|
||||
<Upload
|
||||
|
|
|
@ -26,7 +26,7 @@ function user_identify({ user_info }) {
|
|||
{user_info.identify && user_info.identify !== "学生" && (
|
||||
<IdentifyName>{user_info.identify}</IdentifyName>
|
||||
)}
|
||||
<Tooltip
|
||||
{/* <Tooltip
|
||||
title={
|
||||
user_info.authentication
|
||||
? "已实名认证"
|
||||
|
@ -99,7 +99,7 @@ function user_identify({ user_info }) {
|
|||
>
|
||||
<img src={user_info.bind_email ? autoMailed : autoMail}></img>
|
||||
</IdentifyA>
|
||||
</Tooltip>
|
||||
</Tooltip> */}
|
||||
</GridItem5>
|
||||
</DivInline>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue