jquery二维码生成

 

js引入

<script src="static/js/jquery.min.js"></script>
<script src="static/js/jquery.qrcode.min.js"></script>
<script>
      jQuery('#output').qrcode({ width: 150, height: 150, text: 'http://www.lc-web.cn/portal/article/index/id/37/cid/13.html' });
</script>

  

 
html:
<div id="output"></div>

  

posted @ 2019-05-13 14:50  风生`  阅读(294)  评论(0编辑  收藏  举报