上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: Object.assign(this.$data, this.$options.data()) 阅读全文
posted @ 2019-03-14 17:15 这个男人 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 来源掘金: https://juejin.im/post/5b2ce07ce51d45588a7dbf76 来源博客园 https://www.cnblogs.com/wonyun/p/8763314.html 来源segmentfault https://segmentfault.com/a/1190000012083511 阅读全文
posted @ 2019-03-05 14:50 这个男人 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 【转】https://juejin.im/post/5c63afd56fb9a049b41cf5f4 基于vue-cli3.0快速构建vue项目 本章详细介绍使用vue-cli3.0来搭建项目。 本章使用vue-cli3.0构建的项目是基于webpack的模板文件,构建后的项目属于单页面(SPA)应 阅读全文
posted @ 2019-02-16 10:43 这个男人 阅读(24890) 评论(0) 推荐(2) 编辑
摘要: webpck不能编译这个属性-webkit-box-orient: vertical https://github.com/fanyifanbumaimeng/Articles/issues/48 阅读全文
posted @ 2019-02-14 10:14 这个男人 阅读(1933) 评论(0) 推荐(0) 编辑
摘要: beforeRouteEnter(to, from, next) { // 添加背景色 document.querySelector('body').setAttribute('style', 'background-color:#f9f9f9') next() }, beforeRouteLeave(to, from, next) { // 去除背景色 ... 阅读全文
posted @ 2019-01-23 14:17 这个男人 阅读(6548) 评论(1) 推荐(0) 编辑
摘要: 微信公众号配置网页授权域名:填写网址域名 微信开发者平台配置url: 访问url:http://www.baidu.com/pay/ment 支付授权目录:http://www.baidu.com/pay/ 访问url:http://www.baidu.com/pay 支付授权目录:http://w 阅读全文
posted @ 2019-01-23 14:13 这个男人 阅读(2225) 评论(0) 推荐(0) 编辑
摘要: parseInt(timeRanges.end(timeRanges.length - 1) * 100 / audio.duration * 100) / 100) 阅读全文
posted @ 2019-01-23 12:25 这个男人 阅读(4570) 评论(0) 推荐(0) 编辑
摘要: focusIn() { // ios键盘弹出底部留白问题 const body = document.querySelector('.phone-bind') // input所在的容器 body.scrollTop = body.scrollHeight },blurIn() { // ios键盘弹出底部留白问题 window.scroll(0, 0)}, 阅读全文
posted @ 2019-01-23 12:20 这个男人 阅读(2224) 评论(0) 推荐(0) 编辑
摘要: postcss.config.js const autoprefixer = require('autoprefixer') const pxtorem = require('postcss-pxtorem') module.exports = ({ file }) => { let rootValue // vant 37.5 https://github.com/youzan/... 阅读全文
posted @ 2019-01-23 12:15 这个男人 阅读(6511) 评论(0) 推荐(0) 编辑
摘要: // 微信验证 export function requireConfig() { let url = window.location.href systemApi.wxoption({ url: url }).then(res => { if (res.code === 200) { wx.config({ debug: false, ... 阅读全文
posted @ 2019-01-23 12:11 这个男人 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页