Fork me on GitHub
摘要: 网址:http://www.iconfont.cn/ 1. 2. 1.下载Font Class类型的到本地2.把iconfont.css iconfont.eot iconfont.svg iconfont.ttf iconfont.woff 这几个文件复制到vue项目中的src的新建的icon目录 阅读全文
posted @ 2018-10-03 21:53 欢欢11 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1.安装:npm install better-scroll 2.引入:import BetterScrol from "better-scroll"; 1.滚动效果 better-scroll在使用的时候需要在dom元素渲染完成之后初始化better-scroll的实例,初始化的时候,先要获取需要 阅读全文
posted @ 2018-10-03 19:04 欢欢11 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.npm install better-scroll 2.引入:import BetterScrol from 'better-scroll' 3. 在需要设置页面滚动的地方添加 ref="xxx" 用来操作dom 4.定义方法: 5.在请求数据完成之后调用该方法 3. 在需要设置页面滚动的地方添 阅读全文
posted @ 2018-09-28 22:26 欢欢11 阅读(156) 评论(0) 推荐(0) 编辑
摘要: .GoodList{ display :table; height :54px; width :56px; line-height: 14px padding: 0 12px .text{ display: table-cell; width: 56px; vertical-align: middl 阅读全文
posted @ 2018-09-28 14:44 欢欢11 阅读(140) 评论(0) 推荐(0) 编辑
摘要: .brand { display: inline-block; width: 30px; height: 18px; background-image: url('../../../resource/img/brand@2x.png'); @media (-webkit-min-device-pix 阅读全文
posted @ 2018-09-27 11:34 欢欢11 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-27 09:10 欢欢11 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-25 17:46 欢欢11 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-25 17:44 欢欢11 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Axios 封装使用 htttp.js import axios from 'axios'; import { Message } from 'element-ui'; axios.defaults.timeout = 5000; axios.defaults.baseURL =''; //http 阅读全文
posted @ 2018-09-25 17:36 欢欢11 阅读(146) 评论(0) 推荐(0) 编辑
摘要: this.$router.push({name:"Home",query:{id:1,name:2}}) // 取到路由带过来的参数 let routerParams = this.$route.query.id; 阅读全文
posted @ 2018-09-25 17:26 欢欢11 阅读(5672) 评论(0) 推荐(1) 编辑