mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
优化字幕结构
This commit is contained in:
1 parent
3965132252
commit
9f2038539e
12 files changed
+137
-257
No files matched your search
@@ -3,9 +3,8 @@ import { append, addClass, removeClass } from './utils';
|
||||
export default class Mask {
|
||||
constructor(art) {
|
||||
this.art = art;
|
||||
const { $mask } = art.template;
|
||||
const $playBig = append($mask, '<div class="art-state"></div>');
|
||||
append($playBig, art.icons.state);
|
||||
const { $state } = art.template;
|
||||
append($state, art.icons.state);
|
||||
}
|
||||
|
||||
set show(value) {
|
||||
|
||||
Reference in new issue
Block a user