第一次测试

可是大家爱看的

 1 function Youxi() {
 2         this.main = document.getElementById('main');
 3         this.move = function () {
 4             var tops = parseInt(getComputedStyle(main)['top']);
 5             if (tops >= 0) {
 6                 // 创建一行div,放到main的第一个孩子的前面
 7                 console.log(this.cRow());
 8             }
 9             main.style.top = tops + 1 + 'px';
10         }

电视剧啊肯德基

猜你喜欢

转载自www.cnblogs.com/shenzhenmalu/p/9590250.html