遇到了就记录:
//生成页面二维码
<script src="static/js/jquery.min.js"></script>
<script src="static/js/jquery.qrcode.min.js"></script>
javascript:
jQuery('#output').qrcode({ width: 150, height: 150, text: 'http://www.lc-web.cn/portal/article/index/id/37/cid/13.html' });
html:
<div id="output"></div>