From c306b60eabc5e35d9068f50417e69cfd0422636f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Wed, 25 May 2022 19:55:17 +0800 Subject: [PATCH] up 3.0 --- README.md | 16 +++++++++++++++- README_EN.md | 8 +++++++- index.html | 14 +++++++------- js/main.js | 11 ++--------- 4 files changed, 31 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 90332d8..f789f19 100644 --- a/README.md +++ b/README.md @@ -28,16 +28,30 @@ - [x] 移动端适配 * [ ] 还没想好呢 +### 音乐 + +>本项目采用了基于 `MetingJS` 的 `Aplayer` 音乐播放器,可实现快速自定义歌单 +>*仅支持 **中国大陆地区**,其他区域请将 [以下内容](https://file.imsyy.top/js/music/music-other.js) 替换 `music.js` 以实现音乐播放器的正常使用 + +更改 `music.js` 的参数即可实现自定义歌单列表 + +```js +var server = "netease"; //netease: 网易云音乐; tencent: QQ音乐; kugou: 酷狗音乐; xiami: 虾米; kuwo: 酷我 +var type = "playlist"; //song: 单曲; playlist: 歌单; album: 唱片 +var id = "7452421335"; //封面 ID / 单曲 ID / 歌单 ID +``` + ### 插件 * [Bootstrap](https://getbootstrap.com/) * [iziToast](https://izitoast.marcelodolza.com/) -* [Iconfont](https://www.iconfont.cn/) +* [Font Awesome](https://fontawesome.com/) * [jQuery](https://jquery.com/) * [Aplayer](https://aplayer.js.org/) ### API +* [MetingAPI By 武恩赐](https://api.wuenci.com/meting/api/) * [小歪 API](https://api.ixiaowai.cn/) * [天气 API](https://www.tianqiapi.com/) * [Hitokoto 一言](https://hitokoto.cn/) diff --git a/README_EN.md b/README_EN.md index 90c5cc0..cf048df 100644 --- a/README_EN.md +++ b/README_EN.md @@ -28,16 +28,22 @@ Simple little homepage, had enough of the original one and made a new one - [x] Mobile adaptation * [ ] Haven't thought about it yet +### Music + +>This project uses the `Aplayer` music player based on `MetingJS` for quick song list customization +>*Only supported in **Mainland China**, please replace `music.js` with [the following](https://file.imsyy.top/js/music/music-other.js) in other regions to enable the music player to work properly + ### Plugins * [Bootstrap](https://getbootstrap.com/) * [iziToast](https://izitoast.marcelodolza.com/) -* [Iconfont](https://www.iconfont.cn/) +* [Font Awesome](https://fontawesome.com/) * [jQuery](https://jquery.com/) * [Aplayer](https://aplayer.js.org/) ### API +* [MetingAPI By wuenci](https://api.wuenci.com/meting/api/) * [小歪 API](https://api.ixiaowai.cn/) * [天气 API](https://www.tianqiapi.com/) * [Hitokoto 一言](https://hitokoto.cn/) diff --git a/index.html b/index.html index b4d2d7c..a7167e0 100644 --- a/index.html +++ b/index.html @@ -368,7 +368,7 @@
imsyy .top
-   v 2.2 +   v 3.0 @@ -427,23 +427,23 @@
-  壁纸个性化设置 +  音乐歌单支持快速自定义 + + +  壁纸支持个性化设置  音乐播放器支持音量控制 - -  修复 CDN 加载缓慢 -  时光胶囊显示错误  移动端动画及细节 -  优化部分动画及细节 +  图标更换为 Font Awesome - 点击此处返回旧版站点 + 返回旧版站点
diff --git a/js/main.js b/js/main.js index ff36960..457507b 100644 --- a/js/main.js +++ b/js/main.js @@ -355,15 +355,8 @@ var title2 = ` |_____|_| |_|_____/ |_| |_| ` var content = ` -版 本 号:2.2 -更新日期:2022-04-12 - -更新说明: -1. 新增 壁纸个性化设置 -2. 新增 音乐播放器支持音量控制 -3. 优化 部分动画及细节 -4. 优化 页面加载缓慢 -5. 优化 音乐延迟加载 +版 本 号:3.0 +更新日期:2022-05-20 主页: https://www.imsyy.top Github: https://github.com/imsyy/home