摘要: 安装git git config --global user.name "git用户名" git config --global user.email "git邮箱@qq.com" git pull 更新代码 git add . 注意后面有个点 添加 git commit -m "上传代码" 备注 阅读全文
posted @ 2018-12-04 10:55 躁动的倾听者 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 需要安装依赖包 lib-flexible postcss-pxtorem 在main.js 引入 lib-flexible postcss-pxtorem 在.postcssrc.js 文件中添加 "postcss-pxtorem": { "rootValue": 75, // 对根元素大小进行设置 阅读全文
posted @ 2018-08-16 15:59 躁动的倾听者 阅读(1460) 评论(0) 推荐(0) 编辑
摘要: "no-alert": 0,//禁止使用alert confirm prompt "no-array-constructor": 2,//禁止使用数组构造器 "no-bitwise": 0,//禁止使用按位运算符 "no-caller": 1,//禁止使用arguments.caller或argum 阅读全文
posted @ 2018-07-18 17:07 躁动的倾听者 阅读(190) 评论(0) 推荐(0) 编辑
摘要: const getJSON = function(url,type,data) { const promise = new Promise(function(resolve, reject){ const handler = function() { if (this.readyState !== 阅读全文
posted @ 2018-07-03 11:27 躁动的倾听者 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <span id="world-population">0</span> setTimeout(function(){ var comma_separator_number_step; $('#world-population').animateNumber({ number:30000, numb 阅读全文
posted @ 2018-06-20 13:30 躁动的倾听者 阅读(214) 评论(0) 推荐(0) 编辑
摘要: function getUrlParam(k) { var regExp = new RegExp('([?]|&)' + k + '=([^&]*)(&|$)'); var result = window.location.href.match(regExp); if (result) { ret 阅读全文
posted @ 2018-06-15 15:41 躁动的倾听者 阅读(89) 评论(0) 推荐(0) 编辑
摘要: <script src="http://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.2.0"></script> // 引入js 使用时需要初始化 // var vConsole = new VConsole() // var vConso 阅读全文
posted @ 2018-06-15 15:39 躁动的倾听者 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 引用插件: <script src="js/html2canvas.min.js"></script> <script src="js/canvas2image.js"></script> <script src="js/html2canvas.min.js"></script> <script s 阅读全文
posted @ 2018-06-14 10:08 躁动的倾听者 阅读(476) 评论(0) 推荐(0) 编辑