pllibrary
v1.1.7
Published
pl's library
Downloads
4
Readme
pllibrary
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
使用:
引入:import {} from pllibrary
注册components之后使用
# 参数规则
【plSwiper】//轮播图
[params]:
imgList 数组形式传入图片
speed 图片滚动速度
【plScrollList】//列表
[params]:
loading Boolean格式
false:滑倒底部不触发loadMore
true:滑倒底部触发loadMore
[event]:
loadMore:滑倒底部触发
【plNumberScroll】//数字滚动
[params]:
numberVal:number 需要滚动的数字
fontSize: number 字体大小
spaceWidth: number 数字间距
For detailed explanation on how things work, consult the docs for vue-loader.