05 2019 档案

摘要:encodeURI方法不会对下列字符编码 ASCII字母、数字、~!@#$&*()=:/,;?+' encodeURIComponent方法不会对下列字符编码 ASCII字母、数字、~!*()' 所以encodeURIComponent比encodeURI编码的范围更大。 实际例子来说,encodeURIComponent会把 http:// 编码成 http%3A%2F%2F 而enco... 阅读全文
posted @ 2019-05-27 09:45 雨下大了没 阅读(161) 评论(0) 推荐(0) 编辑
摘要:<script> function Rem() { var docEl = document.documentElement, oSize = docEl.clientWidth / 7.5; if (oSize > 100) { oSize = 100; // 限制rem值 640 / 6.4 = 阅读全文
posted @ 2019-05-23 15:49 雨下大了没 阅读(643) 评论(0) 推荐(0) 编辑
摘要:<head> <script src="path/to/vconsole.min.js"></script> <script> var vConsole = new VConsole(); </script> </head> CDN地址:https://www.bootcdn.cn/vConsole 阅读全文
posted @ 2019-05-21 18:32 雨下大了没 阅读(1168) 评论(0) 推荐(0) 编辑
摘要:使用vue-video-player在移动端微信内置浏览器打开,点击视频自动全屏问题。 参考官方 API 是 H5 同层浏览器的原因,可通过设置video属性来处理。 阅读全文
posted @ 2019-05-17 10:49 雨下大了没 阅读(1034) 评论(0) 推荐(1) 编辑