js实现滚动触底加载事件-IJ笔记

js实现滚动触底加载事件

一、html和css 可视区固定500px,设置overflow-y: auto 来实现滚动。 1.1、html <template> <div class='scroll' ref='scroll' @scroll='onScroll'> <div class='crad' v-for='i ...
ZhiIsland的头像-IJ笔记钻石会员ZhiIsland2个月前
06113