updated carousel style

This commit is contained in:
Rijn 2017-01-16 17:37:28 -06:00
parent 538b964bf9
commit 90f77e4060
3 changed files with 55 additions and 11 deletions

View file

@ -12,10 +12,11 @@
Speed <Slider :value.sync="autoplaySpeed" :min="300" :max="5000"></Slider>
</i-col>
</Row>
<Carousel style="width: 400px"
<Carousel style="width: 50%; border: solid 1px #000"
:current-index.sync="currentIndex"
:autoplay="autoplay"
:autoplay-speed="autoplaySpeed">
:autoplay-speed="autoplaySpeed"
easing="linear">
<Carousel-item>
<Alert type="warning" show-icon>
警告提示文案
@ -24,7 +25,9 @@
</template>
</Alert>
</Carousel-item>
<Carousel-item>test2</Carousel-item>
<Carousel-item style="text-align: center">
<Icon type="checkmark" style="font-size: 5em"></Icon>
</Carousel-item>
<Carousel-item>test3</Carousel-item>
</Carousel>
</template>