摘要: 原文链接:https://segmentfault.com/a/1190000009404727 阅读全文
posted @ 2018-04-24 15:40 wjw_Dream 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1、当webstrom 热更新不灵活时,在“File” >> "Settings" >> "Appearance & Behavior" >> "system settings"中,勾掉synchornization以下的最后一项即可(禁止自动保存); 2、npm run build之后文件引入的路 阅读全文
posted @ 2018-04-24 15:30 wjw_Dream 阅读(191) 评论(0) 推荐(0) 编辑
摘要: index.ejs 阅读全文
posted @ 2018-04-24 15:13 wjw_Dream 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 淘宝css初始化 body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; } body, button, input, ... 阅读全文
posted @ 2018-04-24 14:59 wjw_Dream 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 在源码中 ctrl+F 查找 this.inIframe() 将"amcharts.com" != b中的 != 改成 ==,即可完成去除JS chart by amCharts操作。 阅读全文
posted @ 2018-04-24 14:58 wjw_Dream 阅读(830) 评论(0) 推荐(0) 编辑
摘要: css .mmd-waves{ box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); border-radius: 3px; display: inline-block; outline:none; borde 阅读全文
posted @ 2018-04-24 14:53 wjw_Dream 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 首先上两张图,对比一下 鼠标未经过和鼠标悬浮的效果 中间还有动画效果,要自己看效果才能体会了,下面上代码 阅读全文
posted @ 2018-04-24 14:31 wjw_Dream 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 记录一下自己写前端整理下来的一些笔记。 1、数组去重 2、双向绑定(面试常考) 3、平稳滑动到页面顶部 $("a[href='#top']").click(function() { $("html, body").animate({ scrollTop: 0 }, "slow"); return f 阅读全文
posted @ 2018-04-24 14:09 wjw_Dream 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 注意:引用cyberplayer.js时,同文件下记得要有cyberplayer.flash.swf文件,这两个文件官网都可以下载到。放在同文件下会自行找到cyberplayer.flash.swf,无需再次引用。 另:cyberplayer.js和cyberplayer.flash.swf,要放在 阅读全文
posted @ 2017-03-03 08:57 wjw_Dream 阅读(19835) 评论(0) 推荐(0) 编辑
摘要: var weekArray = ['周一'、'周二'、'周三'、'周四'、'周五']存:localStorage.setItem('weekDay',JSON.stringify(weekArray));取: weekArray = JSON.parse(localStorage.getItem(' 阅读全文
posted @ 2017-03-02 16:48 wjw_Dream 阅读(30564) 评论(0) 推荐(3) 编辑