mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
update demo
This commit is contained in:
1 parent
fe88ab30d3
commit
81e107d7ef
5 files changed
+77
-69
No files matched your search
@@ -106,8 +106,10 @@ export default class Setting extends Component {
|
||||
append($left, item.html);
|
||||
} else {
|
||||
if (hasChildren) {
|
||||
const $icon = append($left, item.icon || icons.config);
|
||||
const $icon = document.createElement('div');
|
||||
addClass($icon, 'art-setting-item-left-icon');
|
||||
append($icon, item.icon || icons.config);
|
||||
append($left, $icon);
|
||||
append($right, icons.arrowRight);
|
||||
} else {
|
||||
append($left, icons.check);
|
||||
|
||||
@@ -57,6 +57,9 @@
|
||||
align-items: center;
|
||||
|
||||
.art-setting-item-left-icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
margin-right: 10px;
|
||||
|
||||
Reference in new issue
Block a user