0
0

Show image info in tooltip

This commit is contained in:
syuilo 2018-10-20 15:21:24 +09:00
parent c2663529c1
commit b8a77fbada
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -26,7 +26,12 @@
</div>
</div>
<div class="images" v-if="images.length > 0">
<router-link v-for="image in images" :style="`background-image: url(${image.thumbnailUrl})`" :key="`${image.id}:${image._note.id}`" :to="image._note | notePage"></router-link>
<router-link v-for="image in images"
:style="`background-image: url(${image.thumbnailUrl})`"
:key="`${image.id}:${image._note.id}`"
:to="image._note | notePage"
:title="`${image.name}\n${(new Date(image.createdAt)).toLocaleString()}`"
></router-link>
</div>
<div class="tl">
<x-notes ref="timeline" :more="existMore ? fetchMoreNotes : null"/>