fix caroussel
This commit is contained in:
parent
875cb83793
commit
2db93da1d5
1 changed files with 5 additions and 3 deletions
|
|
@ -8,13 +8,15 @@
|
||||||
v-model="slide"
|
v-model="slide"
|
||||||
thumbnails
|
thumbnails
|
||||||
infinite
|
infinite
|
||||||
v-for="(img, i) in product.images"
|
arrows
|
||||||
:key="i"
|
transition-prev="slide-right"
|
||||||
|
transition-next="slide-left"
|
||||||
>
|
>
|
||||||
<q-carousel-slide
|
<q-carousel-slide
|
||||||
|
v-for="(img, i) in product.images"
|
||||||
:name="i + 1"
|
:name="i + 1"
|
||||||
|
:key="i"
|
||||||
:img-src="img"
|
:img-src="img"
|
||||||
style="/*background-size: contain; background-repeat: no-repeat*/"
|
|
||||||
></q-carousel-slide>
|
></q-carousel-slide>
|
||||||
</q-carousel>
|
</q-carousel>
|
||||||
<q-img
|
<q-img
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue