我說怎么代碼都沒錯(cuò)就動(dòng)不了,原來少了個(gè)marginLeft+“px"
2017-10-17
ball.style.marginLeft = marginLeft + 'px',老師沒加這個(gè)‘px’也能跑起來。。。
2017-10-13