引用:
<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);