mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
调整设置面板样式
This commit is contained in:
1 parent
8b88db6e71
commit
53c5502b0f
7 files changed
+28
-38
No files matched your search
@@ -16,19 +16,23 @@ export default class Setting {
|
||||
|
||||
init() {
|
||||
const {
|
||||
template: { $settingClose },
|
||||
template: { $setting },
|
||||
events: { proxy },
|
||||
} = this.art;
|
||||
|
||||
proxy($settingClose, 'click', () => {
|
||||
this.hide();
|
||||
proxy($setting, 'click', e => {
|
||||
if (e.target === $setting) {
|
||||
this.hide();
|
||||
}
|
||||
});
|
||||
|
||||
this.add(flip({
|
||||
disable: false,
|
||||
name: 'flip',
|
||||
index: 10,
|
||||
}));
|
||||
this.add(
|
||||
flip({
|
||||
disable: false,
|
||||
name: 'flip',
|
||||
index: 10,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
add(item, callback) {
|
||||
|
||||
Reference in new issue
Block a user