vue插件vue-srcoll的使用方法 <vue-scroll :ops="ops"> 这里面是要滚动的部分 </vue-scroll> 在data里定义 ops: { bar: { //这里的bar是配置属性 background: '#495060', //这个是滚动条的背景颜色 } }