摘要: 1. App.vue里面写上如下代码 <template> <div id="app"> <router-view v-if="isRouterAlive"></router-view> </div> </template> <script> export default { name: 'App' 阅读全文
posted @ 2020-05-21 14:45 lethe666 阅读(575) 评论(0) 推荐(0)
摘要: 防抖( debounce ) debounce(func,delay){ let timer = null; return function(...args){ if(timer) clearTimeout(timer) timer = setTimeout( () => { func.apply( 阅读全文
posted @ 2020-05-10 23:25 lethe666 阅读(185) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-05-04 16:45 lethe666 阅读(1) 评论(0) 推荐(0)
摘要: @click.native 阅读全文
posted @ 2020-05-01 15:29 lethe666 阅读(125) 评论(0) 推荐(0)
摘要: better-scroll https://github.com/ustbhuangyi/better-scroll 阅读全文
posted @ 2020-04-30 11:40 lethe666 阅读(80) 评论(0) 推荐(0)
摘要: ul>li{商品列表}*10 <ul> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li> 阅读全文
posted @ 2020-04-28 10:56 lethe666 阅读(127) 评论(0) 推荐(0)
摘要: 1.划分目录结构 2.删除不需要的部分 vue-cli4 取消关闭eslint 校验代码 在.eslintrc.js文件中修改 删掉 “@vue/prettier” 3.引用两个css文件 在assets文件夹中新增两个css初始化文件 base.css 和 normalize.css 4.添加配置 阅读全文
posted @ 2020-04-23 10:35 lethe666 阅读(93) 评论(0) 推荐(0)
摘要: 1. git clone 地址 2.修改文件以后 git add . 3.git commit -m '修改内容备注' 4.git pull origin xxx 5.git push origin xxx (会输入用户名 密码) 阅读全文
posted @ 2020-04-22 17:26 lethe666 阅读(166) 评论(0) 推荐(0)