📅  最后修改于: 2022-03-11 15:02:39.794000             🧑  作者: Mango
$(window).scroll(function (event) {
var scroll = $(window).scrollTop();
if(scroll == 0)
setTimeout(function(){reInitCount();},500);
});
function reInitCount(){
$(".stat-count").each(function() {
$(this).html('0');
count($(this));
});
}