会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wyy_wdy
博客园
首页
新随笔
联系
订阅
管理
2021年10月12日
下载文件并修改下载文件名称
摘要: downloadFile (filePath,fileName) { const url = window.URL.createObjectURL(new Blob([filePath], { type: 'application/vnd.ms-excel;charset=UTF-8' })); c
阅读全文
posted @ 2021-10-12 10:18 wyy_wdy
阅读(800)
评论(0)
推荐(0)
2021年3月4日
阅读支付宝小程序所得
摘要: 1.
阅读全文
posted @ 2021-03-04 15:56 wyy_wdy
阅读(31)
评论(0)
推荐(0)
2020年7月21日
css写的好棒,理解的不是很明白,先粘贴上,后面啃
摘要: <div class="glass"> <div class="wrapper"> <div class="pour"> <div class="stream"></div> </div> <div class="contents"> <div class="beer"> <div class="b
阅读全文
posted @ 2020-07-21 15:59 wyy_wdy
阅读(160)
评论(0)
推荐(0)
2020年7月8日
如何搭建vue项目
摘要: 一、安装node环境 1、下载地址为:https://nodejs.org/en/ 2.检查安装是否成功 1) ctrl+r 输入cmd 2) 输入node -v 如果有版本号,就代表安装成功 二、安装npm 1.使用淘宝镜像安装效率会高点(通过cmd入口安装也可以,此处我是在项目里面通过git安装
阅读全文
posted @ 2020-07-08 12:01 wyy_wdy
阅读(122)
评论(0)
推荐(0)
2020年3月20日
怎么以对象作为参数封装函数
摘要: 封装的函数在不同页面调用的时候,可能需要传递不同个数的参数,为了避免有些页面不传递参数对公共函数造成报错的问题 调用函数页面1: this.searchData.propertyList = this.exportExcelFeader({colTable: this.colTable, mappi
阅读全文
posted @ 2020-03-20 15:01 wyy_wdy
阅读(402)
评论(0)
推荐(0)
2018年8月9日
计时器
摘要: <!DOCTYPE html><html> <head> <title></title> <meta http-equiv="content-Type" content="text/html; charset=utf-8 " /> <script type="text/javascript" src
阅读全文
posted @ 2018-08-09 14:47 wyy_wdy
阅读(116)
评论(0)
推荐(0)
2018年7月6日
解决移动端安卓吊起软键盘页面元素堆积
摘要: 方法一:$(function(){ var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/
阅读全文
posted @ 2018-07-06 14:22 wyy_wdy
阅读(184)
评论(0)
推荐(0)
2018年7月2日
带搜索功能地图
摘要: <!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv
阅读全文
posted @ 2018-07-02 14:12 wyy_wdy
阅读(227)
评论(0)
推荐(0)
H5移动端调用相机/相册
摘要: //只调取照相 <input type="file" id='image' accept="image/*" capture='camera' name="file" onchange="fileup(event)" > //调取相册(会把照相的选项也调出来) <input type="file"
阅读全文
posted @ 2018-07-02 11:33 wyy_wdy
阅读(4677)
评论(1)
推荐(0)
公告