mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
add attrMix.js
This commit is contained in:
1 parent
1438ce5e82
commit
938e8718bc
12 files changed
+268
-232
No files matched your search
@@ -102,7 +102,7 @@ export default class Template {
|
||||
}
|
||||
|
||||
desktop() {
|
||||
const { backdrop, theme, useSSR } = this.art.option;
|
||||
const { backdrop, useSSR } = this.art.option;
|
||||
|
||||
if (!useSSR) {
|
||||
this.$container.innerHTML = Template.html;
|
||||
@@ -135,7 +135,6 @@ export default class Template {
|
||||
this.$miniClose = this.query('.art-mini-close');
|
||||
this.$contextmenu = this.query('.art-contextmenus');
|
||||
|
||||
this.$player.style.setProperty('--theme', theme);
|
||||
this.$container.dataset.artId = this.art.id;
|
||||
|
||||
if (backdrop) {
|
||||
|
||||
Reference in new issue
Block a user