mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 15:26:16 -08:00
update style
This commit is contained in:
1 parent
744a6496c7
commit
79d4ef3d36
4 files changed
+146
-136
No files matched your search
@@ -3,6 +3,9 @@ import { secondToTime } from '../utils';
|
||||
export default function time(option) {
|
||||
return (art) => ({
|
||||
...option,
|
||||
style: {
|
||||
cursor: 'auto',
|
||||
},
|
||||
mounted: ($control) => {
|
||||
function getTime() {
|
||||
const newTime = `${secondToTime(art.currentTime)} / ${secondToTime(art.duration)}`;
|
||||
|
||||
@@ -168,6 +168,10 @@
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.art-controls-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.art-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user