This commit is contained in:
caishi 2023-07-13 15:45:40 +08:00
commit e6a2710afe
2 changed files with 7 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

@ -172,12 +172,10 @@
}
}
.zone_new_three{
width: 1200px;
display: flex;
justify-content: flex-end;
margin: 0 auto;
justify-content: space-evenly;
& > div:not(:first-child) {
margin-left: 70px;
margin-left: 50px;
}
li{
background-color: #fff;
@ -206,6 +204,10 @@
}
}
}
.zone_new_two {
margin-left: 38%;
justify-content: flex-start;
}
}
.zone_projects{
background-image:linear-gradient(180deg,#f1f4fa 0%,#ffffff 100%);