Commit 5139233be1afc77861b51b830e587d81523d7bec
1 parent
e7f1cf28
update Carousel
update Carousel
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
assets/iview.png
src/components/carousel/carousel.vue
src/styles/components/carousel.less
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | z-index: 10; |
| 62 | 62 | transform: translateY(-50%); |
| 63 | 63 | |
| 64 | - transition: .3s; | |
| 64 | + transition: @transition-time; | |
| 65 | 65 | background-color: rgba(31, 45, 61, .11); |
| 66 | 66 | color: #fff; |
| 67 | 67 | |
| ... | ... | @@ -158,7 +158,6 @@ |
| 158 | 158 | font-size: 0; |
| 159 | 159 | color: transparent; |
| 160 | 160 | |
| 161 | - -webkit-transition: all .5s; | |
| 162 | 161 | transition: all .5s; |
| 163 | 162 | } |
| 164 | 163 | ... | ... |