一、介绍
- iScroll用来模拟移动端滚动效果的一个插件,通俗点说就是局部内容滚动会有丑陋的滚动条,使用此插件可以有效的美化。
- better-scroll 是一个移动端滚动的解决方案,它是基于 iscroll 的重写,better-scroll 也很强大,不仅可以做普通的滚动列表,还可以做轮播图、picker 等等。
二、使用
官方地址:
iScroll官方文档:
http://caibaojian.com/iscroll-5/gettingstart.html
iScroll示例地址:
https://github.com/cubiq
better-scroll官方文档:
https://better-scroll.github.io/docs/zh-CN/guide/
better-scroll示例地址:
https://better-scroll.github.io/examples/#/
参考用法:
iscroll参考文章:
https://juejin.cn/post/6844903847941390349
better-scroll参考文章:
https://zhuanlan.zhihu.com/p/27407024