forked from Gitlink/forgeplus-react
未登录状态下的通知公告列表
This commit is contained in:
parent
0aec942c75
commit
b4edd42197
|
@ -54,6 +54,7 @@ function Notice({ current_user, qzDetail }) {
|
|||
</Menu.Item>
|
||||
</Menu>} placement="bottom" overlayClassName="edit">...</Popover>
|
||||
</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>
|
||||
<p>{item.updated_at.substring(0,10)}</p>
|
||||
</div>
|
||||
|
|
|
@ -26,10 +26,15 @@
|
|||
padding-bottom: 10px;
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
||||
.notCont_head{
|
||||
font-weight:bold;
|
||||
color:#2e5bfe;
|
||||
cursor: pointer;
|
||||
}
|
||||
.notCont_head{
|
||||
font-weight:bold;
|
||||
color:#2e5bfe;
|
||||
cursor: pointer;
|
||||
&.border{
|
||||
border-bottom: 1px solid rgba(153, 153, 153, 0.2);
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
>p{
|
||||
|
|
Loading…
Reference in New Issue