Watch 1 Star 0 Fork 0

postbird / vue-slider-component

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
基于 better-scroll 实现移动端 vue 轮播组件 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

vue-slider-component

基于 better-scroll 实现的移动端(PC端也可以) vue 轮播图组件

更新记录

20180404

  • 在 APP.vue增加了 resize 事件监听,会刷新页面。(因为没有在Slider中做窗口的响应)
  • 修复了 自动轮播从最后一张图跳转到第一张图时,currentPageIndex 不更新的问题

在线预览

相关文档:

使用方式


git clone https://github.com/postbird/vue-slider-component.git

# install dependencies
npm install

yarn install

# serve with hot reload at localhost:8080
npm run dev

yarn dev

# build for production with minification
npm run build

yarn build

Comments ( 0 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025