10 2020 档案
摘要://时间戳换算 let dateTime=2020-10-10 10:10:10 getDateDiff(dateTime){ let dateTimeStamp = new Date(dateTime).getTime(); // console.log(dateTimeStamp) let re
阅读全文
摘要:view style='width:100%;height:80rpx;' id='navigation'></view> wx.createSelectorQuery().select('#navigation').boundingClientRect(function (rect) { rect
阅读全文
摘要:只需改掉 选择器名称 和 图片存放的URL 即可使用 downloadimg(){ let _this=this let url = 'https://PDF或者图片路径/Merged.pdf' let name = '下载的文件名.pdf' // 发送http请求,将文件链接转换成文件流 _thi
阅读全文
浙公网安备 33010602011771号