JS动画封装 简单的运动函数var demo1=document.getElementById("demo1"); demo1.onmouseover=function(){ startMove(0); } demo1.onmouseout=function(){ startMove(-320); }var timer//全局变量function javascript 2023-09-20 49 点赞 0 评论 74 浏览