滚动的几种重点

获取当前ul距离初始有多长/高

parseInt($("#order ul").css("top"))

animate 滚动

function scroll(){
  $now = parseInt($("#order ul").css("top"))-33;
$("#order ul").animate({top: $now});
}

循环周期 

setInterval(srollUp,2000);
原文地址:https://www.cnblogs.com/wesky/p/3172093.html