使用qrcode插件
<div id="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode(document.getElementById("qrcode"),{
width:200,
height:200
});
qrcode.makeCode("https://www.baidu.com");
</script>
标签:200,插件,www,生成,二维码,qrcode
From: https://www.cnblogs.com/doit9825/p/16884906.html