mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
Migrate to vite and some more stuff
- server: add a `Track` class - server: add a create_track_class function - client: migrate from vue-cli to vite
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="progress">
|
||||
<div class="duration">{{ fmtMSS(current.length) }}</div>
|
||||
<div class="duration">{{ current.length }}</div>
|
||||
<input
|
||||
id="progress"
|
||||
type="range"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
:key="song"
|
||||
@click="playThis(song)"
|
||||
:class="{
|
||||
currentInQueue: current._id.$oid == song._id.$oid,
|
||||
currentInQueue: current.id == song.id,
|
||||
}"
|
||||
>
|
||||
<div
|
||||
@@ -42,7 +42,7 @@
|
||||
>
|
||||
<div
|
||||
class="now-playing-track image"
|
||||
v-if="current._id.$oid == song._id.$oid"
|
||||
v-if="current.id == song.id"
|
||||
:class="{ active: is_playing, not_active: !is_playing }"
|
||||
></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user