@fy-/fws-vue 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -343,12 +343,13 @@ onUnmounted(() => {
|
|
|
343
343
|
>
|
|
344
344
|
<slot name="thumbnail" />
|
|
345
345
|
<template v-for="i in images.length" :key="`g_${id}_${i}`">
|
|
346
|
-
<div v-if="ranking" class="img-gallery-ranking">#{{ i }}</div>
|
|
347
346
|
<template v-if="mode == 'mason'">
|
|
348
347
|
<div
|
|
349
|
-
class="grid gap-4 items-start"
|
|
348
|
+
class="grid gap-4 items-start relative"
|
|
350
349
|
v-if="i + (1 % gridHeight) == 0"
|
|
351
350
|
>
|
|
351
|
+
<div v-if="ranking" class="img-gallery-ranking">{{ i }}</div>
|
|
352
|
+
|
|
352
353
|
<template v-for="j in gridHeight" :key="`gi_${id}_${i + j}`">
|
|
353
354
|
<div>
|
|
354
355
|
<img
|
|
@@ -370,7 +371,8 @@ onUnmounted(() => {
|
|
|
370
371
|
</template>
|
|
371
372
|
</div>
|
|
372
373
|
</template>
|
|
373
|
-
<div v-else>
|
|
374
|
+
<div class="relative" v-else>
|
|
375
|
+
<div v-if="ranking" class="img-gallery-ranking">{{ i }}</div>
|
|
374
376
|
<img
|
|
375
377
|
@click="$eventBus.emit(`${id}GalleryImage`, i - 1)"
|
|
376
378
|
class="h-auto max-w-full rounded-lg cursor-pointer"
|