引用:
<script src="assets/js/jquery.qrcode.min.js" charset="UTF-8"></script>
生成二维码:
var uuid={ id:plus.device.uuid, name:plus.device.vendor+" "+plus.device.model, }; jQuery(‘#qrcode‘).qrcode(JSON.stringify(uuid)); jQuery("#spUserName").html(loginInfo.account);
原文:https://www.cnblogs.com/hjblog/p/10817570.html