diff --git a/css/style.css b/css/style.css
index 03866eb..71f01be 100644
--- a/css/style.css
+++ b/css/style.css
@@ -477,6 +477,12 @@ span.time-text {
font-family: 'UnidreamLED' !important;
}
+.weather {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+}
+
/*分割线*/
.line {
margin: 1rem 0.25rem;
diff --git a/index.html b/index.html
index a7167e0..af21980 100644
--- a/index.html
+++ b/index.html
@@ -37,9 +37,7 @@
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/js/iziToast.min.js">
-
+
diff --git a/js/music.js b/js/music.js
index 5948a25..3d03169 100644
--- a/js/music.js
+++ b/js/music.js
@@ -17,7 +17,7 @@ $.ajax({
url: "https://api.wuenci.com/meting/api/?server=" + server + "&type=" + type + "&id=" + id, //json文件位置,文件名
type: "GET",
dataType: "JSON",
- success: function (data) {
+ success: function (data) {
const ap = new APlayer({
container: document.getElementById('aplayer'),
order: 'random',
@@ -48,7 +48,14 @@ $.ajax({
if ($(document).width() >= 990) {
$('.power').css("cssText", "display:none");
$('#lrc').css("cssText", "display:block !important");
- }
+ };
+ // Notification.requestPermission().then(res => {
+ // console.log(res)
+ // });
+ // new Notification('音乐通知', {
+ // body: '正在播放:' + music,
+ // tag: 1
+ // });
});
ap.on('pause', function () {