QRCode API

vps12月前20 次点击


演示地址:https://120424.com/qrcode/

最后更新于2019.6.12

删除QQ和百度网盘的二维码接口,替换了2个其他二维码接口

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Cache-Control" content="no-transform " />
  6. <meta http-equiv="Cache-Control" content="no-siteapp" />
  7. <meta name="applicable-device" content="pc,mobile">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,IE=11,IE=10,IE=9,IE=8 chrome=1">
  10. <meta name="renderer" content="webkit">
  11. <meta name="theme-color" content="#2932e1" />
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
  13. <meta http-equiv="x-dns-prefetch-control" content="on" />
  14. <meta name="mobile-web-app-capable" content="yes">
  15. <meta name="apple-mobile-web-app-capable" content="yes">
  16. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  17. <link rel="shortcut icon" type="image/ico" >
  18. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,minimal-ui">
  19. <title>QRCode API_二维码网址接口</title>
  20. <link rel="stylesheet" >
  21. <style>
  22.         body {
  23.             overflow-x: hidden !important;
  24.             word-wrap: break-word;
  25.         }

  26.         pre {
  27.             overflow: auto;
  28.         }

  29.         html ::-webkit-scrollbar {
  30.             width: 6px;
  31.             height: 4px;
  32.             background: 0 0;
  33.         }

  34.         html ::-webkit-scrollbar-thumb {
  35.             background: rgba(0, 0, 0, .3);
  36.         }
  37.     </style>
  38. </head>
  39. <body>
  40. <div class="container grid-md">
  41. <h1 class="h2 text-center sk-mt-8">二维码 API 接口</h1>
  42. <div class="sk-mt-4">
  43. <h2 class="h4">西部数码<small class="sk-pl-2">微信支付</small></h2>
  44. <div class="form-group">
  45. <textarea class="form-input" id="inputWestCN" type="text" placeholder="Input some text here ..."></textarea><br>
  46. <button class="btn btn-primary" type="submit" onclick="generateWestCN()">点击生成</button>
  47. </div>
  48. <img id="qrWestCN">
  49. </div>
  50. <div class="sk-mt-4">
  51. <h2 class="h4">kd128工具网<small class="sk-pl-2">链接分享</small></h2>
  52. <div class="form-group">
  53. <textarea class="form-input" id="inputkd128" type="text" placeholder="Input some text here ..."></textarea><br>
  54. <button class="btn btn-primary" type="submit" onclick="generatekd128()">点击生成</button>
  55. </div>
  56. <img id="qrkd128">
  57. </div>
  58. <div class="sk-mt-4">
  59. <h2 class="h4">K780数据网<small class="sk-pl-2">不支持 HTTPS</small></h2>
  60. <div class="form-group">
  61. <textarea class="form-input" id="inputk780" type="text" placeholder="Input some text here ..."></textarea><br>
  62. <button class="btn btn-primary" type="submit" onclick="generatek780()">点击生成</button>
  63. </div>
  64. <img id="qrk780">
  65. </div>
  66. <div class="sk-mt-4">
  67. <h2 class="h4">网易 LOFTER<small class="sk-pl-2">微信分享</small></h2>
  68. <div class="form-group">
  69. <textarea class="form-input" id="inputLofter" type="text" placeholder="Input some text here ..."></textarea><br>
  70. <button class="btn btn-primary" type="submit" onclick="generateLofter()">点击生成</button>
  71. </div>
  72. <img id="qrLofter">
  73. </div>
  74. <div class="sk-mt-4">
  75. <h2 class="h4">bbj.me</h2>
  76. <div class="form-group">
  77. <textarea class="form-input" id="inputLWL" type="text" placeholder="Input some text here ..."></textarea><br>
  78. <button class="btn btn-primary" type="submit" onclick="generateLWL()">点击生成</button>
  79. </div>
  80. <img id="qrLWL">
  81. </div>
  82. <div class="sk-mt-4">
  83. <h2 class="h4">短网址 二维码接口</h2>
  84. <div class="form-group">
  85. <textarea class="form-input" id="input951" type="text" placeholder="Input some text here ..."></textarea><br>
  86. <button class="btn btn-primary" type="submit" onclick="generate951()">点击生成</button>
  87. </div>
  88. <img id="qr951"><img id="qr12i">
  89. </div>
  90. </div>
  91. <script>
  92.         function generateWestCN() {
  93.             document.getElementById('qrWestCN').src = "https://www.west.cn/web/tool/codepayimg?uuid=" + document.getElementById('inputWestCN').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  94.         }
  95.         function generatekd128() {
  96.             document.getElementById('qrkd128').src = "https://tool.kd128.com/qrcode?text=" + document.getElementById('inputkd128').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  97.         }
  98.         function generatek780() {
  99.             document.getElementById('qrk780').src = "https://sapi.k780.com/?app=qr.get&data=" + document.getElementById('inputk780').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  100.         }
  101.         function generateLofter() {
  102.             document.getElementById('qrLofter').src = "https://www.lofter.com/genBitmaxImage?url=" + document.getElementById('inputLofter').value.replace(/\&/g, '%26').replace(/\?/g, '%3f') + "&w=200&h=200";
  103.         }
  104.         function generateLWL() {
  105.             document.getElementById('qrLWL').src = "https://bbj.me/qr.php?text=" + document.getElementById('inputLWL').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  106.         }
  107.         function generate951() {
  108.             document.getElementById('qr951').src = "https://915.im/codeImage.ashx?text=" + document.getElementById('input951').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  109.             document.getElementById('qr12i').src = "https://12i.cn/codeImage.ashx?text=" + document.getElementById('input951').value.replace(/\&/g, '%26').replace(/\?/g, '%3f');
  110.         }
  111.     </script>

  112. </body>
  113. </html>
复制代码
上一主题:租一个腾讯云
下一主题:BC集团的资金真的雄厚
最新回复 (1) 直到 2019-06-13 09:00
返回