mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
扩展<mew-music>组件,可用于自定义侧边栏播放器
This commit is contained in:
parent
19b89dceb5
commit
55d6af5d5d
@ -116,8 +116,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
this.getAttribute('song')
|
this.getAttribute('song')
|
||||||
).then((response) => response.json())
|
).then((response) => response.json())
|
||||||
} else if (this.hasAttribute('playlist')) {
|
} else if (this.hasAttribute('playlist')) {
|
||||||
this.options.listFolded = this.getAttribute('fold')
|
|
||||||
this.options.order = this.getAttribute('order')
|
|
||||||
this.options.audio = await fetch(
|
this.options.audio = await fetch(
|
||||||
'https://api.i-meto.com/meting/api?server=netease&type=playlist&id=' +
|
'https://api.i-meto.com/meting/api?server=netease&type=playlist&id=' +
|
||||||
this.getAttribute('playlist')
|
this.getAttribute('playlist')
|
||||||
|
2
templates/assets/js/mew-custom.min.js
vendored
2
templates/assets/js/mew-custom.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user