纵向滚动组件
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200724104404210.gif)
使用说明
npm i notice-bar -S
import noticeBar from 'notice-bar'
export default {
components: {
noticeBar,
},
}
<notice-bar />
属性说明
参数 | 说明 | 类型 | 默认值 |
---|
noticeBarList | 消息数组 | Array | [] |
speed | 速度(毫秒) | Number | 2000 |
height | 高度(px) | Number | 40 |
background | 背景色 | String | #fff |
color | 字体颜色 | String | #000 |