Edit D:\xinhaisoft\crisis_new\inc\qrcode.htm
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="renderer" content="webkit"> <title>?????</title> <link rel="stylesheet" href="../css/reset.css"> <style> body { text-align: center; margin: 10px; } button { font-size: 14px; cursor: pointer; } #text { width: 340px; color: #4E81DC; outline: 0; font-size: 15px; font-family: Monaco, Menlo, Consolas, "Courier New", "FontAwesome", monospace } #qrcode { margin-top: 20px; } #qrcode canvas { box-shadow: 0 0 5px #333; } #logo { display: none; } a { color: #4E81DC; } a:hover { color: #E19C4F; } </style> </head> <body> <form> <input type="text" id="text" autofocus autocomplete="off" required placeholder="????????"> <button type="submit" title="?????????????????????">???</button> <button type="button" id="btn-visit" title="????????????????">???</button> <button type="button" class="btn-size" data-size="200" title="200*200">??</button> <button type="button" class="btn-size" data-size="150" title="150*150">??</button> <button type="button" class="btn-size" data-size="100" title="100*100">??</button> <button type="button" id="btn-image" title="???/???LOGO???">??</button> </form> <div id="qrcode"></div> <img id="logo" src="../favicon.ico"> <script src="/Scripts/jquery.min.js"></script> <script src="/Scripts/store2.min.js"></script> <script src="/Scripts/jquery-qrcode.min.js"></script> <script src="/Scripts/getquerystring.js"></script> <script> $(function () { var wh = store('inc-qrcode-wh') || 200 var text = GetQueryString('text') var mode = 4 $('#text').val(text).attr('title', '?????' + text + '\n???????????????????????????????????????????????????') // ?????? $('button.btn-size').on('click', function () { wh = $(this).data('size') store('inc-qrcode-wh', wh) $('form').trigger('submit') }) // ???LOGO $('#btn-image').on('click', function () { mode = mode === 4 ? 0 : 4 $('form').trigger('submit') }) // ??? $('form').on('submit', function () { var text = $('#text').val() $('#qrcode').empty().qrcode({ text: text, size: wh, quiet: 2, background: '#fff', ecLevel: 'H', mode: mode, mSize: 0.2, image: document.getElementById('logo') }) return false }).trigger('submit') $('#btn-visit').on('click', function () { window.open($('#text').val()) }) }) </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de