<!DOCTYPE html>
<html>
  <head>
    <meta charset='UTF-8'>
    <title>HTML 生成 6 位数顺序二维码</title>
    <script src='https://cdn.staticfile.org/qrcodejs/1.0.0/qrcode.min.js'></script>
  </head>
  <body>
    <div id='qrcode'></div>
    <script>
      var qr = new QRCode(document.getElementById('qrcode'), {
        width: 256,
        height: 256
      });
      for (var i = 100000; i <= 999999; i++) {
        qr.makeCode(i.toString());
        setTimeout(function() {
          qr.clear();
        }, 5000);
      }
    </script>
  </body>
</html>
HTML 生成 6 位数顺序二维码 - 在线工具

原文地址: https://www.cveoy.top/t/topic/m0dt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录