摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>nick getBase64</title></head><body><div> <button id="downloadImg">下载</button></div><script s 阅读全文
posted @ 2020-04-02 16:37 adolfvicto 阅读(215) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>nick getBase64</title></head><body><div> <canvas id="canvas" style="display: none"></canvas> 阅读全文
posted @ 2020-04-01 23:44 adolfvicto 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title></title></head><body> <script type="text/javascript"> function ToBase64() { /*转换base64*/ var img = document.getElem 阅读全文
posted @ 2019-12-30 16:40 adolfvicto 阅读(375) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" 阅读全文
posted @ 2019-10-14 18:18 adolfvicto 阅读(293) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><div id="btn">点击click</div> <script>//微信支付js交互 document. 阅读全文
posted @ 2019-10-12 16:55 adolfvicto 阅读(2256) 评论(0) 推荐(0) 编辑
摘要: /**axios封装 * 请求拦截、相应拦截、错误统一处理 */import axios from 'axios';import QS from 'qs';import { Toast } from 'vant';import store from '../store/index' // 环境的切换 阅读全文
posted @ 2019-08-30 10:49 adolfvicto 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <script> !function(n){ var e=n.document, t=e.documentElement, i=750, d=i/100, o="orientationchange"in n?"orientationchange":"resize", a=function(){ va 阅读全文
posted @ 2019-08-21 14:53 adolfvicto 阅读(209) 评论(0) 推荐(0) 编辑
摘要: <div class="form-item"> <div class="label">姓名</div> <input type="text" v-model.trim="myUserInfo.name" placeholder="请输入您的姓名" @blur="input_blur"> </div> 阅读全文
posted @ 2019-07-15 18:18 adolfvicto 阅读(4456) 评论(0) 推荐(1) 编辑
摘要: 在webpack.config.js中加入 const VueLoaderPlugin = require('vue-loader/lib/plugin'); plugins: [ new VueLoaderPlugin() ] 阅读全文
posted @ 2018-06-13 15:15 adolfvicto 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 例如: var url = 'http://www.xxx.com?ProID=100&UserID=200' getQueryObject(url)输出为: 阅读全文
posted @ 2018-05-14 15:53 adolfvicto 阅读(257) 评论(0) 推荐(0) 编辑