上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 179 下一页
摘要: 一,js代码: <template> <div style="background: #ffffff;" id="root" > <div style="width: 700px;margin: auto;"> <div><input type="file" accept="image/*" @ch 阅读全文
posted @ 2022-09-09 11:10 刘宏缔的架构森林 阅读(1369) 评论(0) 推荐(0)
摘要: 一,js代码: <template> <div style="background: #ffffff;" id="root" > <div><button @click="restore">还原</button><button @click="flipx">水平镜像</button> <button 阅读全文
posted @ 2022-09-07 17:40 刘宏缔的架构森林 阅读(1146) 评论(0) 推荐(0)
摘要: vue.js3: 裁剪图片的一部分并保存(vue@3.2.37) 一,js代码: <template> <div> <div style="width: 800px;margin: auto;"> <div id="wrapper" style="display:none;position: relative;overflow: hidden;" > <img i 阅读全文
posted @ 2022-09-07 14:30 刘宏缔的架构森林 阅读(576) 评论(0) 推荐(0)
摘要: 一,安装用到的第三方库 1,安装: liuhongdi@lhdpc:/data/vue/pdf/image2pdf$ npm i -S vuedraggable@next added 2 packages in 11s 2,查看已安装的版本: liuhongdi@lhdpc:/data/vue/pd 阅读全文
posted @ 2022-08-30 17:46 刘宏缔的架构森林 阅读(1536) 评论(0) 推荐(0)
摘要: 一,js代码: <template> <div style="width:100%;height:100vh;" @mousemove="onRotate" @mouseup="onUp"> <div ref="target" style="width:300px;height:100px;posi 阅读全文
posted @ 2022-08-25 16:22 刘宏缔的架构森林 阅读(934) 评论(0) 推荐(0)
摘要: 一,js代码: <html> <head> <meta charset="utf-8"/> <title>测试</title> </head> <body> <button onclick="test()">测试</button> <script> function test() { //查看类型 阅读全文
posted @ 2022-08-20 14:40 刘宏缔的架构森林 阅读(78) 评论(0) 推荐(0)
摘要: 一,从命令行修改webstorm对项目名称的设置 1,本文适用的情况: 复制一个vue项目并修改项目名 此操作参见: https://blog.imgtouch.com/index.php/2023/05/28/ru-he-gei-yi-ge-vue-xiang-mu-zhong-ming-ming 阅读全文
posted @ 2022-08-18 16:10 刘宏缔的架构森林 阅读(847) 评论(0) 推荐(0)
摘要: 一,安装pdf-lib库: 1,pdf-lib的官网: https://pdf-lib.js.org/ 2,安装pdf-lib liuhongdi@lhdpc:/data/vue/pdf/image2pdf$ npm install --save pdf-lib added 4 packages i 阅读全文
posted @ 2022-08-06 16:54 刘宏缔的架构森林 阅读(6947) 评论(0) 推荐(0)
摘要: 一,安装pdf.js库: 1,pdf.js官网: http://mozilla.github.io/pdf.js/ 在npm的地址: https://www.npmjs.com/package/pdfjs-dist 2,安装: liuhongdi@lhdpc:/data/vue/pdf/image2 阅读全文
posted @ 2022-07-24 10:36 刘宏缔的架构森林 阅读(6299) 评论(1) 推荐(1)
摘要: 一,安装jszip 1,代码地址: https://github.com/Stuk/jszip 2,安装: liuhongdi@lhdpc:/data/vue/pdf/image2pdf$ npm install --save jszip added 7 packages in 3s 3,查看安装后 阅读全文
posted @ 2022-07-23 08:25 刘宏缔的架构森林 阅读(1439) 评论(0) 推荐(0)
上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 179 下一页