Commit 089148e9bb094fef70b8284a4b0e071b1c06faca
1 parent
e9e3037a
样式优化
Showing
1 changed file
with
2 additions
and
2 deletions
src/pages/index/index.less
| @@ -23,14 +23,14 @@ | @@ -23,14 +23,14 @@ | ||
| 23 | height: 270px; | 23 | height: 270px; |
| 24 | background: #bd3325 url("https://wjj.ys2.cnliveimg.com/769/shop/img/2019/12/30/5e09569023de1.jpg") no-repeat center top; | 24 | background: #bd3325 url("https://wjj.ys2.cnliveimg.com/769/shop/img/2019/12/30/5e09569023de1.jpg") no-repeat center top; |
| 25 | background-size: 100%; | 25 | background-size: 100%; |
| 26 | - margin:123px 35px 0 35px; | 26 | + margin:123px auto 0 auto; |
| 27 | } | 27 | } |
| 28 | div:nth-child(2){ | 28 | div:nth-child(2){ |
| 29 | width: 670px; | 29 | width: 670px; |
| 30 | height: 270px; | 30 | height: 270px; |
| 31 | background: #bd3325 url("https://wjj.ys2.cnliveimg.com/769/shop/img/2019/12/30/5e09569005f14.jpg") no-repeat center top; | 31 | background: #bd3325 url("https://wjj.ys2.cnliveimg.com/769/shop/img/2019/12/30/5e09569005f14.jpg") no-repeat center top; |
| 32 | background-size: 100%; | 32 | background-size: 100%; |
| 33 | - margin:22px 35px 0 35px; | 33 | + margin:22px auto 0 auto; |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | .video1_poster{ | 36 | .video1_poster{ |