Commit 6c07ae393951077e76bc5345df07832d417a9d9a
1 parent
fdc6447e
样式优化
Showing
1 changed file
with
6 additions
and
6 deletions
src/components/swiperItem/swiperItem.less
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | overflow: hidden; | 8 | overflow: hidden; |
| 9 | .swipe { | 9 | .swipe { |
| 10 | margin: 0 auto; | 10 | margin: 0 auto; |
| 11 | - max-width: 670px; | 11 | + max-width: 700px; |
| 12 | height: 100%; | 12 | height: 100%; |
| 13 | .swipe-item { | 13 | .swipe-item { |
| 14 | width: 100%; | 14 | width: 100%; |
| @@ -21,12 +21,12 @@ | @@ -21,12 +21,12 @@ | ||
| 21 | flex-wrap: wrap; | 21 | flex-wrap: wrap; |
| 22 | justify-content: flex-start; | 22 | justify-content: flex-start; |
| 23 | .item{ | 23 | .item{ |
| 24 | - width:90px; | ||
| 25 | - margin:40px 26px 0 26px; | 24 | + width:120px; |
| 25 | + margin:40px 11.5px 0 11.5px; | ||
| 26 | img{ | 26 | img{ |
| 27 | - width:90px; | ||
| 28 | - height: 90px; | ||
| 29 | - border-radius: 90px; | 27 | + width:120px; |
| 28 | + height: 120px; | ||
| 29 | + border-radius: 120px; | ||
| 30 | } | 30 | } |
| 31 | div{ | 31 | div{ |
| 32 | height:30px; | 32 | height:30px; |