forked from Gitlink/forgeplus-react
未登录状态下的通知公告列表
This commit is contained in:
parent
aa9e75b4fd
commit
b138d774fc
|
@ -54,6 +54,7 @@ function Notice({ current_user, qzDetail }) {
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu>} placement="bottom" overlayClassName="edit">...</Popover>
|
</Menu>} placement="bottom" overlayClassName="edit">...</Popover>
|
||||||
</div>}
|
</div>}
|
||||||
|
{current_user && !current_user.login && <Link to={`/competition/qz2022/notice/detail/${item.id}`}><div className="notCont_head border">{item.title}</div></Link>}
|
||||||
<Link to={`/competition/qz2022/notice/detail/${item.id}`} className="cont font-15"><RenderHtml className="_1818" value={item.content}/></Link>
|
<Link to={`/competition/qz2022/notice/detail/${item.id}`} className="cont font-15"><RenderHtml className="_1818" value={item.content}/></Link>
|
||||||
<p>{item.updated_at.substring(0,10)}</p>
|
<p>{item.updated_at.substring(0,10)}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -27,10 +27,15 @@
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
||||||
.notCont_head{
|
}
|
||||||
font-weight:bold;
|
.notCont_head{
|
||||||
color:#2e5bfe;
|
font-weight:bold;
|
||||||
cursor: pointer;
|
color:#2e5bfe;
|
||||||
|
cursor: pointer;
|
||||||
|
&.border{
|
||||||
|
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
||||||
|
padding-bottom: 10px;
|
||||||
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>p{
|
>p{
|
||||||
|
|
Loading…
Reference in New Issue