摘要:
//计算多长时间以前function timeAgo(atime){ //兼容苹果和安卓 var endDate = new Date(atime); endDate = endDate.getFullYear() > 0 ? endDate : new Date(Date.parse(atime. 阅读全文
摘要:
http://dudodo.cc/2017/06/01/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E8%87%AA%E9%80%82%E5%BA%94%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88/#more 设计稿640 640px = 6.4rem 100 阅读全文
摘要:
安装babel # 安装babel,编译ES6语法 cnpm install --save-dev babel-core babel-loader babel-preset-es2015 babel-plugin-transform-runtime babel-preset-stage-2 // 使 阅读全文