12
摘要: function dateCover(str) { let isDate = new Date( + str); let year = isDate.getFullYear(); let monthGet = (isDate.getMonth() + 1); let month = monthGet 阅读全文
posted @ 2017-08-22 18:07 那片海岸 阅读(222) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title> 简单的日历 </title> </head> <style rel="stylesheet" type="text/css"> .td_xq{ text-align:center; 阅读全文
posted @ 2017-08-22 17:56 那片海岸 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 1.音乐的启动跟暂停 dom里面图片切换的另一种方法 通过变量 改变路径 2.监听 在onload里面 3.定义了一个全局变量 然后在但页面中获取 app.js 单页面中 app.js 的三个生命周期 阅读全文
posted @ 2017-08-22 11:12 那片海岸 阅读(119) 评论(0) 推荐(0) 编辑