当前位置:Gxl网 >
APP开发 >
uni-app滚动视图容器(scroll-view)之监听上拉事件
uni-app滚动视图容器(scroll-view)之监听上拉事件
时间:2021-07-01 10:21:17
帮助过:3人阅读
实现
现在要实现一个功能。一个列表,上加载更多数据。页面如下。
其中,scroll为上拉事件的方法,请根据实际情况引用。
methods: {
scroll() {
console.log("加载列表的方法")
}
}
参考网址
- https://uniapp.dcloud.io/component/scroll-view
- https://blog.csdn.net/weixin_45805132/article/details/110927978