cscroll npm install --save cscroll import CScroll from 'cscroll'CScroll.attach({ el:'#id', //滚动容器 elastic: true //是否启用边界回弹效果});