上一页 1 2 3 4 5 6 ··· 27 下一页
摘要: ajax: function(opt) { opt = opt || {}; opt.method = opt.method.toUpperCase() || 'POST'; opt.url = opt.url || ''; //请求地址 opt.async = opt.async || true; //是否异步请求 opt.data = opt.data || null; //传输数据 opt. 阅读全文
posted @ 2019-09-07 23:55 黑客PK 阅读(1184) 评论(0) 推荐(0) 编辑
摘要: 比如新增一个全局的swiper,需要在webpack中配置: 之后在代码中就可以用了 阅读全文
posted @ 2019-01-23 13:32 黑客PK 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 在根组件的构造函数中直接执行: 阅读全文
posted @ 2019-01-22 22:36 黑客PK 阅读(844) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-11-14 09:55 黑客PK 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 菜鸟教程: http://www.runoob.com/jsref/met-win-open.html 一、基本语法:window.open(URL,name,specs,replace)其中:URL 为子窗口路径name 为子窗口名字specs 为窗口参数(各参数用逗号分隔) 二、返回值: 返回新 阅读全文
posted @ 2018-11-06 10:53 黑客PK 阅读(666) 评论(0) 推荐(0) 编辑
摘要: https://juejin.im/post/5aa727fc518825364001159b http://www.ruanyifeng.com/blog/2016/06/css_modules.html https://segmentfault.com/a/1190000010301977 ba 阅读全文
posted @ 2018-03-28 00:51 黑客PK 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 核心js代码: 核心css代码: 参考: http://pvp.qq.com/act/a20160922V15/test.htm http://pvp.qq.com/act/a20160922V15/test2.htm 阅读全文
posted @ 2018-03-07 14:30 黑客PK 阅读(714) 评论(0) 推荐(0) 编辑
摘要: 分享到QQ空间 分享到新浪微博 阅读全文
posted @ 2018-03-01 11:51 黑客PK 阅读(364) 评论(0) 推荐(0) 编辑
摘要: save 和 restore 函数的应用 保存canvas和恢复canvas clip函数的应用 文字的绘制 背景图片的绘制 离屏canvas 基于时间的运动 阅读全文
posted @ 2018-01-31 10:50 黑客PK 阅读(322) 评论(0) 推荐(0) 编辑
摘要: vivo X6A iPhone5 iPhone6s iPhone7 PLUS iPhone5c width:320,height:504; offsetWidth:320,offsetHeight:504, screenwidth:320,screenheight:548 dpr:2 阅读全文
posted @ 2018-01-30 16:23 黑客PK 阅读(1084) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 27 下一页