上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: Github地址 位于gh-pages分支上 https://github.com/a1115040996/MyHTML/ 3D 卡片特效 地址: https://a1115040996.github.io/MyHTML/3DCard.html 3D正方体特效 地址 https://a1115040 阅读全文
posted @ 2019-01-31 16:07 飞尽堂前燕 阅读(205) 评论(0) 推荐(0)
摘要: 用寻路算法写的一个小项目 地址 https://a1115040996.github.io/arithmetic/html/寻路应用.html 没来得及仔细优化,后面再优化 代码如下 阅读全文
posted @ 2019-01-31 15:54 飞尽堂前燕 阅读(256) 评论(0) 推荐(0)
摘要: this.$refs.editor.innerHTML += '@ 野猪佩奇 ' var sel = window.getSelection() var range = document.createRange() range.selectNodeContents(this.$refs.editor) range.collapse(false) sel.removeAllRanges() sel... 阅读全文
posted @ 2018-11-15 18:05 飞尽堂前燕 阅读(307) 评论(0) 推荐(0)
摘要: 1.将安装好的 微开发者工具移动到没有中文路径的地址,然后将 微信开发者工具.exe 更改为英文名字,然后发送到桌面快捷方式 2,按照谷歌配置可跨域的方法配置 配置方法(配置的时候请保证 你的软件在关闭状态) 右键发送到桌面的快捷方式,然后更改 目标 后面加上 这一句话 --args --disab 阅读全文
posted @ 2018-11-08 14:34 飞尽堂前燕 阅读(3786) 评论(0) 推荐(0)
摘要: function getRandomColor(){ var colorValue = [0,1,2,3,4,5,6,7,8,9,'a','b','c','d','e','f']; var s = "#"; for (var i=0;i<6;i++) { s+=colorValue[Math.floor(Math.random()*16)]; } return s; } ... 阅读全文
posted @ 2018-10-26 15:13 飞尽堂前燕 阅读(418) 评论(0) 推荐(0)
摘要: function f(arr){ 1.通过_proto_ 进行判断 (arr._proto_ 指向Array.prototype); 2.通过constructor进行判断 (arr.constructor 指向 Array); 3.通过instanceof进行判断 (arr instanceof 阅读全文
posted @ 2018-10-12 23:45 飞尽堂前燕 阅读(245) 评论(0) 推荐(0)
摘要: 1.在css中调整间距(我的这个是一行显示三个) swiper-slide-active 可以对这个类进行操作 这个类是显示在页面上的第一个元素 2.设置js //热门新闻 swiper var newsSwiper = new Swiper('#newsSwiper', { //autoplay: 阅读全文
posted @ 2018-09-06 16:29 飞尽堂前燕 阅读(8447) 评论(2) 推荐(1)
摘要: 1.代码中加 jQuery.support.cors = true;2. 设置ie浏览器 工具->Internet 选项->安全->自定义级别” 将“其他”选项中的“通过域访问数据源”选中为“启用”或者“提示” 阅读全文
posted @ 2018-09-05 11:24 飞尽堂前燕 阅读(481) 评论(0) 推荐(0)
摘要: 1. 右键行号,点击语法验证器设置 点开Javascript语法验证器 然后修复你js代码中的不规范代码,就会有提示了。 阅读全文
posted @ 2018-08-28 12:54 飞尽堂前燕 阅读(1203) 评论(0) 推荐(0)
摘要: 微信小程序ajax向后台传递参数的时候总是报400错误 然后看了一下network 发现是query string parameters,但是我写的header如下 header:{ "Content-Type":'json' } 所以小程序总是报400 未完待续。。。。 附对照表 待完善 head 阅读全文
posted @ 2018-08-09 12:02 飞尽堂前燕 阅读(1780) 评论(1) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页