# vue-multi-row-scroll
**Repository Path**: xiaokar/vue-multi-row-scroll
## Basic Information
- **Project Name**: vue-multi-row-scroll
- **Description**: 手写开源的vue多行滚动组件,npm地址:https://www.npmjs.com/package/vue-multi-row-scroll
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://www.npmjs.com/package/vue-multi-row-scroll
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 1
- **Created**: 2023-11-13
- **Last Updated**: 2024-05-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# vue-multi-row-scroll
> 基于 Vue2 的多行滚动组件
Demo:https://xiaokar.gitee.io/vue-multi-row-scroll
## Preview

## Install
```
npm install vue-multi-row-scroll
```
## Usage
```
vue多行滚动
```
## Attributes
| 参数 | 说明 | 类型 | 格式/案例 | 默认值 | 必须 |
| -------------- | ------------------------------------------------------------ | ------- | ------------------------------------------- | ------ | ----- |
| screenObj | 屏幕宽高变化自适应,使用父组件传入的方式防止多组件时监听冲突 | Object | {width:0,height:0} | {} | false |
| propScrollList | 需要显示的图片对象数组 | Object | {key1:[['img1','img2']],key2:[['img1','img2']]} | {} | true |
| reversalArr | 需要反向滚动的数组(对象key String) | Array | [key1,key2] | [] | false |
| speed | 滚动速度(数值越小速度越快,建议1-100) | Number | 10 | 10 | false |
| imgWidth | 图片宽度(可自己外部实现适配,会在原基础上自动增加左右各8px的边距) | Number | clientWidth/2/3 | 200 | false |
| isHoverStop | 是否鼠标移入暂停 | Boolean | true | true | false |
## 完整案例参考
```
vue多行滚动
```
## 讨论与反馈
QQ:8048117423
作者:xiaokar
博客:https://xiaokar.gitee.io
如有问题可以给本项目 [提交 issue](https://gitee.com/xiaokar/vue-multi-row-scroll/issues)
如果vue-multi-row-scroll帮助到了你,欢迎 [star](https://gitee.com/xiaokar/vue-multi-row-scroll),你的 star 是我改 BUG 的动力 ヾ(*ゝω・*)ノ