mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
update setting
This commit is contained in:
1 parent
a56553c6f6
commit
ad382b1569
3 files changed
+10
-17
No files matched your search
@@ -90,18 +90,15 @@ export default class Setting extends Component {
|
||||
} = this.art;
|
||||
|
||||
const $item = document.createElement('div');
|
||||
const hasChildren = item.selector && item.selector.length;
|
||||
|
||||
const $left = append($item, `<div class="art-setting-item-left"></div>`);
|
||||
const $right = append($item, `<div class="art-setting-item-right"></div>`);
|
||||
|
||||
addClass($item, 'art-setting-item');
|
||||
if (item.default) {
|
||||
addClass($item, 'art-current');
|
||||
}
|
||||
if (item.default) addClass($item, 'art-current');
|
||||
|
||||
const $left = append($item, '<div class="art-setting-item-left"></div>');
|
||||
const $right = append($item, '<div class="art-setting-item-right"></div>');
|
||||
|
||||
const $icon = document.createElement('div');
|
||||
addClass($icon, 'art-setting-item-left-icon');
|
||||
const hasChildren = item.selector && item.selector.length;
|
||||
|
||||
if (item.back) {
|
||||
addClass($item, 'art-setting-item-back');
|
||||
|
||||
Reference in new issue
Block a user