10 2016 档案
npm常用命令总结
摘要:npm root -g: 查看node.js全局包的安装路径 npm root: 查看当前项目npm包的安装路径 npm cache clean:清空缓存 npm ls:查看安装的模块及依赖 npm ls webpack:查看某个安装的模块 npm ls -g:查看全局安装的模块及依赖 npm uninstall xxx (-g):卸载模块 npm update xxx:更新模块 np... 阅读全文
posted @ 2016-10-27 16:09 hehelele 阅读(8329) 评论(0) 推荐(0)
移动端返回上一页实现方法
摘要:一、问题描述: 使用window.history.go(-1)或者window.history.back(-1)实现移动端返回上一页功能,原生safair浏览器里存在问题(通过flex布局的上一张页面滚动无效,只能显示点击前停留的那屏,无法通过触摸滚动页面)。存在于ios 9.3(13E233)和i 阅读全文
posted @ 2016-10-18 11:23 hehelele 阅读(10006) 评论(0) 推荐(0)
解决拼团首页swiper组件手动轮播卡顿问题
摘要:解决 swiper lag , 可能是渲染背景backface-visibility后导致卡顿吧! 具体可以去http://www.htmleaf.com/Demo/201504151687.html 查看 阅读全文
posted @ 2016-10-17 13:24 hehelele 阅读(2688) 评论(0) 推荐(0)
mac上charels抓包工具使用技巧
摘要:有这俩技巧就足够了 http://www.jianshu.com/p/18449f5f9d1c http://blog.csdn.net/u010187139/article/details/51986854 阅读全文
posted @ 2016-10-08 23:02 hehelele 阅读(457) 评论(0) 推荐(0)
加载图片优化(先用一张小图片做高斯模糊, 再加载大图)
摘要:http://www.jackpu.com/medium-shi-ru-he-zuo-tu-pian-jia-zai-de/ 阅读全文
posted @ 2016-10-02 23:58 hehelele 阅读(336) 评论(0) 推荐(0)