@fy-/fws-vue 0.3.55 → 0.3.57
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.
|
@@ -313,10 +313,11 @@ onUnmounted(() => {
|
|
|
313
313
|
/>
|
|
314
314
|
<component
|
|
315
315
|
v-else
|
|
316
|
+
@click="$eventBus.emit(`${id}GalleryImage`, i - 1)"
|
|
316
317
|
:is="imageComponent"
|
|
317
|
-
:image="getThumbnailUrl(images[i - 1].image
|
|
318
|
-
:variant="getThumbnailUrl(images[i - 1].variant
|
|
319
|
-
:alt="getThumbnailUrl(images[i - 1].alt
|
|
318
|
+
:image="getThumbnailUrl(images[i - 1]).image"
|
|
319
|
+
:variant="getThumbnailUrl(images[i - 1]).variant"
|
|
320
|
+
:alt="getThumbnailUrl(images[i - 1]).alt"
|
|
320
321
|
class="h-auto max-w-full rounded-lg cursor-pointer shadow"
|
|
321
322
|
/>
|
|
322
323
|
</div>
|
|
@@ -353,10 +354,11 @@ onUnmounted(() => {
|
|
|
353
354
|
<component
|
|
354
355
|
v-else-if="i + j - 2 < images.length"
|
|
355
356
|
:is="imageComponent"
|
|
356
|
-
:image="getThumbnailUrl(images[i + j - 2].image
|
|
357
|
-
:variant="getThumbnailUrl(images[i + j - 2].variant
|
|
358
|
-
:alt="getThumbnailUrl(images[i + j - 2].alt
|
|
357
|
+
:image="getThumbnailUrl(images[i + j - 2]).image"
|
|
358
|
+
:variant="getThumbnailUrl(images[i + j - 2]).variant"
|
|
359
|
+
:alt="getThumbnailUrl(images[i + j - 2]).alt"
|
|
359
360
|
class="h-auto max-w-full rounded-lg cursor-pointer"
|
|
361
|
+
@click="$eventBus.emit(`${id}GalleryImage`, i + j - 2)"
|
|
360
362
|
/>
|
|
361
363
|
</div>
|
|
362
364
|
</template>
|
|
@@ -372,10 +374,11 @@ onUnmounted(() => {
|
|
|
372
374
|
<component
|
|
373
375
|
v-else-if="imageComponent"
|
|
374
376
|
:is="imageComponent"
|
|
375
|
-
:image="getThumbnailUrl(images[i - 1].image
|
|
376
|
-
:variant="getThumbnailUrl(images[i - 1].variant
|
|
377
|
-
:alt="getThumbnailUrl(images[i - 1].alt
|
|
377
|
+
:image="getThumbnailUrl(images[i - 1]).image"
|
|
378
|
+
:variant="getThumbnailUrl(images[i - 1]).variant"
|
|
379
|
+
:alt="getThumbnailUrl(images[i - 1]).alt"
|
|
378
380
|
class="h-auto max-w-full rounded-lg cursor-pointer"
|
|
381
|
+
@click="$eventBus.emit(`${id}GalleryImage`, i - 1)"
|
|
379
382
|
/>
|
|
380
383
|
</div>
|
|
381
384
|
</template>
|