05 2019 档案
摘要:input{-webkit-appearance: none; -moz-appearance: none; -o-appearance: none; appearance: none;}
阅读全文
摘要:Tip: built files are meant to be served over an HTTP server. Opening index.html over file:// won't work. 提示:构建的文件应该通过HTTP服务器提供服务。在文件:/上打开index.html不起作
阅读全文
摘要:1,无参数,有参数和带默认值参数的@mixin声明sass文件内容: //带参数,默认50@mixin opa($opa:50){ opacity: $opa / 100; filter:alpha(opacity=$opa);}12345//mixin需要在调用之前声明.demo{ @includ
阅读全文
摘要:html,body{-webkit-text-size-adjust: 100%;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
阅读全文
摘要:对需要禁用的div或者body设置下面样式-webkit-user-select: none;
阅读全文
摘要:vue.$nextTick 解决了哪些问题
阅读全文
摘要:VUE图片懒加载-vue lazyload插件的简单使用 VUE图片懒加载-vue lazyload插件的简单使用 VUE图片懒加载-vue lazyload插件的简单使用
阅读全文
摘要:const store = new Vuex.Store({ state: { count: 0 }, mutations: { increment (state) { state.count++ } }, actions: { increment (context) { context.commi
阅读全文
摘要:https://www.jianshu.com/p/33e5fb3f3a86 https://segmentfault.com/a/1190000015782272 写在前面: 1、创建一个store.js ES6【解构赋值】知识点 在main.js引入 store 应用与组件内: 推荐使用: 大型
阅读全文
摘要:1、先看效果:无需import,直接写组件标签,方便! 第一步:先添加一个组件Login.vue 第二步:在Login.vue同目录下添加一个index.js 第三步:在main.js文件下使用即可
阅读全文