会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
adolfvicto
博客园
首页
新随笔
联系
管理
订阅
2020年4月2日
download base64
摘要: <!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
阅读(218)
评论(0)
推荐(0)
2020年4月1日
html to blob
摘要: <!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
阅读(203)
评论(0)
推荐(0)
2019年12月30日
本地图片转base64
摘要: <!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
阅读(381)
评论(0)
推荐(0)
2019年10月14日
input、textarea 输入框IOS键盘顶起页面不反弹,Android手机隐藏掉input/textarea
摘要: <!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
阅读(307)
评论(0)
推荐(0)
2019年10月12日
js调微信支付、支付宝支付
摘要: <!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
阅读(2302)
评论(0)
推荐(0)
2019年8月30日
axios封装
摘要: /**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
阅读(115)
评论(0)
推荐(0)
2019年8月21日
h5 rem js
摘要: <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
阅读(214)
评论(0)
推荐(0)
2019年7月15日
h5 input输入框弹 键盘弹起再关掉,页面被顶起
摘要: <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
阅读(4496)
评论(0)
推荐(1)
2018年6月13日
webpack vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin
摘要: 在webpack.config.js中加入 const VueLoaderPlugin = require('vue-loader/lib/plugin'); plugins: [ new VueLoaderPlugin() ]
阅读全文
posted @ 2018-06-13 15:15 adolfvicto
阅读(304)
评论(0)
推荐(0)
2018年5月14日
将url的查询参数解析成字典对象
摘要: 例如: var url = 'http://www.xxx.com?ProID=100&UserID=200' getQueryObject(url)输出为:
阅读全文
posted @ 2018-05-14 15:53 adolfvicto
阅读(262)
评论(0)
推荐(0)
下一页
公告