行业资讯列表样式修改
This commit is contained in:
parent
7395c63dde
commit
eac2478d67
|
@ -102,17 +102,16 @@ export default {
|
||||||
|
|
||||||
.title-area {
|
.title-area {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 40px;
|
|
||||||
margin-top: 80px;
|
margin-top: 80px;
|
||||||
margin-bottom: 45px;
|
margin-bottom: 45px;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-title {
|
.news-title {
|
||||||
|
width: 90%;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-time {
|
.news-time {
|
||||||
|
|
|
@ -42,7 +42,6 @@ export default {
|
||||||
.news-grid{
|
.news-grid{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-item {
|
.news-item {
|
||||||
|
@ -50,7 +49,12 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 380px;
|
width: 380px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
margin-right: 35px;
|
||||||
}
|
}
|
||||||
|
.news-item:nth-child(3n){
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.news-item:nth-child(n+4){
|
.news-item:nth-child(n+4){
|
||||||
margin-top: 46px;
|
margin-top: 46px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue