38 lines
743 B
HTML
38 lines
743 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
__QRCODELIB__
|
|
</script>
|
|
<style>
|
|
html, body, table, div {
|
|
padding: 0px;
|
|
margin: 0 !important;
|
|
}
|
|
div#qrcode {
|
|
margin: 10px !important;
|
|
}
|
|
#qrcode {
|
|
width:300px;
|
|
height:300px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="qrcode" name="qrcode"></div>
|
|
<script type="text/javascript">
|
|
function genCode(code) {
|
|
new QRCode("qrcode", {
|
|
text: code,
|
|
width: 200,
|
|
height: 200,
|
|
colorDark : "#000000",
|
|
colorLight : "#ffffff",
|
|
correctLevel : QRCode.CorrectLevel.H
|
|
});
|
|
}
|
|
genCode("__SSURL__");
|
|
</script>
|
|
</body>
|
|
</html>
|