WEB H5 JS QRCode二维码快速自动生成

https://github.com/davidshimjs/qrcodejs

HTML:

<divcolor: #ff6600">qrcode"></div>

JavaScript:

<script src="http://www.likecs.com/~/js/bundle/jquery/jquery.js"></script> <script src="http://www.likecs.com/~/js/bundle/qrcode/qrcode.js"></script> <script> window.onload = function (){ makeCode(); } var qrcode = new QRCode("qrcode", { text: "@(Request.Query["lotno"].ToString())", width: 80, height: 80, colorDark: "#000000", colorLight: "#ffffff", correctLevel: QRCode.CorrectLevel.H }); </script>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wpzpzy.html