摘要: H5的video标签不能直接在vue里使用,需要安装其他插件,vue-video-player。 官网如下: https://www.npmjs.com/package/vue-video-player 简介: https://segmentfault.com/a/1190000007474673 阅读全文
posted @ 2017-11-25 22:05 dontes 阅读(13696) 评论(0) 推荐(0) 编辑
摘要: 问题距离 window.onload = function(){ var box = document.getElementById("box"); var num = 0; for(var i=0;i<10;i++){ box.onclick = function(){ console.log(i 阅读全文
posted @ 2017-11-25 11:58 dontes 阅读(271) 评论(0) 推荐(0) 编辑
摘要: window.onload = function(){ var box = document.getElementById("box"); var num = 0; for(var i=0;i<10;i++){ box.onclick = function(){ console.log(i); // 阅读全文
posted @ 2017-11-25 11:57 dontes 阅读(182) 评论(0) 推荐(0) 编辑
摘要: $(".navigation").children().eq(0).click(function() { $("html, body").animate({scrollTop: $(".footer").offset().top }, {duration: 500,easing: "swing"}) 阅读全文
posted @ 2017-11-25 10:32 dontes 阅读(526) 评论(0) 推荐(0) 编辑