Commit 8883f31efacb99df2718aada218f53c818d504a6
1 parent
037bd507
购好物,首页,无Banner时,其它频道上边距控制为0,如果有Banner时,其它频道上边距为30PX
Showing
1 changed file
with
10 additions
and
1 deletions
src/pages/optimization2/optimization2.less
| @@ -55,13 +55,22 @@ | @@ -55,13 +55,22 @@ | ||
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | } | 57 | } |
| 58 | + & + .page-list { | ||
| 59 | + background-color: transparent; | ||
| 60 | + margin-bottom: 0; | ||
| 61 | + /deep/ .icon-swiper-box { | ||
| 62 | + .swipe-item { | ||
| 63 | + margin: 30px auto 0 auto; | ||
| 64 | + } | ||
| 65 | + } | ||
| 66 | + } | ||
| 58 | } | 67 | } |
| 59 | &.page-list { | 68 | &.page-list { |
| 60 | background-color: transparent; | 69 | background-color: transparent; |
| 61 | margin-bottom: 0; | 70 | margin-bottom: 0; |
| 62 | /deep/ .icon-swiper-box { | 71 | /deep/ .icon-swiper-box { |
| 63 | .swipe-item { | 72 | .swipe-item { |
| 64 | - margin: 30px auto 0 auto; | 73 | + margin: 0 auto 0 auto; |
| 65 | .icons-com { | 74 | .icons-com { |
| 66 | .title { | 75 | .title { |
| 67 | color: #444; | 76 | color: #444; |