This commit is contained in:
hehh
2024-08-14 16:53:07 +08:00
parent e6f8c4daa7
commit d1962cb90f
12 changed files with 216 additions and 229 deletions

View File

@@ -5,7 +5,7 @@
希望大家喜欢 ❤️ 希望大家喜欢 ❤️
</p> </p>
![LQBBYの主页](https://www.lqbby.com/upload/2022/06/QQ%E6%88%AA%E5%9B%BE20220613163335.webp) ![Honesty的主页](https://www.lqbby.com/upload/2022/06/QQ%E6%88%AA%E5%9B%BE20220613163335.webp)
>和风天气 API 每日限量1000次需 [自行申请](https://dev.qweather.com/),或更换其他 API >和风天气 API 每日限量1000次需 [自行申请](https://dev.qweather.com/),或更换其他 API
@@ -13,7 +13,7 @@
>由于 CDN 缓存原因,查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存 >由于 CDN 缓存原因,查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存
### 👀 预览 ### 👀 预览
- [LQBBYの主页](https://zy.lqbby.com:1443) - [Honesty的主页](https://www.hehouhui.cn)
### 🌈 功能 ### 🌈 功能

BIN
images/bj/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
images/bj/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
images/bj/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

BIN
images/bj/4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

BIN
images/bj/5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

BIN
images/bj/6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
images/bj/7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

BIN
images/my-wechat.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

View File

@@ -9,15 +9,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="force-rendering" content="webkit"/> <meta name="force-rendering" content="webkit"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LQBBYの主页"> <meta name="description" content="Honesty的主页,HeHouHui的主页,HeHui的主页,明厚的主页">
<meta name="keywords" content="LQBBY,个人主页"> <meta name="keywords" content="Honesty,HeHouHui,HeHui,明厚">
<meta name="author" content="LQBBY"> <meta name="author" content="Honesty">
<title>LQBBYの主页</title> <title>Honesty的主页</title>
<link rel="stylesheet" type="text/css" href="./css/style.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/listener-He/Home/css/style.css">
<link rel="stylesheet" type="text/css" href="./css/iconfont.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/listener-He/Home/css/iconfont.css">
<link rel="apple-touch-icon" href="./images/apple-touch-icon.png"> <link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/images/apple-touch-icon.png">
<link rel="icon" href="./favicon.ico"> <link rel="icon" href="https://cdn.jsdelivr.net/gh/listener-He/Home/favicon.ico">
<link rel="stylesheet" href="./js/bj.js"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/listener-He/Home/js/bj.js">
<!--引入SweetAlert <!--引入SweetAlert
<script src="https://fastly.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>--> <script src="https://fastly.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>-->
<script src="https://fastly.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script> <script src="https://fastly.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script>
@@ -29,12 +29,12 @@
<link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/volantis-x/cdn-fontawesome-pro@master/css/all.min.css" <link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/volantis-x/cdn-fontawesome-pro@master/css/all.min.css"
media="all"> media="all">
<!--科技炫酷按钮--> <!--科技炫酷按钮-->
<link rel="stylesheet" type="text/css" href="./css/sey.css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/listener-He/Home/css/sey.css">
<!--LQ网站监控-->
<script async defer data-website-id="1e581f81-4a95-4be4-8449-c74742cf2475"
src="https://wz.lqbby.com/umami.js"></script>
<!--IE淘汰计划--> <!--IE淘汰计划-->
<script>if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) window.location.href = "https://imsyy.top/upgrade-your-browser/index.html?referrer=" + encodeURIComponent(window.location.href);</script> <script>
if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) window.location.href = "https://imsyy.top/upgrade-your-browser/index.html?referrer=" + encodeURIComponent(window.location.href);
</script>
</head> </head>
<body oncontextmenu=self.event.returnValue=false onselectstart="return false"> <body oncontextmenu=self.event.returnValue=false onselectstart="return false">
@@ -43,7 +43,7 @@
<i class="social iconfont icon-ngleup btn-mobile-close__icon hidden"></i> <i class="social iconfont icon-ngleup btn-mobile-close__icon hidden"></i>
</span>--> </span>-->
<header id="panel" class="panel-cover" <header id="panel" class="panel-cover"
style="background: url(./images/kj.webp) center center / cover no-repeat rgb(102, 102, 102);"> style="background: url(https://cdn.jsdelivr.net/gh/listener-He/Home/images/bj/1.jpg) center center / cover no-repeat rgb(102, 102, 102);">
<!--星空背景--> <!--星空背景-->
<div id="stars"></div> <div id="stars"></div>
<div id="stars2"></div> <div id="stars2"></div>
@@ -86,51 +86,45 @@
</div> </div>
<div class="info iUp"> <div class="info iUp">
<div class="info-back"> <div class="info-back">
<img alt="img" src="./images/kl.gif" class="js-avatar profilepic"> <img alt="img" src="https://cdn.jsdelivr.net/gh/listener-He/Home/images/kl.gif"
class="js-avatar profilepic">
</div> </div>
</div> </div>
</a> </a>
</div> </div>
<h1 class="panel-cover__title panel-title iUp"> <h1 class="panel-cover__title panel-title iUp">
<br />LQBBY <br/>Honesty
</h1> </h1>
<p class="panel-cover__subtitle panel-subtitle iUp">be your true self</p> <p class="panel-cover__subtitle panel-subtitle iUp">be your true self</p>
<canvas class="navigation-wrapper iUp" id="canvas" style="width:50%;padding-top:0px;" width="920" <canvas class="navigation-wrapper iUp" id="canvas" style="width:50%;padding-top:0px;" width="920"
height="350"></canvas> height="350"></canvas>
<script src="./js/clock.js"></script> <script src="https://cdn.jsdelivr.net/gh/listener-He/Home/js/clock.js"></script>
<hr class="iUp"/> <hr class="iUp"/>
<!--一言无法显示时的文字--> <!--一言无法显示时的文字-->
<p id="description" class="panel-cover__description iUp">每一个人都应该明确自己的方向和位置 <p id="description" class="panel-cover__description iUp">人生天地之间,若白驹之过隙,忽然而已。
<br/> <br/>
<strong>-「LQBBY</strong> <strong>-「Honesty</strong>
</p> </p>
<div class="navigation-wrapper iUp"> <div class="navigation-wrapper iUp">
<div> <div>
<nav class="cover-navigation cover-navigation--primary"> <nav class="cover-navigation cover-navigation--primary">
<ul class="navigation"> <ul class="navigation">
<li class="navigation__item"> <li class="navigation__item">
<a href="https://www.lqbby.com/" <a href="https://blog.hehouhui.cn/"
style="--clr:#1e9bff"><span>博客</span><i></i></a> style="--clr:#1e9bff"><span>博客</span><i></i></a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://al.lqbby.com:1443/" <a href="https://alist.hehouhui.cn/"
style="--clr:#f85d5d"><span>网盘</span><i></i></a> style="--clr:#f85d5d"><span>网盘</span><i></i></a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://llq.lqbby.com/" <a href="https://nav.hehouhui.cn/"
style="--clr:#ff1867"><span>导航</span><i></i></a> style="--clr:#ff1867"><span>导航</span><i></i></a>
</li> </li>
<li class="navigation__item">
<a href="https://qd.lqbby.com/" style="--clr:#ebe417"><span>签到</span><i></i></a>
</li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://bz.lqbby.com:1443/" <a href="https://bz.lqbby.com:1443/"
style="--clr:#eb2feb"><span>壁纸</span><i></i></a> style="--clr:#eb2feb"><span>壁纸</span><i></i></a>
</li> </li>
<li class="navigation__item">
<a href="https://api.lqbby.com:1443"
style="--clr:#28a745"><span>青龙api</span><i></i></a>
</li>
</ul> </ul>
</nav> </nav>
@@ -139,25 +133,25 @@
<nav class="cover-navigation navigation--social"> <nav class="cover-navigation navigation--social">
<ul class="navigation"> <ul class="navigation">
<li class="navigation__item"> <li class="navigation__item">
<a href="https://github.com/lqbby2/" title="Github" target="_blank"> <a href="https://github.com/listener-He" title="Github" target="_blank">
<j class="iconfont icon-github"></j> <j class="iconfont icon-github"></j>
<span class="label">Github</span> <span class="label">Github</span>
</a> </a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://t.me/lqbby" title="Telegram" target="_blank"> <a href="https://www.linkedin.com/in/honesty861024" title="Linkedin" target="_blank">
<j class="fab fa-telegram-plane"></j> <j class="fab fa-telegram-plane"></j>
<span class="label">Telegram</span> <span class="label">Linkedin</span>
</a> </a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://www.lqbby.com/" title="Twitter" target="_blank"> <a href="https://twitter.com/Honesty861024" title="Twitter" target="_blank">
<j class="fab fa-twitter"></j> <j class="fab fa-twitter"></j>
<span class="label">Twitter</span> <span class="label">Twitter</span>
</a> </a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="https://wpa.qq.com/msgrd?v=3&uin=1151581339&site=qq&menu=yes" <a href="https://wpa.qq.com/msgrd?v=3&uin=1397138703&site=qq&menu=yes"
title="QQ" target="_blank"> title="QQ" target="_blank">
<j class="fab fa-qq"></j> <j class="fab fa-qq"></j>
<span class="label">QQ</span> <span class="label">QQ</span>
@@ -172,7 +166,7 @@
title: "请扫码", title: "请扫码",
text: "请使用微信扫一扫", text: "请使用微信扫一扫",
confirmButtonText: "好的", confirmButtonText: "好的",
imageUrl: "./images/weixin.png", imageUrl: "./images/my-wechat.jpeg",
imageWidth: 150, imageWidth: 150,
imageHeight: 150 imageHeight: 150
}) })
@@ -181,7 +175,7 @@
</a> </a>
</li> </li>
<li class="navigation__item"> <li class="navigation__item">
<a href="mailto:1151581339@qq.com" title="Email"> <a href="mailto:hehouhui@hehouhui.cn" title="Email">
<j class="fas fa-envelope"></j> <j class="fas fa-envelope"></j>
<span class="label">Email</span> <span class="label">Email</span>
</a> </a>
@@ -195,16 +189,15 @@
<div class="panel-cover--overlay cover-slate"></div> <div class="panel-cover--overlay cover-slate"></div>
</div> </div>
<div class="remark iUp"> <div class="remark iUp">
<p class="power">Copyright © 2022 <p class="power">Copyright © 2018
<script>document.write(' - ' + (new Date()).getFullYear())</script> LQBBY <script>document.write(' - ' + (new Date()).getFullYear())</script>
Honesty
</p> </p>
</div> </div>
</header> </header>
<!--黑暗主题--> <!--黑暗主题-->
<!--izitoast弹窗设置 <!--izitoast弹窗设置
<script> <script>
iziToast.settings({ iziToast.settings({
@@ -228,6 +221,15 @@
}); });
} }
--> -->
<script>
// 百度站点统计
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?ae2a009a75b13c21d5121ee51375ea4e";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script> </script>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/fetch.min.js"></script> <script type="text/javascript" src="./js/fetch.min.js"></script>

