|
@@ -125,6 +125,7 @@
|
|
:delete-instance-on-destroy="false"
|
|
:delete-instance-on-destroy="false"
|
|
:cleanup-styles-on-destroy="false"
|
|
:cleanup-styles-on-destroy="false"
|
|
>
|
|
>
|
|
|
|
+
|
|
<swiper-slide
|
|
<swiper-slide
|
|
class="swiper-no-swiping"
|
|
class="swiper-no-swiping"
|
|
v-for="(item, index) in activeRow.urlList"
|
|
v-for="(item, index) in activeRow.urlList"
|
|
@@ -143,11 +144,13 @@
|
|
</swiper-slide>
|
|
</swiper-slide>
|
|
<div class="swiper-pagination" slot="pagination"></div>
|
|
<div class="swiper-pagination" slot="pagination"></div>
|
|
<div
|
|
<div
|
|
|
|
+ v-if="activeRow.urlList.length>1"
|
|
class="swiper-button-prev swiper-button-white"
|
|
class="swiper-button-prev swiper-button-white"
|
|
@click="prev"
|
|
@click="prev"
|
|
slot="button-prev"
|
|
slot="button-prev"
|
|
></div>
|
|
></div>
|
|
<div
|
|
<div
|
|
|
|
+ v-if="activeRow.urlList.length>1"
|
|
class="swiper-button-next swiper-button-white"
|
|
class="swiper-button-next swiper-button-white"
|
|
@click="next"
|
|
@click="next"
|
|
slot="button-next"
|
|
slot="button-next"
|
|
@@ -254,7 +257,6 @@ export default {
|
|
// autoHeight: true,
|
|
// autoHeight: true,
|
|
observer: true, //修改swiper自己或子元素时,自动初始化swiper
|
|
observer: true, //修改swiper自己或子元素时,自动初始化swiper
|
|
observeParents: true, //修改swiper的父元素时,自动初始化swiper
|
|
observeParents: true, //修改swiper的父元素时,自动初始化swiper
|
|
- observeSlideChildren: true,
|
|
|
|
speed: 300,
|
|
speed: 300,
|
|
loop: true,
|
|
loop: true,
|
|
pagination: ".swiper-pagination",
|
|
pagination: ".swiper-pagination",
|