优化样式

This commit is contained in:
谢思 2023-09-22 11:40:06 +08:00
parent 7a8bcac160
commit 0b0dcb9eda
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ function NewsDetail(props){
<ul className="i_ul_value">
{ cmsDir && <li><a href={ detail.publishUserUrl } ><img src={ detail.publishUserImage } alt="" className="headimg" /> { detail.publishUserNickname }</a></li> }
{ cmsDir && <li>{ detail.isFirstPublish ? '创建于' : '更新于' }{detail.publishTime}</li> }
{ detail.visits && <li><img src={liulan} alt="" className="mr5" />{detail.visits}</li> }
{ !!detail.visits && <li><img src={liulan} alt="" className="mr5" />{detail.visits}</li> }
{ detail.auditStatus === '2' && <li><Badge color={temp === "zone" ? "#466aff" : "#089f7f"} text="待审核" className='pass'/></li>}
{ detail.auditStatus === '0' && <li><Badge color="#eb1212" text="未通过" className='failed'/></li>}
</ul>

View File

@ -574,7 +574,7 @@
align-items: center;
height: 20px;
overflow: visible;
color: #466aff;
color: var(--primary-color);
}
.headimg {
width: 26px;