打印/下载
Vue案例

引入

import {Swipe,SwipeItem} from 'vue-swipe'
import 'vue-swipe/dist/vue-swipe.css'

Html

<swipe :loop="true" style="height: 100px;">
  <swipe-item>Slide 1</swipe-item>
  <swipe-item>Slide 2</swipe-item>
  <swipe-item>Slide 3</swipe-item>
  <swipe-item>Slide 4</swipe-item>
  <swipe-item>Slide 5</swipe-item>
</swipe>

JavaScript

export default {
  components: {Swipe,SwipeItem},
}

参数

https://github.com/ElemeFE/vue-swipe

{{copy}}