上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: vue结合webpack创建项目1,cmd中vue init webpack demo2,装上需要的插件和配置 配置1:七牛云 npm install qiniu-webpack-plugin --save-dev //编译后自动资源文件自动上传到七牛云服务器 webpack.prod.conf.j 阅读全文
posted @ 2018-05-25 20:01 米牙 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1.输入框写入@focus.Native="focus($event)"事件 <input @focus.Native="focus($event)" v-model="phone" type="number" placeholder="请输入手机号" @input="phoneInput">2. 阅读全文
posted @ 2018-05-24 14:22 米牙 阅读(498) 评论(0) 推荐(0) 编辑
摘要: let blob1 = dataURItoBlob(this.img); 阅读全文
posted @ 2018-05-22 18:57 米牙 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 法一: 1.全局引入jQuery/qrcode npm install jquery npm install qrcode-npm 2.页面引入jQuery/qrcode import $ from "jquery"; var QRCode = require('qrcode') 4.页面代码 <i 阅读全文
posted @ 2018-05-22 14:04 米牙 阅读(13759) 评论(0) 推荐(0) 编辑
摘要: //让ios滚动更流畅 //省略号 overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; //只能输入数字,没有小数点onkeyup="this.value=this. 阅读全文
posted @ 2018-04-19 15:00 米牙 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1. 阅读全文
posted @ 2018-04-02 09:27 米牙 阅读(257) 评论(0) 推荐(0) 编辑
摘要: this.$forceUpdate(); 阅读全文
posted @ 2018-03-21 17:11 米牙 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1.其不起作用原因 1、父标签 position属性为relative;2、问题标签无position属性(不包括static);3、问题标签含有浮动(float)属性。 2.w3c一个挺有用的标签 <form> <fieldset> <legend>健康信息</legend> 身高:<input 阅读全文
posted @ 2018-03-19 16:14 米牙 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1.时间搓转为时间 阅读全文
posted @ 2018-03-07 11:50 米牙 阅读(181) 评论(0) 推荐(0) 编辑
摘要: //引入线状图import 'echarts/lib/chart/line' //echarts配置(挂载时导入图)creatChartFun(){ this.myChart = echarts.init(this.$refs.chartBox); let option = { tooltip: { trigger: 'axis', ... 阅读全文
posted @ 2018-03-06 14:33 米牙 阅读(2174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页