$(function () {
var top = 0;
$(".wrap").on('scroll',function () {
var _top = $(this).scrollTop();
if (_top>top) {
$(".footer").css({bottom:'-.98rem'});
}else{
$(".footer").css({bottom:'0'});
}
top = _top;
});
}); 

相关文章:

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