Html转pdf 页面直接完成 无需后台 html2canvas+ jsPdf

上传者: evilangle20160409 | 上传时间: 2023-04-17 15:02:36 | 文件大小: 1.96MB | 文件类型: RAR
html2canvas jsPdf html页面截图保存pdf,由于表格线问题,所以在里面进行替换,无需后台操作,不过有问题的是如果多页那么抓取也的div标签内容过多,不好进行分页处理,效果一般

文件下载

资源详情

[{"title":"( 47 个子文件 1.96MB ) Html转pdf 页面直接完成 无需后台 html2canvas+ jsPdf","children":[{"title":"Html转pdf截图方式","children":[{"title":"bluebird.js <span style='color:#111;'> 174.91KB </span>","children":null,"spread":false},{"title":"demo","children":[{"title":"bluebird.js <span style='color:#111;'> 174.91KB </span>","children":null,"spread":false},{"title":"render-html-to-pdf-master.zip <span style='color:#111;'> 470.53KB </span>","children":null,"spread":false},{"title":"how-transform-html-into-pdf-master.zip <span style='color:#111;'> 461.71KB </span>","children":null,"spread":false},{"title":"how-transform-html-into-pdf-master","children":[{"title":"how-transform-html-into-pdf-master","children":[{"title":"index.html <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"js","children":[{"title":"jspdf.min.js <span style='color:#111;'> 228.90KB </span>","children":null,"spread":false},{"title":"jspdf.debug.js <span style='color:#111;'> 619.28KB </span>","children":null,"spread":false},{"title":"html2canvas.svg.js <span style='color:#111;'> 505.54KB </span>","children":null,"spread":false},{"title":"html2canvas.svg.min.js <span style='color:#111;'> 160.41KB </span>","children":null,"spread":false},{"title":"html2canvas.js <span style='color:#111;'> 120.86KB </span>","children":null,"spread":false},{"title":"html2canvas.min.js <span style='color:#111;'> 59.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"image","children":[{"title":"banner.jpg <span style='color:#111;'> 20.26KB </span>","children":null,"spread":false},{"title":"logo.jpg <span style='color:#111;'> 58.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"style.css <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"render-html-to-pdf-master","children":[{"title":"render-html-to-pdf-master","children":[{"title":"README.md <span style='color:#111;'> 9.08KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"demo5.html <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"demo7.html <span style='color:#111;'> 23.25KB </span>","children":null,"spread":false},{"title":"demo6.html <span style='color:#111;'> 21.82KB </span>","children":null,"spread":false},{"title":"demo1.html <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"Dark Seer.jpg <span style='color:#111;'> 9.39KB </span>","children":null,"spread":false},{"title":"Doom Bringer.jpg <span style='color:#111;'> 8.07KB </span>","children":null,"spread":false},{"title":"Dragon Knight.jpg <span style='color:#111;'> 14.60KB </span>","children":null,"spread":false},{"title":"Stone.png <span style='color:#111;'> 60.54KB </span>","children":null,"spread":false},{"title":"Beast Master.jpg <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"Spectre.jpg <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"Venomancer.jpg <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"Ancient Apparition.jpg <span style='color:#111;'> 9.74KB </span>","children":null,"spread":false},{"title":"weaver.jpg <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"js","children":[{"title":"html2canvas.js <span style='color:#111;'> 123.05KB </span>","children":null,"spread":false},{"title":"jsPdf.debug.js <span style='color:#111;'> 740.77KB </span>","children":null,"spread":false}],"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 15.08KB </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"docs.iml <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 260B </span>","children":null,"spread":false}],"spread":false},{"title":"demo4.html <span style='color:#111;'> 81.15KB </span>","children":null,"spread":false},{"title":"demo3.html <span style='color:#111;'> 81.09KB </span>","children":null,"spread":false},{"title":"demo2.html <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"test-meat.html <span style='color:#111;'> 132B </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bluebird.min.js <span style='color:#111;'> 77.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"html2canvas.js <span style='color:#111;'> 120.86KB </span>","children":null,"spread":false},{"title":"jsPdf.debug.js <span style='color:#111;'> 619.28KB </span>","children":null,"spread":false},{"title":"引入这三个文件.txt <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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