利用js生成二维码

            $('#barcode').qrcode({  300, height: 300, render: !!document.createElement('canvas').getContext ? 'canvas' : 'table', text: "http://www.163.com" });

参考:

https://github.com/jeromeetienne/jquery-qrcode


原文地址:https://www.cnblogs.com/MartinLee/p/7622672.html