简单的 自动生成 二维码

<script type="text/javascript">
     var _qrContent='你的网站地址',_qrLogo='',_qrWidth=120,_qrHeight=120,_qrType = 'auto';
      if(!_qrContent) var _qrContent =escape(document.location.href);
     document.write(unescape("%3Cscript src='http://qrcode.leipi.org/js.html?qw="+_qrWidth+"&qh="+_qrHeight+"&qt="+_qrType+"&qc="+escape(_qrContent)+"&ql="+escape(_qrLogo)+"' type='text/javascript'%3E%3C/script%3E"));
</script>

posted @ 2016-04-08 15:48  隐匿山猫  阅读(292)  评论(0编辑  收藏  举报