摘要: 图片外面的div设置宽高自适应width: 100vw; max-width: 640px; display: block; height: 43.75vw; max-height: 280px; flex布局列表换行 display: flex; justify-content: space-be 阅读全文
posted @ 2018-05-31 17:18 斯丢皮德曼 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 详细:http://www.w3cplus.com/mobile/lib-flexible-for-html5-layout.html ; (function(win, lib) { var doc = win.document; var docEl = doc.documentElement; v 阅读全文
posted @ 2018-05-31 15:23 斯丢皮德曼 阅读(339) 评论(0) 推荐(0) 编辑
摘要: vue本地项目静态资源管理 统一放在src/static里面css,images,js index.html里面使用重置样式 <link rel="stylesheet" href="static/css/reset.css"> 组件里面使用图片 <div><img src="/static/img 阅读全文
posted @ 2018-05-31 14:14 斯丢皮德曼 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 之前使用axios post请求不能向后台发送数据,然后使用了vue-resource这个插件 import Vue from 'vue' import VueResource from 'vue-resource' Vue.use(VueResource) 组件 this.$http.post( 阅读全文
posted @ 2018-05-31 11:00 斯丢皮德曼 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/sherry_chan/article/details/79055211 阅读全文
posted @ 2018-05-31 10:41 斯丢皮德曼 阅读(113) 评论(0) 推荐(0) 编辑