mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
优化移动端UI
This commit is contained in:
1 parent
beea013daf
commit
7b3913e318
13 files changed
+96
-55
No files matched your search
@@ -12,7 +12,7 @@ export default class Template {
|
||||
}
|
||||
|
||||
errorHandle(
|
||||
art.constructor.instances.every(art => art.template.$container !== this.$container),
|
||||
art.constructor.instances.every((art) => art.template.$container !== this.$container),
|
||||
'Cannot mount multiple instances on the same dom element',
|
||||
);
|
||||
|
||||
@@ -131,6 +131,10 @@ export default class Template {
|
||||
addClass(this.$info, 'art-backdrop-filter');
|
||||
addClass(this.$contextmenu, 'art-backdrop-filter');
|
||||
}
|
||||
|
||||
if (this.art.isMobile) {
|
||||
addClass(this.$container, 'art-mobile');
|
||||
}
|
||||
}
|
||||
|
||||
mobile() {
|
||||
|
||||
Reference in new issue
Block a user