2019
<script>
$('.count').each(function() {
$(this).prop('counter', 0).animate({
counter: $(this).text()
}, {
duration: 4000,
easing: 'swing',
step: function(now) {
$(this).text(Math.ceil(now));
}
});
});
script>
0条评论