摘要:
微信浏览器内建的WeixinJSBridge 实现“返回”操作 WeixinJSBridge.call('closeWindow'); 阅读全文
摘要:
or 先改变本机的sass下载的数据源 然后 安装 npm更换成淘宝的源 npm config set registry https://registry.npm.taobao.org – 配置后可通过下面方式来验证是否成功 npm config get registry 也可安装nrm【管理npm 阅读全文
摘要:
~function(){ const nextPushTime = $('#nextPushTime_promotion_push'); const prevTime = new Date('2017-11-12 16:53:00').getTime() + 2*24*60*60*1000; const nowTime = new D... 阅读全文
摘要:
情景:微信公众号使用vue开发的单页面,在安卓端点击按钮访问显示404,ios访问正常问题,能正常显示。 解决:将微信公众号菜单按钮设置的路径中把WWW去掉后,安卓、ios都能正常访问。 问题路径www.xxx.com/aaa/index.html#/login 没问题路径 xxx.com/aaa/ 阅读全文
摘要:
sticky footer 布局 add remove sesafsdfsdfsdfs footer 阅读全文
摘要:
var PriceStrategy = function() { var stragtegy = { return30: function(price) { return +price + parseInt(price / 100) * 30; }, ... 阅读全文
摘要:
https://github.com/dt-fe/number-precision ~(function(root, factory) { if (typeof define "function" && define.amd) { define([], factory); } else if (ty 阅读全文
摘要:
window7环境下,选择project-》Properties->如下图 阅读全文
摘要:
autocomplete="off" 在新版chrome中不起作用,还是自动填充了 用户名和密码,改为 autocomplete="new-password" 即解决该问题 阅读全文
摘要:
情景:在开发移动端情况下,pc看到的效果有时于真实手机里看到的效果可以不大一样,将代码发送到服务器再去测试又太麻烦, 这时,下面的小技巧可能就比较有用了,前提需要 pc跟手机一部,并且在同个无线网络内. 首先.在ide中将项目运行,然后在浏览器输入地址 正常能访问后,在cmd【windows环境下】 阅读全文