View File

@@ -30,55 +30,40 @@ var iUp = (function () {
$(document).ready(function () { $(document).ready(function () {
// 获取一言数据 // 获取一言数据
fetch('https://v1.hitokoto.cn').then(function (res) { fetch('https://v1.hitokoto.cn?c=c&c=d&c=h&c=i&c=k&c=h').then(function (res) {
return res.json(); return res.json();
}).then(function (e) { }).then(function (e) {
$('#description').html(e.hitokoto + "<br/> -「<strong>" + e.from + "</strong>」") $('#description').html(e.hitokoto + "<br/> -「<strong>" + e.from + "</strong>」")
}).catch(function (err) { }).catch(function (err) {
console.error(err); console.error(err);
}) })
// var url = 'https://query.yahooapis.com/v1/public/yql' +
// '?q=' + encodeURIComponent('select * from json where url=@url') +
// '&url=' + encodeURIComponent('https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8') +
// '&format=json&callback=?';
/** /**
* 获取Bing壁纸 * 自定义壁纸
* 原先 YQL 已经无法提供服务了
* 改用 JsonBirdhttps://bird.ioliu.cn/
*
*/ */
var url = '';
var imgUrls = JSON.parse(sessionStorage.getItem("imgUrls")); var imgUrls = JSON.parse(sessionStorage.getItem("imgUrls"));
var index = sessionStorage.getItem("index"); var index = sessionStorage.getItem("index");
var $panel = $('#panel'); var $panel = $('#panel');
if (imgUrls == null) { if (imgUrls == null) {
imgUrls = new Array(); imgUrls = new Array();
index = 0; index = 0;
$.get(url, function (result) { for (let i = 1; i < 8; i++) {
images = result.images; imgUrls.push("https://cdn.jsdelivr.net/gh/listener-He/Home/images/bj/"+i+".jpg");
for (let i = 0; i < images.length; i++) {
const item = images[i];
imgUrls.push(item.url);
} }
var imgUrl = imgUrls[index];
var url = "https://www.bing.com" + imgUrl;
$panel.css("background", "url('" + url + "') center center no-repeat #666");
$panel.css("background-size", "cover");
sessionStorage.setItem("imgUrls", JSON.stringify(imgUrls)); sessionStorage.setItem("imgUrls", JSON.stringify(imgUrls));
sessionStorage.setItem("index", index); sessionStorage.setItem("index", index);
});
} else { } else {
if (index == 7) if (index == 7)
index = 0; index = 0;
else else
index++; index++;
sessionStorage.setItem("index", index);
}
var imgUrl = imgUrls[index]; var imgUrl = imgUrls[index];
var url = "https://www.bing.com" + imgUrl; var url = "https://www.bing.com" + imgUrl;
$panel.css("background", "url('" + url + "') center center no-repeat #666"); $panel.css("background", "url('" + url + "') center center no-repeat #666");
$panel.css("background-size", "cover"); $panel.css("background-size", "cover");
sessionStorage.setItem("index", index);
}
$(".iUp").each(function (i, e) { $(".iUp").each(function (i, e) {
iUp.up(e); iUp.up(e);