commit
6cd803db56
52
js/set.js
52
js/set.js
@ -5,58 +5,6 @@ GitHub:https://github.com/imsyy/home
|
||||
版权所有,请勿删除
|
||||
*/
|
||||
|
||||
/* 自定义配置 */
|
||||
/* 尚未完善 */
|
||||
$(function () {
|
||||
let url = "../setting.json"
|
||||
$.getJSON(
|
||||
url,
|
||||
function (data) {
|
||||
/* 页头数据 */
|
||||
$('title').text(data.title);
|
||||
$('#loading-title').html(data.title);
|
||||
$("meta[name='description']").attr('content', data.description);
|
||||
$("meta[name='keywords']").attr('content', data.keywords);
|
||||
$("meta[name='author']").attr('content', data.author);
|
||||
/* 基础信息 */
|
||||
$("#logo-img").attr("src", data.logo_img);
|
||||
$('#logo-text-1').html(data.logo_text_1);
|
||||
$('#logo-text-2').html("." + data.logo_text_2);
|
||||
$('#logo-title-other').html(data.logo_text_1);
|
||||
$('#logo-title-other-small').html("." + data.logo_text_2);
|
||||
$('#logo-text-small').html(data.logo_text_1 + "." + data.logo_text_2);
|
||||
/* 社交链接 */
|
||||
$('#github').attr('href', "https://github.com/" + data.github);
|
||||
$('#qq').attr('href', "https://wpa.qq.com/msgrd?v=3&uin=" + data.qq + "&site=qq&menu=yes");
|
||||
$('#email').attr('href', "mailto:" + data.email);
|
||||
$('#bilibili').attr('href', "https://space.bilibili.com/" + data.bilibili);
|
||||
$('#telegram').attr('href', "https://t.me/" + data.telegram);
|
||||
/* 快捷链接 */
|
||||
$('#link-url-1').attr('href', data.link_1[0]);
|
||||
$('#link-icon-1').attr('class', data.link_1[1]);
|
||||
$('#link-name-1').html(data.link_1[2]);
|
||||
$('#link-url-2').attr('href', data.link_2[0]);
|
||||
$('#link-icon-2').attr('class', data.link_2[1]);
|
||||
$('#link-name-2').html(data.link_2[2]);
|
||||
$('#link-url-3').attr('href', data.link_3[0]);
|
||||
$('#link-icon-3').attr('class', data.link_3[1]);
|
||||
$('#link-name-3').html(data.link_3[2]);
|
||||
$('#link-url-4').attr('href', data.link_4[0]);
|
||||
$('#link-icon-4').attr('class', data.link_4[1]);
|
||||
$('#link-name-4').html(data.link_4[2]);
|
||||
$('#link-url-5').attr('href', data.link_5[0]);
|
||||
$('#link-icon-5').attr('class', data.link_5[1]);
|
||||
$('#link-name-5').html(data.link_5[2]);
|
||||
$('#link-url-6').attr('href', data.link_6[0]);
|
||||
$('#link-icon-6').attr('class', data.link_6[1]);
|
||||
$('#link-name-6').html(data.link_6[2]);
|
||||
//页脚版权
|
||||
$('#power-text').html(data.Copyright_text);
|
||||
$('#beian').html("& " + data.beian);
|
||||
}
|
||||
)
|
||||
});
|
||||
|
||||
// 背景图片 Cookies
|
||||
function setBgImg(bg_img) {
|
||||
if (bg_img) {
|
||||
|
@ -1,7 +0,0 @@
|
||||
@font-face {
|
||||
font-family:'EngraversOldEnglishBT-Bold';
|
||||
src: url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.gif?r=110901002758');
|
||||
src: url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.gif?r=110901002758?#iefix') format('embedded-opentype'), url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.png?r=110901002758') format('woff2'), url('//cdn.webfont.youziku.com/webfonts/nomal/123918/33195/5d21f88af629d8080c5960eb.bmp?r=110901002758') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
@font-face {font-family: "iconfont";
|
||||
src: url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.eot?t=1597068283360'); /* IE9 */
|
||||
src: url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.eot?t=1597068283360#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAygAAsAAAAAFQgAAAxSAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFCgqaDJRUATYCJANECyQABCAFhG0HgUEbYRFRlFBWM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nSGL9juhmTMhW5bJyLOYpBkzoUwafxz1sauvRYRVoavSPtOns6BvzoZhY8qniXiuVO6zTzZLOt2nV4Uu4M2yXem27LfnkjHcTBvZfLB1PrKA8fY77Qnc5TVHlhfr9HpoQ/bCyiXDa1xAPOBMDMyzXphkL+CsmQudlJzc4DRwbWAuc4XMfgEqoJhuOORPn5rPWHXewg91u8S7JOtH3W3DCyF+LYSkNEMtEP+M2wbeBrB6SDq9B0mGM73YXnhtbA98V9sv5H8AhhqyRyYRPWtcQ2prRW7C3wEY6rMNKUHKNTuQkEl/AQQMUdovREFiABh65TMyFinXHUeSR7bQIgXJtqdI5J+UIaB+7CwopiZ+tcR+uPpvixf9pphhmtf0ZPo+YAng9yWAv6QqyuMK6o9Ukei1thRpk4VCxOBI1eNiDnuHhpIi/t4dsZWMK86hJO80dvGn1DHob9qKkRdyU2hP8CxO2szgrN0yKqHbuOpyjBvtLuBOW86cdxkiRETpwKYvAod+3zjp9R1n/X5QCf3F1ah/3OiPjDvdj4qHXVbjRfpIgCrBwNo75rrrELNepv35N0ADSxVxiZf8AMLn/XgyHKfHz8ABMYQV/4VOpSSYCNfGp8TZwLJc7An3CXQ5ZFJ6e6MRKbI61F0bpV0hAJV0shswzXtpTudykKOldObhbwAqYFGJim3l0g+A4OPqYxND4wboTOk02nYpS30vqClJNhHYWiu4bNgp2QQsY8SFecX6ngCdNMQ6DHn2jEhVpKlyOL1o33ul27ejTjgQKXKUqNFEW7RHR3RGV7yYvIve6Iv+0EBoECUfONSC7cCLezRdJGpxX6Y0zlr1k2Rwc+KUSxZoiVfgb9yZxJ7YKrfCz8+xD8ZZELMDn+vJO7CACtVOyFcuJYgkC1RNdXZ2Eo8czXKpnwke9Upik8PUe0QIAA==') format('woff2'),
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.woff?t=1597068283360') format('woff'),
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.ttf?t=1597068283360') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
||||
url('//at.alicdn.com/t/font_1923666_2o4ez0t5t64.svg?t=1597068283360#iconfont') format('svg'); /* iOS 4.1- */
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-angle-up:before {
|
||||
content: "\e9b3";
|
||||
}
|
||||
|
||||
.icon-ngleup:before {
|
||||
content: "\e624";
|
||||
}
|
||||
|
||||
.icon-list:before {
|
||||
content: "\e647";
|
||||
}
|
||||
|
||||
.icon-bilibili1:before {
|
||||
content: "\e609";
|
||||
}
|
||||
|
||||
.icon-bilibili:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
|
||||
.icon-github:before {
|
||||
content: "\e62f";
|
||||
}
|
||||
|
||||
.icon-weixin1:before {
|
||||
content: "\e608";
|
||||
}
|
||||
|
||||
.icon-email:before {
|
||||
content: "\e6f5";
|
||||
}
|
||||
|
||||
.icon-qq:before {
|
||||
content: "\e600";
|
||||
}
|
||||
|
||||
.icon-zhihu:before {
|
||||
content: "\e606";
|
||||
}
|
||||
|
||||
.icon-music:before {
|
||||
content: "\e6ba";
|
||||
}
|
||||
|
||||
.icon-Telegram:before {
|
||||
content: "\e6bd";
|
||||
}
|
||||
|
||||
.icon-twitter:before {
|
||||
content: "\e601";
|
||||
}
|
||||
|
||||
.icon-huaban88:before {
|
||||
content: "\e607";
|
||||
}
|
||||
|
||||
.icon-cnblogs:before {
|
||||
content: "\e603";
|
||||
}
|
||||
|
||||
.icon-u___fm__gp_:before {
|
||||
content: "\e602";
|
||||
}
|
10096
old/css/style.css
10096
old/css/style.css
File diff suppressed because it is too large
Load Diff
BIN
old/favicon.ico
BIN
old/favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 264 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
201
old/index.html
201
old/index.html
@ -1,201 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!-- 基础信息 -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="force-rendering" content="webkit" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="無名の主页">
|
||||
<meta name="keywords" content="無名,个人主页">
|
||||
<meta name="author" content="無名">
|
||||
<title>無名の主页</title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="./css/iconfont.css">
|
||||
<link rel="apple-touch-icon" href="./images/apple-touch-icon.png">
|
||||
<link rel="icon" href="./favicon.ico">
|
||||
<!--引入SweetAlert
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script>
|
||||
<!--引入izitoast-->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/izitoast@1.4.0/dist/css/iziToast.min.css">
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/izitoast@1.4.0/dist/js/iziToast.min.js"></script>
|
||||
<!--引入fontawesome-->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/volantis-x/cdn-fontawesome-pro@master/css/all.min.css"
|
||||
media="all">
|
||||
<!--百度站长平台-->
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function () {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?14e9f35ff8bc67fd4bcb5f07a6e6655a";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
<!--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>
|
||||
</head>
|
||||
|
||||
<body oncontextmenu=self.event.returnValue=false onselectstart="return false">
|
||||
<!--<span class="mobile btn-mobile-menu">
|
||||
<i class="social iconfont icon-list btn-mobile-menu__icon"></i>
|
||||
<i class="social iconfont icon-ngleup btn-mobile-close__icon hidden"></i>
|
||||
</span>-->
|
||||
<header id="panel" class="panel-cover">
|
||||
<div class="panel-main">
|
||||
<div class="panel-main__inner panel-inverted">
|
||||
<div class="panel-main__content">
|
||||
<div class="ih-item circle effect right_to_left">
|
||||
<a class="blog-button">
|
||||
<div class="img"><img src="./images/logo.png" alt="img" class="js-avatar iUp profilepic">
|
||||
</div>
|
||||
<div class="info iUp">
|
||||
<div class="info-back">
|
||||
<h2>Fighting</h2>
|
||||
<p>2021 · 努力中</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<h1 class="panel-cover__title panel-title iUp">
|
||||
<br />hello
|
||||
</h1>
|
||||
<p class="panel-cover__subtitle panel-subtitle iUp">Welcome to my website</p>
|
||||
<hr class="panel-cover__divider iUp" />
|
||||
<!--一言无法显示时的文字-->
|
||||
<p id="description" class="panel-cover__description iUp">每一个人都应该明确自己的方向和位置
|
||||
<br />
|
||||
<strong>-「無名」</strong>
|
||||
</p>
|
||||
<div class="navigation-wrapper iUp">
|
||||
<div>
|
||||
<nav class="cover-navigation cover-navigation--primary">
|
||||
<ul class="navigation">
|
||||
<li class="navigation__item">
|
||||
<a href="https://blog.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>博客</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<!--<a onclick="update()" class="blog-button">-->
|
||||
<a href="https://share.imsyy.top" target="_blank" class="blog-button">
|
||||
<div>网盘</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://web.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>导航</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://music.imsyy.top/" target="_blank" class="blog-button">
|
||||
<div>音乐</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://imsyy.top/" class="blog-button">
|
||||
<div>前往新版</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="iUp">
|
||||
<nav class="cover-navigation navigation--social">
|
||||
<ul class="navigation">
|
||||
|
||||
<li class="navigation__item">
|
||||
<a href="https://github.com/imsyy" title="Github" target="_blank">
|
||||
<i class="fas fa-code-branch"></i>
|
||||
<span class="label">Github</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://t.me/bottom_user" title="Telegram" target="_blank">
|
||||
<i class="fab fa-telegram-plane"></i>
|
||||
<span class="label">Telegram</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="https://twitter.com/woshisunyongyi" title="Twitter" target="_blank">
|
||||
<i class="fab fa-twitter"></i>
|
||||
<span class="label">Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="http://wpa.qq.com/msgrd?v=3&uin=1539250352&site=qq&menu=yes" title="QQ"
|
||||
target="_blank">
|
||||
<i class="fab fa-qq"></i>
|
||||
<span class="label">QQ</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a onclick="weixin()" title="微信" target="_blank">
|
||||
<i class="fab fa-weixin"></i>
|
||||
<script>
|
||||
function weixin() {
|
||||
Swal.fire({
|
||||
title: "请扫码",
|
||||
text: "请使用微信扫一扫",
|
||||
confirmButtonText: "好的",
|
||||
imageUrl: "./images/weixin.png",
|
||||
imageWidth: 150,
|
||||
imageHeight: 150
|
||||
})
|
||||
}
|
||||
</script>
|
||||
</a>
|
||||
</li>
|
||||
<li class="navigation__item">
|
||||
<a href="mailto:one@imsyy.top" title="Email">
|
||||
<i class="fas fa-envelope"></i>
|
||||
<span class="label">Email</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-cover--overlay cover-slate"></div>
|
||||
</div>
|
||||
<div class="remark iUp">
|
||||
<p class="power">Copyright © 2020
|
||||
<script>document.write(' - ' + (new Date()).getFullYear())</script> 無名
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<!--izitoast弹窗设置-->
|
||||
<script>
|
||||
iziToast.settings({
|
||||
timeout: 4000,//调试
|
||||
icon: 'Fontawesome',
|
||||
closeOnEscape: 'true',
|
||||
position: 'topRight',
|
||||
transitionOut: 'fadeOutRight',
|
||||
displayMode: '2',
|
||||
layout: '2',
|
||||
transitionIn: 'bounceInLeft',
|
||||
});
|
||||
</script>
|
||||
<!--izitoast内容-->
|
||||
<script>
|
||||
function update() {
|
||||
iziToast.info({
|
||||
icon: 'fad fa-times-octagon',
|
||||
backgroundColor: '#efefef',
|
||||
title: '站点暂时关闭',
|
||||
message: '只是出现了一点小问题 ~'
|
||||
});
|
||||
}
|
||||
</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/main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
1
old/js/fetch.min.js
vendored
1
old/js/fetch.min.js
vendored
File diff suppressed because one or more lines are too long
2
old/js/jquery.min.js
vendored
2
old/js/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
106
old/js/main.js
106
old/js/main.js
@ -1,106 +0,0 @@
|
||||
var iUp = (function () {
|
||||
var t = 0,
|
||||
d = 150,
|
||||
clean = function () {
|
||||
t = 0;
|
||||
},
|
||||
up = function (e) {
|
||||
setTimeout(function () {
|
||||
$(e).addClass("up")
|
||||
}, t);
|
||||
t += d;
|
||||
},
|
||||
down = function (e) {
|
||||
$(e).removeClass("up");
|
||||
},
|
||||
toggle = function (e) {
|
||||
setTimeout(function () {
|
||||
$(e).toggleClass("up")
|
||||
}, t);
|
||||
t += d;
|
||||
};
|
||||
return {
|
||||
clean: clean,
|
||||
up: up,
|
||||
down: down,
|
||||
toggle: toggle
|
||||
}
|
||||
})();
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
// 获取一言数据
|
||||
fetch('https://v1.hitokoto.cn').then(function (res) {
|
||||
return res.json();
|
||||
}).then(function (e) {
|
||||
$('#description').html(e.hitokoto + "<br/> -「<strong>" + e.from + "</strong>」")
|
||||
}).catch(function (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 已经无法提供服务了
|
||||
* 改用 JsonBird:https://bird.ioliu.cn/
|
||||
*
|
||||
*/
|
||||
var url = 'https://bird.ioliu.cn/v1/?url=https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=8';
|
||||
var imgUrls = JSON.parse(sessionStorage.getItem("imgUrls"));
|
||||
var index = sessionStorage.getItem("index");
|
||||
var $panel = $('#panel');
|
||||
if (imgUrls == null) {
|
||||
imgUrls = new Array();
|
||||
index = 0;
|
||||
$.get(url, function (result) {
|
||||
images = result.images;
|
||||
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("index", index);
|
||||
});
|
||||
} else {
|
||||
if (index == 7)
|
||||
index = 0;
|
||||
else
|
||||
index++;
|
||||
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("index", index);
|
||||
}
|
||||
|
||||
$(".iUp").each(function (i, e) {
|
||||
iUp.up(e);
|
||||
});
|
||||
|
||||
$(".js-avatar")[0].onload = function () {
|
||||
$(".js-avatar").addClass("show");
|
||||
}
|
||||
});
|
||||
|
||||
$('.btn-mobile-menu__icon').click(function () {
|
||||
if ($('.navigation-wrapper').css('display') == "block") {
|
||||
$('.navigation-wrapper').on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
|
||||
$('.navigation-wrapper').toggleClass('visible animated bounceOutUp');
|
||||
$('.navigation-wrapper').off('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend');
|
||||
});
|
||||
$('.navigation-wrapper').toggleClass('animated bounceInDown animated bounceOutUp');
|
||||
|
||||
} else {
|
||||
$('.navigation-wrapper').toggleClass('visible animated bounceInDown');
|
||||
}
|
||||
$('.btn-mobile-menu__icon').toggleClass('social iconfont icon-list social iconfont icon-ngleup animated fadeIn');
|
||||
});
|
46
setting.json
46
setting.json
@ -1,46 +0,0 @@
|
||||
{
|
||||
"title": "無名の主页",
|
||||
"description": "一个默默无闻的主页",
|
||||
"keywords": "無名,个人主页",
|
||||
"author": "無名",
|
||||
"logo_img": "./img/icon/logo.png",
|
||||
"logo_text_1": "imsyy",
|
||||
"logo_text_2": "top",
|
||||
"github": "imsyy",
|
||||
"qq": "1539250352",
|
||||
"email": "one@imsyy.top",
|
||||
"bilibili": "98544142",
|
||||
"telegram": "bottom_user",
|
||||
"link_1": [
|
||||
"https://blog.imsyy.top/",
|
||||
"fa-solid fa-blog",
|
||||
"博客"
|
||||
],
|
||||
"link_2": [
|
||||
"https://drive.imsyy.top/",
|
||||
"fa-solid fa-cloud",
|
||||
"网盘"
|
||||
],
|
||||
"link_3": [
|
||||
"https://music.imsyy.top/",
|
||||
"fa-solid fa-music",
|
||||
"音乐"
|
||||
],
|
||||
"link_4": [
|
||||
"https://nav.imsyy.top/",
|
||||
"fa-solid fa-compass",
|
||||
"起始页"
|
||||
],
|
||||
"link_5": [
|
||||
"https://web.imsyy.top/",
|
||||
"fa-solid fa-book-bookmark",
|
||||
"网址集"
|
||||
],
|
||||
"link_6": [
|
||||
"https://lab.imsyy.top/",
|
||||
"fa-solid fa-flask",
|
||||
"实验室"
|
||||
],
|
||||
"Copyright_text": "無名",
|
||||
"beian": "豫ICP备2022018134号-1"
|
||||
}
|
Loading…
Reference in New Issue
Block a user