动画函数(很重要) function animate(obj, target, callback) { clearInterval(obj.timer); obj.timer = setInterval(function () { if (obj.offsetLeft == target) { clearInterval(obj.timer); } var step = (target... Other 2023-09-20 64 点赞 0 评论 96 浏览