BetterScroll官方文档链接 首先在你的vue项目中安装BetterScroll npm install @better-scroll/core --save 在想要使用BetterScroll的文件中引入 import BScroll from '@better-scroll/core' 基本使用 <div class="content" ref="scroll">