Loading

摘要: 在做微信公众平台网页授权时,发现每次请求授权链接 https://open.weixin.qq.com/connect/oauth2/authorize?appid=xxx&redirect_uri=xxx&response_type=code&scope=snsapi_userinfo&state 阅读全文
posted @ 2019-12-06 22:53 fsdffsdf 阅读(3959) 评论(0) 推荐(0)
摘要: 在vue中使用nprogress.js 安装 $ bower install save nprogress $ npm install save nprogress 1 2 在项目中引入 在main.js中引入要使用的nprogress import NProgress from 'nprogres 阅读全文
posted @ 2019-12-06 22:17 fsdffsdf 阅读(1195) 评论(0) 推荐(0)
摘要: //设置页面字体 window.addEventListener('DOMContentLoaded', () = { const html = document.querySelector('html'); let size = window.innerWidth / 10; size = siz 阅读全文
posted @ 2019-12-06 22:03 fsdffsdf 阅读(141) 评论(0) 推荐(0)
摘要: 采用的方法(强制覆盖本地数据): git fetch origin git clean f git reset hard origin/master 阅读全文
posted @ 2019-12-06 21:40 fsdffsdf 阅读(572) 评论(0) 推荐(0)
摘要: let time = new Date().getTime() function onBridgeReady () { WeixinJSBridge.invoke( 'getBrandWCPayRequest', { "appId": res1.data.appId, //公众号名称,由商户传入 " 阅读全文
posted @ 2019-12-06 09:04 fsdffsdf 阅读(2187) 评论(0) 推荐(0)
摘要: 在一些页面的底部如果有fixed的元素会遮挡一部分内容,而直接设置margin bottom或padding bottom在某些情况下会失效。 解决方法: 1.用带有高度空标签支撑高度。 2.由于body添加了这个属性 webkit overflow scrolling: touch 可能引起此问题 阅读全文
posted @ 2019-12-06 08:58 fsdffsdf 阅读(3728) 评论(0) 推荐(0)