Fix 天气信息超出边界
This commit is contained in:
parent
34e9007870
commit
20e8d972e3
@ -477,6 +477,12 @@ span.time-text {
|
|||||||
font-family: 'UnidreamLED' !important;
|
font-family: 'UnidreamLED' !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.weather {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
/*分割线*/
|
/*分割线*/
|
||||||
.line {
|
.line {
|
||||||
margin: 1rem 0.25rem;
|
margin: 1rem 0.25rem;
|
||||||
|
@ -37,9 +37,7 @@
|
|||||||
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/js/iziToast.min.js">
|
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/js/iziToast.min.js">
|
||||||
</script>
|
</script>
|
||||||
<!-- FontAwesome -->
|
<!-- FontAwesome -->
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet" href="https://file.imsyy.top/font/fontawesome/css/pro.min.css">
|
||||||
href="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f2eac667-5d8e-404a-aa05-70088e3eebfd/fb74713f-7e1d-40d6-8b25-2171a185b8b3.css"
|
|
||||||
media="all">
|
|
||||||
<!-- Aplayer -->
|
<!-- Aplayer -->
|
||||||
<link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/aplayer/1.10.1/APlayer.min.css"
|
<link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/aplayer/1.10.1/APlayer.min.css"
|
||||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||||
|
11
js/music.js
11
js/music.js
@ -17,7 +17,7 @@ $.ajax({
|
|||||||
url: "https://api.wuenci.com/meting/api/?server=" + server + "&type=" + type + "&id=" + id, //json文件位置,文件名
|
url: "https://api.wuenci.com/meting/api/?server=" + server + "&type=" + type + "&id=" + id, //json文件位置,文件名
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: "JSON",
|
dataType: "JSON",
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
const ap = new APlayer({
|
const ap = new APlayer({
|
||||||
container: document.getElementById('aplayer'),
|
container: document.getElementById('aplayer'),
|
||||||
order: 'random',
|
order: 'random',
|
||||||
@ -48,7 +48,14 @@ $.ajax({
|
|||||||
if ($(document).width() >= 990) {
|
if ($(document).width() >= 990) {
|
||||||
$('.power').css("cssText", "display:none");
|
$('.power').css("cssText", "display:none");
|
||||||
$('#lrc').css("cssText", "display:block !important");
|
$('#lrc').css("cssText", "display:block !important");
|
||||||
}
|
};
|
||||||
|
// Notification.requestPermission().then(res => {
|
||||||
|
// console.log(res)
|
||||||
|
// });
|
||||||
|
// new Notification('音乐通知', {
|
||||||
|
// body: '正在播放:' + music,
|
||||||
|
// tag: 1
|
||||||
|
// });
|
||||||
});
|
});
|
||||||
|
|
||||||
ap.on('pause', function () {
|
ap.on('pause', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user