This commit is contained in:
parent
a86fa2da12
commit
e0c1b922d9
18
index.html
18
index.html
@ -43,6 +43,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.relocating {
|
.relocating {
|
||||||
|
opacity: 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
transition: all .3s ease;
|
transition: all .3s ease;
|
||||||
}
|
}
|
||||||
@ -74,15 +75,18 @@
|
|||||||
<div class="row" style="height: 20%;">
|
<div class="row" style="height: 20%;">
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<div class="btn-group" role="group" aria-label="Links">
|
<div class="btn-group" role="group" aria-label="Links">
|
||||||
<p><a style="text-decoration: none;color: whitesmoke;opacity: 0.5;" href="http://beian.miit.gov.cn"
|
<div id="relocating">
|
||||||
target="_blank">陕ICP备16007928号</a></p>
|
跳转到: <span id="relocate-location"></span>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
<a style="text-decoration: none;color: whitesmoke;opacity: 0.5;" href="http://beian.miit.gov.cn"
|
||||||
|
target="_blank">陕ICP备16007928号</a>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="relocating" hidden>
|
|
||||||
跳转到: <span id="relocate-location"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
|
||||||
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
|
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
|
||||||
@ -93,11 +97,11 @@
|
|||||||
|
|
||||||
if (event.which === KEY_B) {
|
if (event.which === KEY_B) {
|
||||||
document.getElementById("relocate-location").innerText = "书签页";
|
document.getElementById("relocate-location").innerText = "书签页";
|
||||||
document.getElementById("relocating").hidden = false;
|
document.getElementById("relocating").style.opacity = 1;
|
||||||
|
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
document.getElementById("relocate-location").innerText = "";
|
document.getElementById("relocate-location").innerText = "";
|
||||||
document.getElementById("relocating").hidden = true;
|
document.getElementById("relocating").style.opacity = 0;
|
||||||
window.location.href = '/bookmarks.html';
|
window.location.href = '/bookmarks.html';
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user