From 5139233be1afc77861b51b830e587d81523d7bec Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Wed, 18 Jan 2017 11:49:34 +0800 Subject: [PATCH] update Carousel --- assets/iview.png | Bin 165931 -> 0 bytes src/components/carousel/carousel.vue | 2 +- src/styles/components/carousel.less | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/iview.png b/assets/iview.png index 8bd104f..69890f4 100644 Binary files a/assets/iview.png and b/assets/iview.png differ diff --git a/src/components/carousel/carousel.vue b/src/components/carousel/carousel.vue index dbd4560..34f56aa 100644 --- a/src/components/carousel/carousel.vue +++ b/src/components/carousel/carousel.vue @@ -41,7 +41,7 @@ }, autoplay: { type: Boolean, - default: true + default: false }, autoplaySpeed: { type: Number, diff --git a/src/styles/components/carousel.less b/src/styles/components/carousel.less index 066f12f..d253c43 100644 --- a/src/styles/components/carousel.less +++ b/src/styles/components/carousel.less @@ -61,7 +61,7 @@ z-index: 10; transform: translateY(-50%); - transition: .3s; + transition: @transition-time; background-color: rgba(31, 45, 61, .11); color: #fff; @@ -158,7 +158,6 @@ font-size: 0; color: transparent; - -webkit-transition: all .5s; transition: all .5s; } -- libgit2 0.21.4