摘要: 抄来的 <script> (function(win) { var doc = win.document var docEl = doc.documentElement var tid doc.body.addEventListener('touchstart', function () {}) f 阅读全文
posted @ 2021-01-29 15:56 chchchc 阅读(605) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/80952d0fd5d4 阅读全文
posted @ 2020-12-30 09:56 chchchc 阅读(237) 评论(0) 推荐(0)
摘要: 转载来自: https://www.cnblogs.com/liuliu-hai/p/8005675.html 如果要去掉严格模式: https://www.cnblogs.com/alone2015/p/6734772.html 更多操作: http://www.ruanyifeng.com/bl 阅读全文
posted @ 2020-11-24 18:06 chchchc 阅读(273) 评论(0) 推荐(0)
摘要: 1.module: https://www.cnblogs.com/wanqingcui/p/10768699.html http://caibaojian.com/es6/module.html 2.class: 3.promise: 4.ES6新特性可随便看看 https://www.jians 阅读全文
posted @ 2020-11-10 17:09 chchchc 阅读(399) 评论(0) 推荐(0)
摘要: jQuery点击事件绑定onClick和on() 一、静态绑定(1)onclick方法jsp代码 <button href="javascript:;" class="weui_btn weui_btn_mini weui_btn_default" onClick = "audit('{{info. 阅读全文
posted @ 2020-10-28 15:38 chchchc 阅读(714) 评论(0) 推荐(0)
摘要: 转载原文章:https://www.cnblogs.com/liugang-vip/p/5616484.html js中的事件委托或是事件代理详解 起因: 1、这是前端面试的经典题型,要去找工作的小伙伴看看还是有帮助的; 2、其实我一直都没弄明白,写这个一是为了备忘,二是给其他的知其然不知其所以然的 阅读全文
posted @ 2020-10-21 17:39 chchchc 阅读(229) 评论(0) 推荐(1)
摘要: var data = [ { "StepName":"送拟稿部门初审", "Label":"送拟稿部门初审", "NeedUser":true, "AllowSelect":true, "AllowFree":false, "OnlySingleSel":false, "AutoSelectAll" 阅读全文
posted @ 2020-04-25 17:20 chchchc 阅读(389) 评论(0) 推荐(0)
摘要: 用window.onload 裹住 在document.addEventListener调用 阅读全文
posted @ 2020-04-25 15:45 chchchc 阅读(171) 评论(0) 推荐(0)
摘要: 红色区域块 会在页面滑动的时候 被撑走 导致这一片页面空白 在滑动的页面 加入 $(".content").css('overflow','inherit'); //先把他固定 setTimeout(function(){ $(".content").css('overflow','auto'); 阅读全文
posted @ 2020-04-25 15:35 chchchc 阅读(520) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-04-20 23:02 chchchc 阅读(863) 评论(0) 推荐(0)