mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
install vue-motion
This commit is contained in:
@@ -4,15 +4,14 @@
|
||||
:class="[{ current: props.isCurrent }, { 'context-on': context_on }]"
|
||||
@dblclick="emitUpdate(props.song)"
|
||||
@contextmenu="showContextMenu"
|
||||
v-motion-slide-visible-once-right
|
||||
>
|
||||
<div class="index">{{ props.index }}</div>
|
||||
<div class="flex">
|
||||
<div
|
||||
class="album-art image rounded"
|
||||
:style="{
|
||||
backgroundImage: `url("${
|
||||
imguri + props.song.image
|
||||
}"`,
|
||||
backgroundImage: `url("${imguri + props.song.image}"`,
|
||||
}"
|
||||
@click="emitUpdate(props.song)"
|
||||
>
|
||||
@@ -74,7 +73,7 @@ import { paths } from "../../config";
|
||||
const contextStore = useContextStore();
|
||||
|
||||
const context_on = ref(false);
|
||||
const imguri = paths.images.thumb
|
||||
const imguri = paths.images.thumb;
|
||||
|
||||
const showContextMenu = (e: Event) => {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user