1、实现滚动到底部加载数据的效果
查看官网组件详情https://uniapp.dcloud.io/component/scroll-view
<swiper>
<swiper-item>
<scroll-view scroll-y="true" enable-back-to-top="true" @scrolltolower="scrollToLower">
<view></view>
</scroll-view>
</swiper-item>
</swiper>
export default{
data(){
return{
}
},
methods:{
scrollToLower:function(){
//滑到底部加载
}
}
}