使用qrcode.js创建二维码
发布时间
阅读量:
阅读量
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="qrcode"></div>
</body>
</html>
<script src="./qrcode.js"></script>
<script>
new QRCode(document.getElementById('qrcode'), 'your content');
</script>
成效:

其余参数:
var qrcode = new QRC
全部评论 (0)
还没有任何评论哟~
