This commit is contained in:
rainerosion 2022-02-05 18:50:28 +08:00
parent 8319c804ad
commit 47b85af231
2 changed files with 92 additions and 94 deletions

View File

@ -51,5 +51,94 @@
class="fas fa-rss"></i></a></div>
</div>
</footer>
<div class="progress-bar"></div>
<div id="searchModal" class="modal">
<div class="modal-content">
<div class="search-header"><span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span> <input
type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字" class="search-input"></div>
<div id="searchResult"></div>
</div>
</div>
<script src="<?php $this->options->themeUrl('static/js/search.js'); ?>"></script>
<script type="text/javascript">$(function () {
searchFunc("/search.xml", "searchInput", "searchResult")
})</script>
<div id="backTop" class="top-scroll"><a class="btn-floating btn-large waves-effect waves-light" href="#!"><i
class="fas fa-arrow-up"></i></a></div>
<canvas class="fireworks" style="position:fixed;left:0;top:0;z-index:1;pointer-events:none"></canvas>
<script src="<?php $this->options->themeUrl('static/materialize/materialize.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/masonry/masonry.pkgd.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/aos/aos.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/scrollprogress/scrollProgress.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/lightGallery/js/lightgallery-all.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/js/matery.js'); ?>"></script>
<script
type="text/javascript">var st, OriginTitile = document.title;
document.addEventListener("visibilitychange", function () {
document.hidden ? (document.title = "看不见我🙈~看不见我🙈~", clearTimeout(st)) : (document.title = "(๑•̀ㅂ•́) ✧被发现了~", st = setTimeout(function () {
document.title = OriginTitile
}, 3e3))
})</script>
<script type="text/javascript" src="<?php $this->options->themeUrl('static/js/anime.min.js'); ?>"></script>
<script type="text/javascript" src="<?php $this->options->themeUrl('static/js/fireworks.js'); ?>"></script>
<script
type="text/javascript">window.onload = function () {
document.onkeydown = function () {
var e = window.event || arguments[0];
return 123 != e.keyCode && ((!e.ctrlKey || !e.shiftKey || 73 != e.keyCode) && ((!e.shiftKey || 121 != e.keyCode) && ((!e.ctrlKey || 85 != e.keyCode) && void 0)))
}, document.oncontextmenu = function () {
return !1
}
}</script>
<script>!function () {
var t = document.createElement("script"), e = window.location.protocol.split(":")[0];
t.src = "https" === e ? "https://zz.bdstatic.com/linksubmit/push.js" : "http://push.zhanzhang.baidu.com/push.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(t, s)
}()</script>
<script src="<?php $this->options->themeUrl('static/js/clicklove.js'); ?>" async></script>
<script async src="<?php $this->options->themeUrl('static/js/busuanzi.pure.mini.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/instantpage/instantpage.js'); ?>" type="module"></script>
<script>
window.imageLazyLoadSetting = {isSPA: !1, preloadRatio: 1, processImages: null}
</script>
<script>
window.addEventListener("load", function () {
var t = /\.(gif|jpg|jpeg|tiff|png)$/i, r = /^data:image\/[a-z]+;base64,/;
Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function (a) {
var e = a.parentNode;
"A" === e.tagName && (e.href.match(t) || e.href.match(r)) && (e.href = a.dataset.original)
})
})
</script>
<script>
!function (n) {
n.imageLazyLoadSetting.processImages = o;
var e = n.imageLazyLoadSetting.isSPA, i = n.imageLazyLoadSetting.preloadRatio || 1,
r = Array.prototype.slice.call(document.querySelectorAll("img[data-original]"));
function o() {
e && (r = Array.prototype.slice.call(document.querySelectorAll("img[data-original]")));
for (var t, a = 0; a < r.length; a++) 0 <= (t = (t = r[a]).getBoundingClientRect()).bottom && 0 <= t.left && t.top <= (n.innerHeight * i || document.documentElement.clientHeight * i) && function () {
var e = r[a], t = e, n = function () {
r = r.filter(function (t) {
return e !== t
})
}, i = new Image, o = t.getAttribute("data-original");
i.onload = function () {
t.src = o, n()
}, t.src !== o && (i.src = o)
}()
}
o(), n.addEventListener("scroll", function () {
var t = o, e = n;
clearTimeout(t.tId), t.tId = setTimeout(function () {
t.call(e)
}, 500)
})
}(this)
</script>
</body>
</html>

View File

