动画函数(很重要) 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 65 点赞 0 评论 98 浏览