摘要: function step(A,B,rate,callback){ A = A + (B - A) / (rate || 2); if(Math.abs(A-B) < 1){ callback(B); return; } callback(A); setTimeout(function(){step(A,B... 阅读全文
posted @ 2017-02-10 15:11 LJ9197 阅读(240) 评论(0) 推荐(0) 编辑