利用js生成二维码
$('#barcode').qrcode({ width: 300, height: 300, render: !!document.createElement('canvas').getContext ? 'canvas' : 'table', text: "http://www.163.com" });
参考:
https://github.com/jeromeetienne/jquery-qrcode
$('#barcode').qrcode({ width: 300, height: 300, render: !!document.createElement('canvas').getContext ? 'canvas' : 'table', text: "http://www.163.com" });
参考:
https://github.com/jeromeetienne/jquery-qrcode