上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 125 下一页
摘要: 1.轮播图设置, .img { width: 100%; height: 100%; object-fit: cover; touch-action: none; } 如果不设置不能达到 保持纵横比缩放图片,只保证图片的短边能完全显示出来 .img { width: 100%; height: 10 阅读全文
posted @ 2019-03-29 11:22 ThisCall 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: 项目架构 开始 vue init webpack 项目名称 //新建项目,cd进入新项目 npm install axios //先安装! npm install --save axios vue-axios //然后! npm install vuex --save //安装vuex npm i 阅读全文
posted @ 2019-03-27 13:38 ThisCall 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/belove8013/p/8134067.html(copy) http://stor.51cto.com/art/201809/584288.html(更深入 1、Cookie JavaScript是运行在客户端的脚本,因此一般是不能够设置Sessi 阅读全文
posted @ 2019-03-26 17:11 ThisCall 阅读(201) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dongcanliang/archive/2017/04/01/6655061.html 阅读全文
posted @ 2019-03-21 18:17 ThisCall 阅读(413) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000011072725(原文) 使用vue-axios和vue-resource解决vue中调用网易云接口跨域的问题 注(api很重要,相当于拦截到api然后将api替换为index里的 target: 'http://news-at. 阅读全文
posted @ 2019-03-21 11:41 ThisCall 阅读(1223) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="shop-container">shop <table> <tr> <th>商品</th> <th>数量</th> <th>单价</th> <th>金额</th> </tr> <tr v-for="item in goods" :key="item.id 阅读全文
posted @ 2019-03-19 17:13 ThisCall 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Shift + Alt + F 格式化 Ctrl+Shift+P, F1显示命令面板 Ctrl+P快速打开,进入File… Ctrl + Shift + N新窗口/实例 Ctrl + Shift + W /关闭窗口实例 Ctrl +、用户设置 Ctrl+K Ctrl+S快捷键 基本编辑 Ctrl+X 阅读全文
posted @ 2019-03-19 10:40 ThisCall 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: vue-resource vue-resource是Vue.js的一款插件,它可以通过XMLHttpRequest或JSONP发起请求并处理响应。 vue-resource特点: vue-resource非常小巧,在压缩以后只有大约12KB,服务端启用gzip压缩后只有4.5KB大小,这远比jQue 阅读全文
posted @ 2019-03-14 17:55 ThisCall 阅读(246) 评论(0) 推荐(0) 编辑
摘要: span{ color: blue; border:1px solid black;}.extra span{ color: inherit;} 清除原有样式 text-decoration: none; 阅读全文
posted @ 2019-03-14 17:32 ThisCall 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 父组件 (注:to="/Flow/moban_a"这里不是文件加路径,是父组件路由+子组件路由) 路由配置 阅读全文
posted @ 2019-03-12 18:04 ThisCall 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 125 下一页