wx_upfile:微信小程序word, doc文件上传与下载

上传者: 42149153 | 上传时间: 2022-04-25 16:42:37 | 文件大小: 1.66MB | 文件类型: ZIP
微信小程序word, doc文件上传与下载 文件上传两种方式 上传当前小程序中下载过的文件 利用wx.chooseMessageFile 调用微信会话页面 选择要上传的文件 文件上传示例代码 微信会话中选择要上传的上传文件 //选择要上传的上传文件 choosefilefun(){ let _that = this; wx.chooseMessageFile({ count: 10, type: 'file', success(res) { console.log(_that,' :this') // console.log(res, " :res") const tempFiles = res.tempFiles let {upfilelist} = _that.

文件下载

资源详情

[{"title":"( 34 个子文件 1.66MB ) wx_upfile:微信小程序word, doc文件上传与下载","children":[{"title":"wx_upfile-master","children":[{"title":"README.md <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"wx_static","children":[{"title":".gitignore <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"sitemap.json <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"app.wxss <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"project.config.json <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"main","children":[{"title":"index.wxml <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"index","children":[{"title":"index.wxml <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"img","children":[{"title":"del.png <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"default.png <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"selected.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.json <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"config.js <span style='color:#111;'> 96B </span>","children":null,"spread":false}],"spread":true},{"title":"pic","children":[{"title":"IMG_3638.GIF <span style='color:#111;'> 1.57MB </span>","children":null,"spread":false},{"title":"pic01.jpg <span style='color:#111;'> 48.16KB </span>","children":null,"spread":false},{"title":"youjiaoxueyuan.png <span style='color:#111;'> 161.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"node","children":[{"title":"nodemon.json <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"test.txt <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"test01.docx <span style='color:#111;'> 12.72KB </span>","children":null,"spread":false},{"title":"test003.docx <span style='color:#111;'> 12.72KB </span>","children":null,"spread":false},{"title":"test00022222.docx <span style='color:#111;'> 12.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.js <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 554B </span>","children":null,"spread":false},{"title":"upload","children":[{"title":"test.txt <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"test01.docx <span style='color:#111;'> 12.72KB </span>","children":null,"spread":false},{"title":"test003.docx <span style='color:#111;'> 12.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"route","children":[{"title":"upfile.js <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明