239 lines
34 KiB
HTML
239 lines
34 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>生成二维码</title>
|
|
<!-- Bootstrap -->
|
|
<link href="https://cdn.ghink.net/assembly/bootstrap/4.6.1/css/bootstrap.min.css" rel="stylesheet">
|
|
<!-- Favicon -->
|
|
<link rel="icon" href="https://cdn.ghink.net/image/avatar/Bigsk.png" type="image/png">
|
|
<script src="https://cdn.ghink.net/js/vue/2.6.14/vue.min.js"></script>
|
|
<script src="https://cdn.ghink.net/js/qrcode/qrcode.js"></script>
|
|
<style>
|
|
#qrcode{
|
|
/*text-align: center;*/
|
|
/*display: table-cell;*/
|
|
/*width: 240px;*/
|
|
/*height: 240px;*/
|
|
/*vertical-align:middle;*/
|
|
/*position: relative;*/
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
<a class="navbar-brand" href="https://tools.ianxia.com"><b>Ian</b>Tools</a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav ml-auto">
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
语言
|
|
</a>
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
|
<a class="dropdown-item" href="en_US.html"><b>English</b></a>
|
|
</div>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://www.ianxia.com">首页</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://blog.ianxia.com">博客</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://demo.ianxia.com">DEMO</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://adsb.ianxia.com">ADS-B</a>
|
|
</li>
|
|
<li class="nav-item active">
|
|
<a class="nav-link" href="../zh_CN.html">小工具</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
<section>
|
|
<div class="jumbotron text-center mt-2">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<h1>生成二维码</h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section>
|
|
<div class="container" id="app">
|
|
<div class="text-center">
|
|
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
|
<li class="nav-item">
|
|
<a class="nav-link active" id="text-tab" data-toggle="tab" href="#text" role="tab" aria-controls="text"
|
|
aria-selected="true">
|
|
<h6>文本</h6>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" id="link-tab" data-toggle="tab" href="#link" role="tab" aria-controls="link"
|
|
aria-selected="false">
|
|
<h6>网址</h6>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="tab-content border border-top-0" id="myTabContent">
|
|
<div class="tab-pane fade show active" id="text" role="tabpanel" aria-labelledby="text-tab">
|
|
<ul class="list-group list-group-flush">
|
|
<li class="list-group-item">
|
|
<form role="form">
|
|
<div>
|
|
<input type="text" class="form-control" v-model="input_text" placeholder="请输入内容"><br>
|
|
</div>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane fade" id="link" role="tabpanel" aria-labelledby="link-tab">
|
|
<ul class="list-group list-group-flush">
|
|
<li class="list-group-item">
|
|
<form role="form">
|
|
<div>
|
|
<input type="text" class="form-control" v-model="input_link" placeholder="http(s)://"><br>
|
|
</div>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<center id="qrcode" title="Did you just... Rick Rolled me?">
|
|
<canvas width="240" height="240" style="display: none;"></canvas>
|
|
<img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAFudJREFUeF7tneF6G7kOQ9v3f+jez6n3ptlNfc6YGEXjYP9SJEEQkOxsm/788ePHrx8v/t+vX+eP+PPnzzGLU5wrMFCP6QxjEu8FCGeqz1fXuanufHV/8ZQrRJUQzBTnCgzUYzpDSiqEM9Xnq+vUwKENJAQzFf8KDNRjOkNoHT8IZ6rPV9epgUMbSAhmKv4VGKjHdIbQOmrgFJE71FkhKhK24WGKcwUG6jGdwfBkzhBOU+MKZ/oCh7aUEMxU/CswUI/pDKF19AVOEblDnRWiImEbHqY4V2CgHtMZDE/mDOE0Na5wpi9waEsJwUzFvwID9ZjOEFpHX+B/iNxlIY8W+11ERbsgHhLmSGCgGgmcxMUKDNM5aIZbfXyBX2HQXWYwC3m0dJpjWt8ILoGBahgcdIa4WIGBMFKcZqiBicFw3CykBs6QTlzXwBmeI1WusizCSWSQ6Kb1qf8tnsBANQwOOkNcrMBAGClOM/QFJgbDcbOQvsAZ0onrGjjDc6TKVZZFOIkMEt20PvXvC2wYyp0x++wPsXJ8YyWzkL7ASKM6QFzTZaianHyIZuhH6JMX8O/yZiE1cGYpxHUNfOeZiEqsg8gmDJRvMFIPU4POEM4VGKYYKf/t1YC/O008rOhBGA0GOkNzGgzjj9CmCQ1C8emglE/9jehMDTpDOFdwPcVI+YZL4mFFjxVc05wGQw1s1CBeDVnm4bHEQhM4Jh/jTX8SJvGwogdhNBjoDM1pMNTAxPKFvirIUUbHSHSmOAlzhx6E0cxJZ2hOg6EGJpZr4A8MkegMnSTMHXoQRjMnnaE5DYYamFiugWtgqZGjx2pgaS4iyhBvbkNTZ/L9cgUGmmEFlzv0WME1zWkw9AUmxcpLQpZ5eCyx0ASOySVj+pMw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GM3H9B1wEpcruCIeEhinPSjf8ERzmB7jF9gAPftMgoizMdbAnmESLu3bdJr2oHyDgeYwPWpgw3ToTGJhISh/LUMYz+6f+uEO4SRzEA+UT/1TF3oNbJgOnVkhiilUwjitb/LJHAmM0x6Ub+akOUyPGtgwHTqTWFgISl/gX78eUrliV4keNfDZjvijfmJhZ8MljGf370fod4b7At+5MESsECaZYwechHEFT8RDAuO0B+UbnmgO06MvsGE6dCaxsBCUfoT+Lh+hzxbMivrmJiMcCfMlajzCSfXNx1PigeIGA9Wg+A77NHMSTqpB+Tee8AUmMq8QN0TQHBGyh7/QfIqxBn5ncLpPyjdcUw2j2xqYXHGPR8iugSXbj48ZYVOj6T4pvwamDRyI77Dwt487NfCBrf396A77pF3WwJFV/y6yw8Jr4NxCd9hnDZzbJ1baYeE1MK5JH9hhnzWwXtf84A4Lr4Hne/ynwg77rIFz+8RKOyy8BsY16QM77LMG1uuaH9xh4TXwfI99gf/L4f8AS52sLkkMqgIAAAAASUVORK5CYII=" style="display: block;">
|
|
</center>
|
|
<hr>
|
|
<h5>使用类库:<a href="https://github.com/davidshimjs/qrcodejs">qrcode.js</a></h5>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<hr>
|
|
<script>
|
|
let vue = new Vue({
|
|
el: '#app',
|
|
data: {
|
|
input_text: "",
|
|
input_link: ""
|
|
},
|
|
watch: {
|
|
input_text: function() {
|
|
if (this.input_text.toString().length != 0) {
|
|
document.getElementById("qrcode").innerHTML = '';
|
|
let qrcode = new QRCode('qrcode', {
|
|
text: this.input_text.toString(),
|
|
width: 240,
|
|
height: 240,
|
|
colorDark: "#000000",
|
|
colorLight: "#ffffff"
|
|
});
|
|
} else {
|
|
document.getElementById('qrcode').setAttribute('title', 'Did you just... Rick Rolled me?');
|
|
document.getElementById('qrcode').innerHTML = `
|
|
<canvas width="240" height="240" style="display: none;"></canvas>
|
|
<img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYA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MTQ/IGNmVWLNTgqIH5IZDYVaIG7bMGJoZq4C8MTW8uSffDMMKQuP0S5kvUIL5qYGKoBq6B/6KRFQ8RI80a2LAkP3dRqRVPZMJA51OMlE/9zfkK89AcKzAoLqa/F9o02TuGyKRlGHzUw9QgHIkeBkc/A/cz8FQn0XwSPhnHgKEepgbhSPQwOGrgGniqk2g+CZ+MY8BQD1ODcCR6GBw18D9k4KkgjpBPxjEYyVyJHgbHoxjCeMndG6fBMJ3T5E/npDlMfapBc6ge9BmYmpzh3BBBc9AyEj0IA50TxhqYGPw8Jy7NvqkGoVE9amCi8eOclmHIdp2ejyKMNbDnlrg0+6YahEb1qIGJxhrYMeR42lJrEmvEP/k4YurXwJMN3uQasqkVLSPRgzDQOWHsDUwM9hXaM7QwMmEuMkeix5QSwlgDe4aJS7NvqkFoVI++QhON7tXQkO06PR9lBLM3ToPh+Ql95nROmsPUpxo0jepRAxONNbBjyPG0pdYk1oi/n4EnDC/MnS7zApWepokeU0oIY1+hPcPEpdk31SA0psf/ABYPh4v0oDVBAAAAAElFTkSuQmCC" style="display: block;">`;
|
|
}
|
|
},
|
|
input_link: function() {
|
|
if (this.input_link.toString().length != 0 && (this.input_link.toString().includes("http://") || this.input_link.toString().includes("https://"))) {
|
|
document.getElementById("qrcode").innerHTML = '';
|
|
let qrcode = new QRCode('qrcode', {
|
|
text: this.input_link.toString(),
|
|
width: 240,
|
|
height: 240,
|
|
colorDark: "#000000",
|
|
colorLight: "#ffffff"
|
|
});
|
|
} else {
|
|
document.getElementById('qrcode').setAttribute('title', 'Did you just... Rick Rolled me?');
|
|
document.getElementById('qrcode').innerHTML = `
|
|
<canvas width="240" height="240" style="display: none;"></canvas>
|
|
<img alt="Scan me!" src=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAF41JREFUeF7tne1a29wSQ8v9X3TPE8h5CaXJWs7IOzZV/+750GgkbwcKvP369ev3rx/+7/fvHz/i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MJA51OMlE/9zfkK89AcKzAoLqa/F9o02TuGyKRlGHzUw9QgHIkeBkc/A/cz8FQn0XwSPhnHgKEepgbhSPQwOGrgGniqk2g+CZ+MY8BQD1ODcCR6GBw18D9k4KkgjpBPxjEYyVyJHgbHoxjCeMndG6fBMJ3T5E/npDlMfapBc6ge9BmYmpzh3BBBc9AyEj0IA50TxhqYGPw8Jy7NvqkGoVE9amCi8eOclmHIdp2ejyKMNbDnlrg0+6YahEb1qIGJxhrYMeR42lJrEmvEP/k4YurXwJMN3uQasqkVLSPRgzDQOWHsDUwM9hXaM7QwMmEuMkeix5QSwlgDe4aJS7NvqkFoVI++QhON7tXQkO06PR9lBLM3ToPh+Ql95nROmsPUpxo0jepRAxONNbBjyPG0pdYk1oi/n4EnDC/MnS7zApWepokeU0oIY1+hPcPEpdk31SA0psf/ABYPh4v0oDVBAAAAAElFTkSuQmCC" style="display: block;">`;
|
|
}
|
|
}
|
|
}
|
|
})
|
|
|
|
|
|
let date = new Date();
|
|
</script>
|
|
<footer class="text-center">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<p style="color: #516069"><strong>版权所有 © Ian Xia <script>document.write(date.getFullYear().toString());</script> 保留所有权利</strong></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="https://cdn.ghink.net/js/jquery/jquery-3.6.0.min.js"></script>
|
|
<!-- Grey Filter Detector -->
|
|
<script>
|
|
$.ajax({
|
|
type: "GET",
|
|
url: "https://open.geh.ink/grey_filter",
|
|
dataType: "json",
|
|
success: function(data, textStatus){
|
|
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
|
|
// Accurate Slot
|
|
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
|
|
$("html").css({
|
|
'-webkit-filter': 'grayscale(100%)',
|
|
'-moz-filter': 'grayscale(100%)',
|
|
'-ms-filter': 'grayscale(100%)',
|
|
'-o-filter': 'grayscale(100%)',
|
|
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
|
'_filter': 'none'
|
|
});
|
|
break;
|
|
}
|
|
}
|
|
for (let i=0;i<data["content"]["day_slot"].length;i++) {
|
|
// Day Slot
|
|
let begin = new Date(
|
|
date.getFullYear().toString() + "-" +
|
|
data["content"]["day_slot"][i][0][0].toString() + "-" +
|
|
data["content"]["day_slot"][i][0][1].toString() + " " +
|
|
data["content"]["day_slot"][i][0][2].toString() + ":" +
|
|
data["content"]["day_slot"][i][0][3].toString() + ":" +
|
|
data["content"]["day_slot"][i][0][4].toString()
|
|
)
|
|
let end = new Date(
|
|
date.getFullYear().toString() + "-" +
|
|
data["content"]["day_slot"][i][1][0].toString() + "-" +
|
|
data["content"]["day_slot"][i][1][1].toString() + " " +
|
|
data["content"]["day_slot"][i][1][2].toString() + ":" +
|
|
data["content"]["day_slot"][i][1][3].toString() + ":" +
|
|
data["content"]["day_slot"][i][1][4].toString()
|
|
)
|
|
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
|
$("html").css({
|
|
'-webkit-filter': 'grayscale(100%)',
|
|
'-moz-filter': 'grayscale(100%)',
|
|
'-ms-filter': 'grayscale(100%)',
|
|
'-o-filter': 'grayscale(100%)',
|
|
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
|
'_filter': 'none'
|
|
});
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
<script src="https://cdn.ghink.net/js/popper/1.16.1/popper.min.js"></script>
|
|
<script src="https://cdn.ghink.net/assembly/bootstrap/4.6.1/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html> |