From e3ea1e736416e2203df2419a5cc6bed21339a94b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?=
Date: Thu, 14 Jul 2022 16:25:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9F=B3=E4=B9=90=E6=8E=A7?=
=?UTF-8?q?=E4=BB=B6=E9=94=AE=E7=9B=98=E4=BA=8B=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
README_EN.md | 2 +-
index.html | 2 +-
js/music.js | 8 +++++++-
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 0854ca1..429b5f6 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
简单的小主页,原来的看够了,重新弄了一个
-
+
>主页的 Logo 字体已经过压缩,若用本站 Logo 以外的字母会变回默认字体,这里是 [完整字体](https://file.imsyy.top/font/Pacifico-Regular.ttf)
diff --git a/README_EN.md b/README_EN.md
index 5d8cc53..471082e 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -5,7 +5,7 @@ English | [Chinese](./README.md)
Simple little homepage, had enough of the original one and made a new one
-
+
>The logo font on the home page has been compressed, so if you use a font other than this logo, it will change back to the default font, Here is the [full font](https://file.imsyy.top/font/Pacifico-Regular.ttf)
diff --git a/index.html b/index.html
index afeefe4..6656f77 100644
--- a/index.html
+++ b/index.html
@@ -100,7 +100,7 @@
Hello World !
一个建立于 21 世纪的小站,存活于互联网的边缘
+ id="change1">一个建立于 21 世纪的小站,主域名正在备案中
diff --git a/js/music.js b/js/music.js
index 9aefa41..618b2a7 100644
--- a/js/music.js
+++ b/js/music.js
@@ -109,6 +109,12 @@ $.ajax({
$("#music-name").html($(".aplayer-title").text() + $(".aplayer-author").text());
});
+ window.onkeydown = function (e) {
+ if (e.keyCode == 32) {
+ ap.toggle();
+ }
+ }
+
/* 打开音乐列表 */
$('#music-open').on('click', function () {
if ($(document).width() >= 990) {
@@ -143,4 +149,4 @@ $.ajax({
});
}, 3800);
}
-})
+})
\ No newline at end of file