Merge branch 'cs_news' into pre_gitlink_server

This commit is contained in:
黄心宇 2023-07-13 15:13:50 +08:00
commit 936cffd4bb
2 changed files with 5 additions and 5 deletions

View File

@ -175,7 +175,7 @@ function HeaderPage(props){
<Link to={`/zone/${deptId}/newdetail/${newsList[0].id}`} className="zone_btn">查看更多<img src={guideArrow} alt="" width="14px" className="ml3"/></Link>
</p>
</div>
<ul className="zone_new_three">
<ul className={ `zone_new_three ${ newsList && (newsList.length < 4) ? 'zone_new_two' : '' }`}>
{
newsList.map((i,k)=>{
return(

View File

@ -171,13 +171,13 @@
background-color:#07a583;
}
}
.zone_new_two {
margin-left: 38%;
}
.zone_new_three{
width: 1200px;
display: flex;
justify-content: flex-end;
margin: 0 auto;
& > div:not(:first-child) {
margin-left: 70px;
margin-left: 50px;
}
li{
background-color: #fff;