You've already forked gun-manager-frontend
this is how we generate our shit.
This commit is contained in:
@@ -12,9 +12,12 @@
|
|||||||
<div style="border-top: 1px rgba(123,123,123,0.4) solid; border-bottom: 1px rgba(123,123,123,0.4) solid;"
|
<div style="border-top: 1px rgba(123,123,123,0.4) solid; border-bottom: 1px rgba(123,123,123,0.4) solid;"
|
||||||
class="p-5 mt-4 flex justify-evenly" v-for="photo in gun.photos">
|
class="p-5 mt-4 flex justify-evenly" v-for="photo in gun.photos">
|
||||||
<div>
|
<div>
|
||||||
<Image :src="`${remoteUrl}/gun/photo/${photo.id}/200/${photo.file_name}`" preview>
|
<Image preview zoomInDisabled zoomOutDisabled>
|
||||||
|
<template #image>
|
||||||
|
<img alt="image" :src="`${remoteUrl}/gun/photo/${photo.id}/200/${photo.file_name}`" />
|
||||||
|
</template>
|
||||||
<template #preview>
|
<template #preview>
|
||||||
<img :src="`${remoteUrl}/gun/photo/${photo.id}/1200/${photo.file_name}`" alt="image"/>
|
<img :src="`${remoteUrl}/gun/photo/${photo.id}/${photo.file_name}`" alt="image"/>
|
||||||
</template>
|
</template>
|
||||||
</Image>
|
</Image>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user