update @优化轮播
This commit is contained in:
parent
b2180a5f3c
commit
9b0e7e350e
|
@ -24,14 +24,15 @@
|
|||
height: 200px;
|
||||
margin: 0 auto;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
.carouselImg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.my-swiper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 350px;
|
||||
height: 200px;
|
||||
background-color: #fff;
|
||||
.swiper-wrapper {
|
||||
.swiper-slide {
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
v-else-if="pageData.length"
|
||||
:slides-per-view="3"
|
||||
:space-between="8"
|
||||
:touchRatio="0.6"
|
||||
:loop="pageData.length >=3"
|
||||
:loopAdditionalSlides="2"
|
||||
:centered-slides="true"
|
||||
|
|
Loading…
Reference in New Issue