效果预览:
alist-head:
<!--Alist V3建议添加的-->
<script src="https://polyfill.io/v3/polyfill.min.js?features=String.prototype.replaceAll"></script>
<script src="https://time-counter.onmicrosoft.cn/counter.js" async="" id="online-counter" interval="240" api="https://time-counter.onmicrosoft.cn/counter" room="66"></script>
<!--51la统计-->
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>LA.init({id:"xxxxxxxx",ck:"xxxxxxx"})</script>
<!--引入字体,全局字体使用-->
<link rel="stylesheet" href="https://npm.elemecdn.com/lxgw-wenkai-webfont@1.1.0/lxgwwenkai-regular.css" />
<!--评论系统使用的js-->
<script src='https://unpkg.com/valine/dist/Valine.min.js'></script>
<!--不蒜子计数器-->
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<!-- Font6,自定义底部使用和看板娘使用的图标和字体文件-->
<link type='text/css' rel="stylesheet" href="https://npm.elemecdn.com/font6pro@6.0.1/css/fontawesome.min.css" media='all'>
<link href="https://npm.elemecdn.com/font6pro@6.0.1/css/all.min.css" rel="stylesheet">
<!--音乐播放器所用的文件-->
<!-- require APlayer -->
<link rel="stylesheet" href="https://npm.elemecdn.com/aplayer@1.10.1/dist/APlayer.min.css">
<script src="https://npm.elemecdn.com/aplayer@1.10.1/dist/APlayer.min.js"></script>
<!-- require MetingJS -->
<script src="https://npm.elemecdn.com/meting@2.0.1/dist/Meting.min.js"></script>
<style>
/*
樱花:https://www.dmoe.cc
夏沫:https://cdn.seovx.com
搏天:https://api.btstu.cn/doc/sjbz.php
姬长信:https://github.com/insoxin/API
小歪:https://api.ixiaowai.cn/
保罗:https://api.paugram.com
墨天逸:https://api.mtyqx.cn
岁月小筑:https://img.xjh.me
东方Project:https://img.paulzzh.com
*/
/*白天背景图*/
/*.hope-ui-light{
background-image: url("https://img.paulzzh.com") !important;
background-repeat:no-repeat;
background-size:cover;
background-attachment:fixed;
background-position-x:center;
text-align: center;
}*/
/* 白天模式背景 */
.hope-ui-light {
background-image: url(https://xxxxxxxx) !important;
background-attachment: fixed;
background-position: 100%;
background-size: cover;
text-align: center;
}
/* 黑夜模式背景 */
.hope-ui-dark {
background-image: url(https://s2.loli.net/2023/03/08/bNu3zJgXqZ8lF5s.webp) !important;
background-attachment: fixed;
background-position: 100%;
background-size: cover;
text-align: center;
}
/*夜间背景图*/
/*.hope-ui-dark {
background-image: url(https://cdn.seovx.com/d/?mom=302) !important;
background-repeat:no-repeat;
background-size:cover;
background-attachment:fixed;
background-position-x:center;
text-align: center;
}*/
/*主页主体框*/
/*白天*/
.hope-c-PJLV-igScBhH-css{
background: rgba(255, 255, 255, .4);
background-color: #ffffff72 !important;
backdrop-filter: saturate(180%) blur(20px)!important;
}
/*夜晚*/
.hope-c-PJLV-iigjoxS-css{
background: rgba(255, 255, 255, .4);
background-color: #00000090 !important;
backdrop-filter: saturate(180%) blur(20px)!important;
}
/*搜索框*/
.hope-c-PJLV-ikEIIxw-css{
background: rgba(255, 255, 255, .4);
background-color: #ffffff72 !important;
backdrop-filter: saturate(180%) blur(20px)!important;
}
/*全局字体*/
*{
font-family:LXGW WenKai;
}
*{
font-weight:bold;
}
body {
font-family: LXGW WenKai;
}
/*右下角侧边栏按钮透明*/
.hope-c-PJLV-ijgzmFG-css{
background-color: rgba(255, 255, 255, 0.5) !important;
}
/*输入栏里面跳舞的小人背景图*/
.vedit{
background-image:url(https://cdn.jsdelivr.net/gh/anwen-anyi/imgAnwen/images/OuNiJiang.gif);
background-size:contain;
background-repeat:no-repeat;
background-position:right bottom;
transition:all 0.25s ease-in-out 0s;
}
textarea#comment-textarea:focus{
background-position-y:120px;
transition:all 0.25s ease-in-out 0s;
}
/* 白天模式Readme框体毛玻璃 */
.hope-c-PJLV-ikSuVsl-css{
background-color: #ffffff72 !important;
backdrop-filter: blur(8px);
}
/* 黑夜模式Readme框体毛玻璃 */
.hope-c-PJLV-iiuDLME-css{
background-color: #00000090 !important;
backdrop-filter: blur(8px);
}
</style>
<!--看板娘 -自定义大小,隐藏对话框和对话框高度-->
<style type="text/css">
#waifu #live2d {
height: 350px!important;
width: 350px!important;
}
#waifu-tips {
top: -60px;
/*display:none !important;隐藏对话框*/
}
</style>
<!--看板娘加载指定模型-->
<script>
localStorage.setItem('modelId', '24');
localStorage.setItem('modelTexturesId', '0');
</script>
<!--自己选左右-->
<script src="https://api.itggg.cn/live2dnew/left/index.js"></script>
<!--以下四个两个主用两个备用的,选一条使用即可-->
<!--自己选左右-->
<script src="https://api.itggg.cn/live2dnew/left/index.js"></script>
<!-- <script src="https://api.itggg.cn/live2dnew/right/index.js"></script> -->
<!--备用的,自己选左右-->
<!-- <script src="https://luluossfile.lulufind.com/work/teacher_u20221017ce7b5991_1666420843832_19934968_file.js"></script>
<script src="https://luluossfile.lulufind.com/work/teacher_u20221017bb6d7454_1666420849979_19584065_file.js"></script> -->
<style>
.a1{
display: flex;
flex-direction: column;
align-items: center;
width: var(--hope-sizes-full);
/*padding-top: var(--hope-space-4);*/
padding-top: 0px;
padding-bottom: var(--hope-space-4);
}
.a2{
display: flex;
align-items: center;
padding-bottom: var(--hope-space-4);
flex-wrap: wrap;
justify-content: center;
color: #D3C88C;
}
.a3{
display: flex;
align-items: center;
padding-bottom: 0px;
flex-wrap: wrap;
justify-content: center;
color: #D3C88C;
}
/*隐藏设置按钮*/
.hope-c-PJLV-ibFwXFV-css .hope-c-PJLV:last-child{
display: none;
}
/*主页logo大小*/
.hope-c-PJLV-iktMgsV-css {
width: auto;
height: 75px!important;
margin-top: 20px;
}
/*隐藏底部管理footer*/
.hope-c-PJLV-ihQbspH-css{
display:none!important;
}
/*验证模态框*/
.swal-overlay--show-modal .swal-modal{
border-radius: 30px;
}
</style>
<style>
/* sakana */
html .sakana-box {
position: fixed;
right: 0;
bottom: 0;
transform-origin: 65% 100%; /* 从右下开始变换 */
}
.sakana-box {
width: 500px;
height: 80px;
position: relative;
pointer-events: none;
z-index: 100;
}
@media screen and (max-width: 768px){
.sakana-box {
display: none;
}
}
</style>
<style>
/*主页两个字*/
.hope-c-PJLV-iehpHsP-css {
color: wheat;
font-size: 18px;
}
/*音乐播放器侧边收缩*/
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
left: -66px!important;
}
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover {
left: 0!important;
}
/*看板娘面板侧边收缩*/
#waifu-toggle.waifu-toggle-active {
margin-left: -42px;
}
</style>
<style>
/*左侧侧边栏目录*/
/*白天模式*/
.hope-ui-light .hope-c-PJLV-ieGWMbI-css {
background: rgba(255, 255, 255, 0.3) !important;
}
/*夜间模式*/
.hope-ui-dark .hope-c-PJLV-ieGWMbI-css {
background-color:rgb(0 0 0 / 50%)!important;
}
/* 返回顶部 */
.hope-c-PJLV-ihVEsOa-css {
background: rgba(255, 255, 255, 0.3) !important;
}
.hope-ui-dark .hope-c-PJLV-ihVEsOa-css {
background-color:rgb(0 0 0 / 50%)!important;
}
/*正常情况未使用吸附功能*/
/*导航条*/
/*白天模式*/
.hope-ui-light .hope-c-PJLV-idaeksS-css {
background-color: rgba(255, 255, 255, 0.5)!important;
border-radius: 10px !important;
}
/*夜间模式*/
.hope-ui-dark .hope-c-PJLV-idaeksS-css {
background-color:rgb(0 0 0 / 50%)!important;
border-radius: 10px !important;
}
/*顶栏*/
.hope-c-PJLV-ikaMhsQ-css {
background: rgba(255, 255, 255, 0) !important;
}
/* 吸附到页面顶部 */
/*顶部*/
.hope-c-PJLV-icWrYmg-css {
background: rgba(255, 255, 255, 0) !important;
}
/*导航条*/
.hope-c-PJLV-icKsjdm-css::after {
background: rgba(255, 255, 255, 0) !important;
}
/*白天模式*/
.hope-ui-light .hope-c-PJLV-icKsjdm-css {
background-color: rgba(255, 255, 255, 0.5)!important;
border-radius: 10px !important;
}
/*夜间模式*/
.hope-ui-dark .hope-c-PJLV-icKsjdm-css {
background-color:rgb(0 0 0 / 50%)!important;
border-radius: 10px !important;
}
/*仅吸附导航栏*/
/*导航条*/
.hope-c-PJLV-ifdXShc-css::after {
background: rgba(255, 255, 255, 0) !important;
}
/*白天模式*/
.hope-ui-light .hope-c-hrsMRY {
background-color: rgba(255, 255, 255, 0.5)!important;
border-radius: 10px !important;
}
/*夜间模式*/
.hope-ui-dark .hope-c-hrsMRY {
background-color:rgb(0 0 0 / 50%)!important;
border-radius: 10px !important;
}
</style>
alist-body:
<script src="https://time-counter.onmicrosoft.cn/counter.js" async="" id="online-counter" interval="240" api="https://time-counter.onmicrosoft.cn/counter" room="666"></script>
<!-- 白小猫咪-->
<!--
<script src=" https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.0.min.js"></script>
<script>
L2Dwidget.init({
"model": {
jsonPath: " https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json" ,
"scale": 1
},
"display": {
"position": "right",
"width": 100,
"height": 150,
"hOffset": -20,
"vOffset": -20
},
"mobile": {
"show": false,
"scale": 0.5
},
"react": {
"opacityDefault": 1,
"opacityOnHover": 1
}
});
</script>
-->
<!-- 网页鼠标点击特效 - 核心价值观关键字 -->
<script>
(function () {
var a_idx = 0;
window.onclick = function (event) {
var a = new Array("❤富强❤", "❤民主❤", "❤文明❤", "❤和谐❤", "❤自由❤", "❤平等❤", "❤公正❤", "❤法治❤", "❤爱国❤","❤敬业❤", "❤诚信❤", "❤友善❤");
var heart = document.createElement("b"); //创建b元素
heart.onselectstart = new Function('event.returnValue=false'); //防止拖动
document.body.appendChild(heart).innerHTML = a[a_idx]; //将b元素添加到页面上
a_idx = (a_idx + 1) % a.length;
heart.style.cssText = "position: fixed;left:-100%;"; //给p元素设置样式
var f = 13, // 字体大小
x = event.clientX - f / 2 - 30, // 横坐标
y = event.clientY - f, // 纵坐标
c = randomColor(), // 随机颜色
a = 1, // 透明度
s = 0.8; // 放大缩小
var timer = setInterval(function () { //添加定时器
if (a <= 0) {
document.body.removeChild(heart);
clearInterval(timer);
} else {
heart.style.cssText = "font-size:16px;cursor: default;position: fixed;color:" +
c + ";left:" + x + "px;top:" + y + "px;opacity:" + a + ";transform:scale(" +
s + ");";
y--;
a -= 0.016;
s += 0.002;
}
}, 15)
}
// 随机颜色
function randomColor() {
return "rgb(" + (~~(Math.random() * 255)) + "," + (~~(Math.random() * 255)) + "," + (~~(Math
.random() * 255)) + ")";
}
}());
</script>
<!-- 渐变背景初始化,如果要使用渐变背景把下面的那一行注释去掉即可-->
<!-- 下面的几行都是渐变的一套,自定义头部内还有一个关联的自定义CSS -->
<!--<canvas id="canvas-basic"></canvas> -->
<script src="https://npm.elemecdn.com/granim@2.0.0/dist/granim.min.js"></script>
<script>
var granimInstance = new Granim({
element: '#canvas-basic',
direction: 'left-right',
isPausedWhenNotInView: true,
states : {
"default-state": {
gradients: [
['#a18cd1', '#fbc2eb'],
['#fff1eb', '#ace0f9'],
['#d4fc79', '#96e6a1'],
['#a1c4fd', '#c2e9fb'],
['#a8edea', '#fed6e3'],
['#9890e3', '#b1f4cf'],
['#a1c4fd', '#c2e9fb'],
['#fff1eb', '#ace0f9']
]
}
}
});
</script>
<!--<meting-js fixed="true" autoplay="false" theme="#409EFF" list-folded="true" auto="https://y.qq.com/n/yqq/playlist/7927599544.html"></meting-js>-->
<meting-js fixed="true" autoplay="false" theme="#409EFF" list-folded="true" server="netease" type="playlist" id="2346950274"></meting-js>
<!--延迟加载-->
<!--如果要写自定义内容建议都加到这个延迟加载的范围内-->
<div id="customize" style="display: none;">
<div>
<br />
<!--开站时间开始-->
<div style="background-color: #eee;;border-radius: 20px;bottom:10px;position:relative;width:280px;text-align:center;">
<script type="text/javascript">
function show_runtime() {
window.setTimeout("show_runtime()", 1000);
X = new Date("05/01/2024 00:00:00");
Y = new Date();
T = (Y.getTime() - X.getTime());
M = 24 * 60 * 60 * 1000;
a = T / M;
A = Math.floor(a);
b = (a - A) * 24;
B = Math.floor(b);
c = (b - B) * 60;
C = Math.floor((b - B) * 60);
D = Math.floor((c - C) * 60);
runtime_span.innerHTML = "本站已运行 " + A + "天" + B + "小时" + C + "分" + D + "秒"
}
show_runtime();
</script>
<!--<span id="runtime_span"></span>-->
</div>
<div class="a3"><span id="runtime_span"></span></div>
<center>
<div style=" line-height: 20px;font-size: 12pt;font-weight: bold;">
<span style="color: #c3c3c3; font-weight: bold;" id="hitokoto">"天气转晴 太阳崭新 我在前进"</span>
<p style="margin-left:10rem;font-size:13pt;color: rgb(246 255 2);"> —— David's Cloud
</div>
<!--一言API-->
<script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto" defer></script>
</center>
<!--<center class="dibu">
<div style=" line-height: 18px;font-size: 17pt;font-weight: bold;">
<span>
<span style="color: rgb(13, 109, 252); font-weight: bold;"
id="jinrishici-sentence">正在加载今日诗词....</span>
</span>
</div>
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8" defer></script>-->
<div class="a3">
<div style="margin:5px;color:#e3749e;text-align: center;">©2024 By<a style="color: #D3C88C;font-size: larger;" href=""> David </a></br>
本站总访问量 <span id="busuanzi_value_site_pv" style="color: #D3C88C; font-weight: bold;font-size: x-large;"></span>次
总访客数 <span id="busuanzi_value_site_uv" style="color: #D3C88C; font-weight: bold;font-size: x-large;"></span> 人
当前在线 <span style="color: #D3C88C;" id="online_user"></span> 人
你的在线总时间<span style="color: #D3C88C;" id="online_me"></span>
<div style="display:none!important;">全站在线总时间: <span style="color: rgb(246 255 2);" id="online_total"></span></div>
</br>
</div>
</div>
<div class="a2">
</a>
<a target="_blank" href="https://vercel.com/ ">
<img src="https://img.shields.io/badge/Hosted-Coding-0cedbe?style=flat&logo=Codio"
title="本站采用双线部署,源码托管于Coding">
</a>
<a target="_blank" href="https://github.com/">
<img src="https://img.shields.io/badge/Source-Github-d021d6?style=flat&logo=GitHub" title="本站项目由Gtihub托管">
</a>
<a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?style=flat&logo=Claris"
title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可">
</a><br/>
<div>
<!--延迟加载范围到这里结束-->
</div>
<!--延迟加载配套使用JS-->
<script>
let interval = setInterval(() => {
if (document.querySelector(".footer")) {
document.querySelector("#customize").style.display = "";
clearInterval(interval);
}
}, 200);
</script>
<!--默认白天 除非手动更改,否则第一次进以及刷新后默认白天-->
<script>window.onload=function(){localStorage.setItem("hope-ui-color-mode","light")}</script>
<!-- 验证模态框 -->
<!-- 密码可自行对接其他API -->
<script src="https://cdn.bootcss.com/sweetalert/2.1.0/sweetalert.min.js"></script>
<script>
let password = "xxxxxxx";
if (localStorage.getItem('pan_password') == password) {
} else {
checkPassword("success", "输入密码进入")
}
function checkPassword(ic, ti) {
swal({
title: "David's Cloud",
text: "\n愿你有诗有梦,有坦荡的远方;愿你历遍山河,仍觉得人间值!",
closeOnConfirm: false,
closeOnClickOutside: false,
icon: ic,
button: {
text: "确认",
},
content: {
element: "input",
attributes: {
placeholder: "请输入密码",
type: "password",
},
},
})
.then((value) => {
if (value == '') {
checkPassword("warning", "请输入正确的密码");
} else if (value == password) {
swal("欢迎!", {
button: false,
});
localStorage.setItem("pan_password", value);
} else {
checkPassword("warning", "密码错误");
}
});
}
</script>
<div class="sakana-box"></div>
<script src="https://cdn.jsdelivr.net/gh/linjiangyu2/halo/js/sakana.js"></script>
<script>
Sakana.init({
el: '.sakana-box', // 启动元素 node 或 选择器
scale: .5, // 缩放倍数
canSwitchCharacter: true, // 允许换角色
});
</script>