当前位置:网站首页>QRcode custom QR code middle picture
QRcode custom QR code middle picture
2022-06-29 14:32:00 【Chon. Wang】
Reprinted from : Click to view the reprint source
First step : Download the required files
Files to download , Click me to download
The second step : HTML Code
<div id="qr-code" class="qr-code">
<img id="qrCodeIco" style="display: none;" src=" Your picture path " alt="">
</div>
The third step : JavaScript Code
// QR code link
$('#qr-code').qrcode("http://www.baidu.com");
// Generate qr code
$("#qr-code canvas")[0].getContext('2d').drawImage($("#qrCodeIco")[0], 100, 100, 65, 65);
边栏推荐
- Introduction to bloom filter
- [QT tutorial] QPushButton key and double click effect
- golang代码规范整理
- 每周 Postgres 世界动态 2022w25
- 《canvas》之第6章 图片操作
- Industry analysis - quick intercom, building intercom
- Source code of campus secondary market
- 类模板案例-【数组类封装】
- Why is redis so fast? Is redis single threaded or multi-threaded?
- Redis的事务机制
猜你喜欢

投资人跌下神坛:半年0出手,转行送外卖

Hardware development notes (VIII): basic process of hardware development, making a USB to RS232 module (VII): creating a basic dip component (crystal oscillator) package and associating the principle

微信小程序:(更新)云开发微群人脉

【置顶】博客使用须知,公告板,留言板,关于博主

喜迎市科协“十大”•致敬科技工作者 | 卢毅:守护电网传输安全的探索者

"Dead" Nokia makes 150billion a year

Nuscenes configuration information about radar

Turbulent intermediary business, restless renters

【黑马早报】中公教育市值蒸发逾2000亿;新东方直播粉丝破2000万;HM关闭中国首店;万科郁亮称房地产已触底;微信上线“大爆炸”功能...

部署搭建decentraland流程讲解
随机推荐
"Dead" Nokia makes 150billion a year
【Qt 教程】QPushButton 按键和双击效果
[blackduck] configure the specified Synopsys detect scan version under Jenkins
【shell】jenkins shell实现自动部署
Hardware development notes (VIII): basic process of hardware development, making a USB to RS232 module (VII): creating a basic dip component (crystal oscillator) package and associating the principle
节点数据采集和标签信息的远程洪泛传输
Tiktok's global short video dominance may be reversed by YouTube
Wechat applet: new and exclusive cloud development wechat group contacts
. Net program configuration file operation (INI, CFG, config)
《canvas》之第6章 图片操作
MySQL数据库:使用show profile命令分析性能
用手机在指南针上开户靠谱吗?这样炒股有没有什么安全隐患
动荡的中介生意,不安的租房人
Introduction to veeambackup & replication
Redis主从复制原理
[Jenkins] pipeline controls the sequential execution of multiple jobs for timed continuous integration
【VEUX开发者工具的使用-getters使用】
MySQL数据库:drop、truncate、delete的区别
广州开展瓶装气安全宣传活动,普及燃气安全知识
Wechat applet: Yunkai publishes white wall wechat applet source code download server free and domain name support traffic main revenue