@ -101,14 +101,14 @@ $this->need('base/header.php');
<div class="card-content">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/aplayer/1.10.1/APlayer.min.css">
<div class="music-player">
<!--<div class="music-player">
<div class="title center-align"><i class="fas fa-music"></i>&nbsp;&nbsp;音乐</div>
<div class="row">
<div class="col s12">
<div id="aplayer" class="music"></div>
</div>
</div>
</div>
</div>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/aplayer/1.10.1/APlayer.min.js"></script>
<script>$(function () {
new APlayer({
@ -444,95 +444,4 @@ $this->need('base/header.php');
</div>
</div>
<?php //$this->need('/base/sidebar.php'); ?>
<?php $this->need('/base/footer.php'); ?>
<div class="progress-bar"></div>
<div id="searchModal" class="modal">
<div class="modal-content">
<div class="search-header"><span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span> <input
type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字" class="search-input"></div>
<div id="searchResult"></div>
</div>
</div>
<script src="<?php $this->options->themeUrl('static/js/search.js'); ?>"></script>
<script type="text/javascript">$(function () {
searchFunc("/search.xml", "searchInput", "searchResult")
})</script>
<div id="backTop" class="top-scroll"><a class="btn-floating btn-large waves-effect waves-light" href="#!"><i
class="fas fa-arrow-up"></i></a></div>
<script src="<?php $this->options->themeUrl('static/materialize/materialize.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/masonry/masonry.pkgd.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/aos/aos.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/scrollprogress/scrollProgress.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/lightGallery/js/lightgallery-all.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/js/matery.js'); ?>"></script>
<script
type="text/javascript">var st, OriginTitile = document.title;
document.addEventListener("visibilitychange", function () {
document.hidden ? (document.title = "看不见我🙈~看不见我🙈~", clearTimeout(st)) : (document.title = "(๑•̀ㅂ•́) ✧被发现了~", st = setTimeout(function () {
document.title = OriginTitile
}, 3e3))
})</script>
<canvas class="fireworks" style="position:fixed;left:0;top:0;z-index:1;pointer-events:none"></canvas>
<script type="text/javascript" src="<?php $this->options->themeUrl('static/js/anime.min.js'); ?>"></script>
<script type="text/javascript" src="<?php $this->options->themeUrl('static/js/fireworks.js'); ?>"></script>
<script
type="text/javascript">window.onload = function () {
document.onkeydown = function () {
var e = window.event || arguments[0];
return 123 != e.keyCode && ((!e.ctrlKey || !e.shiftKey || 73 != e.keyCode) && ((!e.shiftKey || 121 != e.keyCode) && ((!e.ctrlKey || 85 != e.keyCode) && void 0)))
}, document.oncontextmenu = function () {
return !1
}
}</script>
<script>!function () {
var t = document.createElement("script"), e = window.location.protocol.split(":")[0];
t.src = "https" === e ? "https://zz.bdstatic.com/linksubmit/push.js" : "http://push.zhanzhang.baidu.com/push.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(t, s)
}()</script>
<script src="<?php $this->options->themeUrl('static/js/clicklove.js'); ?>" async></script>
<script async src="<?php $this->options->themeUrl('static/js/busuanzi.pure.mini.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('static/instantpage/instantpage.js'); ?>" type="module"></script>
<script>
window.imageLazyLoadSetting = {isSPA: !1, preloadRatio: 1, processImages: null}
</script>
<script>
window.addEventListener("load", function () {
var t = /\.(gif|jpg|jpeg|tiff|png)$/i, r = /^data:image\/[a-z]+;base64,/;
Array.prototype.slice.call(document.querySelectorAll("img[data-original]")).forEach(function (a) {
var e = a.parentNode;
"A" === e.tagName && (e.href.match(t) || e.href.match(r)) && (e.href = a.dataset.original)
})
})
</script>
<script>
!function (n) {
n.imageLazyLoadSetting.processImages = o;
var e = n.imageLazyLoadSetting.isSPA, i = n.imageLazyLoadSetting.preloadRatio || 1,
r = Array.prototype.slice.call(document.querySelectorAll("img[data-original]"));
function o() {
e && (r = Array.prototype.slice.call(document.querySelectorAll("img[data-original]")));
for (var t, a = 0; a < r.length; a++) 0 <= (t = (t = r[a]).getBoundingClientRect()).bottom && 0 <= t.left && t.top <= (n.innerHeight * i || document.documentElement.clientHeight * i) && function () {
var e = r[a], t = e, n = function () {
r = r.filter(function (t) {
return e !== t
})
}, i = new Image, o = t.getAttribute("data-original");
i.onload = function () {
t.src = o, n()
}, t.src !== o && (i.src = o)
}()
}
o(), n.addEventListener("scroll", function () {
var t = o, e = n;
clearTimeout(t.tId), t.tId = setTimeout(function () {
t.call(e)
}, 500)
})
}(this)
</script>
</body>
</html>
<?php $this->need('/base/footer.php'); ?>