08 2017 档案

摘要:window.onload = function() { var oneClick = function() { alert("第一个事件"); }; var twoClick = function() { alert("第二个事件"); }; var threeClick = function() 阅读全文
posted @ 2017-08-31 16:15 ermao的博客 阅读(191) 评论(0) 推荐(0)
摘要:页面跳转,cookie存储参数 1,设置cookie function setCookie(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days*24*60*60*1000); docu 阅读全文
posted @ 2017-08-31 15:17 ermao的博客 阅读(245) 评论(0) 推荐(0)
摘要:<script type="text/javascript"> function Car(color, doors, wheels) { //创建一个类 this.color = color; //类属性 this.doors = doors; this.wheels = wheels; this. 阅读全文
posted @ 2017-08-31 14:59 ermao的博客 阅读(215) 评论(0) 推荐(0)
摘要:极坐标图 HTML: <div id="eChart"></div> css: #eChart{ width:500px; height:500px; } js: /*渲染echart表格 */ function echart(redData, blueData, yellowData, clock 阅读全文
posted @ 2017-08-04 18:14 ermao的博客 阅读(23684) 评论(0) 推荐(0)
摘要:Vue生成日历,根据返回值将日期标红 HTML: <h1>CSS 日历</h1> <div id="calendar"> <div class="month"> <ul> <!-- <li class="arrow" @click="pickPre(currentYear,currentMonth) 阅读全文
posted @ 2017-08-04 17:56 ermao的博客 阅读(363) 评论(0) 推荐(0)