- 博客(7)
- 收藏
- 关注
转载 vue 设置当前页背景色
beforeRouteEnter(to, from, next) { // 添加背景色 document.querySelector('body').setAttribute('style', 'background-color:#f9f9f9') next() }, beforeRouteLeave(to, from, next) { ...
2019-01-23 14:17:00 1052
转载 vue history模式下的微信支付,及微信支付授权目录的填写,处理URL未注册
微信公众号配置网页授权域名:填写网址域名微信开发者平台配置url:访问url:http://www.baidu.com/pay/ment支付授权目录:http://www.baidu.com/pay/访问url:http://www.baidu.com/pay支付授权目录:http://www.baidu.com/访问url:http://www.baidu....
2019-01-23 14:13:00 308
转载 h5 audio播放问题,audio获取缓存进度条
<!--全局 audio --> <audio id="audio" @playing="audioReady" @timeupdate="audioUpdateTime" @pause="audioPaused" @ended="audioEnd" @error="aud...
2019-01-23 12:25:00 1007
转载 h5页面ios键盘弹出收起后页面底部留白问题
<input placeholder="验证码" type="tel" v-model="verify" maxlength="4" @input="change()" @focus="focusIn" @blur="blurIn" />focusIn() { // ios键盘弹出底部留白问题 const body = document.query...
2019-01-23 12:20:00 723
转载 vue项目中引入vant 使用rem布局问题
postcss.config.jsconst autoprefixer = require('autoprefixer')const pxtorem = require('postcss-pxtorem')module.exports = ({ file }) => { let rootValue // vant 37.5 https://g...
2019-01-23 12:15:00 978
转载 vue history模式下的微信分享
// 微信验证export function requireConfig() { let url = window.location.href systemApi.wxoption({ url: url }).then(res => { if (res.code === 200) { wx.config({ ...
2019-01-23 12:11:00 293
转载 基于element ui 实现七牛云自定义key上传文件,并监听更新上传进度
借助上传Upload 上传组件的http-request 覆盖默认的上传行为,可以自定义上传的实现 <el-upload multiple ref="sliderUpload" :data="uploadData" :action="uploadData.ur...
2019-01-23 11:56:00 398
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人