行业资讯列表样式修改

This commit is contained in:
bestlee 2025-08-27 15:23:06 +08:00
parent 7395c63dde
commit eac2478d67
2 changed files with 7 additions and 4 deletions

View File

@ -102,17 +102,16 @@ export default {
.title-area {
position: relative;
height: 40px;
margin-top: 80px;
margin-bottom: 45px;
display: flex;
}
.news-title {
width: 90%;
font-size: 30px;
color: #666666;
line-height: 40px;
position: absolute;
left: 0;
}
.news-time {

View File

@ -42,7 +42,6 @@ export default {
.news-grid{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.news-item {
@ -50,7 +49,12 @@ export default {
flex-direction: column;
width: 380px;
cursor: pointer;
margin-right: 35px;
}
.news-item:nth-child(3n){
margin-right: 0;
}
.news-item:nth-child(n+4){
margin-top: 46px;
}