主要属性: handleScrollToLower
<template> <view class="menu"> <scroll-view id="scrollContainer" class="scroll" scroll-y @scrolltolower="handleScrollToLower" > <view class="item">1</view> <view class="item">2</view> <view class="item">3</view> <view class="item">4</view> <view class="item">5</view> </scroll-view> </view> </template> <script> export default { data() { return { } }, methods: { handleScrollToLower(){ console.log('已经滚动到底部了'); } } } </script> <style scoped> .item { height: 300rpx; width: 100%; background-color: beige; border-bottom: 5rpx solid orange; } .scroll{ height: 770rpx; } </style>
标签:uniapp,滚动,height,handleScrollToLower,监听,页面 From: https://www.cnblogs.com/500m/p/17689315.html