mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
update style
This commit is contained in:
1 parent
d6e4cf01a6
commit
ecc54b7428
7 files changed
+16
-13
No files matched your search
@@ -4,6 +4,9 @@ export default function quality(option) {
|
||||
const qualityDefault = qualityOption.find((item) => item.default) || qualityOption[0];
|
||||
return {
|
||||
...option,
|
||||
style: {
|
||||
marginRight: '10px',
|
||||
},
|
||||
html: qualityDefault ? qualityDefault.html : '',
|
||||
selector: qualityOption,
|
||||
onSelect(item) {
|
||||
|
||||
@@ -5,6 +5,7 @@ export default function time(option) {
|
||||
...option,
|
||||
style: {
|
||||
cursor: 'auto',
|
||||
marginLeft: '10px',
|
||||
},
|
||||
mounted: ($control) => {
|
||||
function getTime() {
|
||||
|
||||
@@ -211,10 +211,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.art-control-onlyText {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.art-control-volume {
|
||||
.art-volume-panel {
|
||||
position: relative;
|
||||
|
||||
@@ -92,10 +92,6 @@ export default class Component {
|
||||
option.mounted.call(this.art, $ref);
|
||||
}
|
||||
|
||||
if ($ref.childNodes.length === 1 && $ref.childNodes[0].nodeType === 3) {
|
||||
addClass($ref, 'art-control-onlyText');
|
||||
}
|
||||
|
||||
def(this, name, {
|
||||
value: $ref,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user