xiaowoniu22 / vue-marquee-tracy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue横向走马灯(有时间扩展成纵向支持)

A Vue.js component

vue横向走马灯可实现获奖名单展示的类似功能

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

vue-marquee-tracy

npm install vue-marquee-tracy --save

Options

参数 类型 默认 备注
tipList Array [] 获奖名单列表
avatar String 组件默认的头像 获奖者头像
width Number 700 获奖名单展示区宽度
distance Number 100 获奖列表item的间距
showAvatar Boolean true 是否展示头像

About


Languages

Language:JavaScript 85.8%Language:Vue 13.1%Language:HTML 1.2%