前端二维码生成方式

引入jquery.qrcode.min.js
html:

<div id="qrcode" width="700"height="500" >
</div>

js:
var content="ddddd"
$("#qrcode").qrcode(content);



原文地址:https://www.cnblogs.com/keyi/p/13275244.html