行业资讯列表样式修改
This commit is contained in:
parent
7395c63dde
commit
eac2478d67
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue