$(window).scroll(function() {
    var scrollTop = $(this).scrollTop();
var scrollHeight = $(document).height();
   var windowHeight = $(this).height(); var positionValue = (scrollTop + windowHeight) - scrollHeight; if (positionValue >= 0) { //执行ajax,获取数据 } });

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-09-27
猜你喜欢
  • 2022-01-13
  • 2021-11-04
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
相关资源
相似解决方案