刚开始用的时候只能自定义高度,那么超出高度的内容就会被斩断,所以需要获取一下当前高度来自定义
<swiper :style="{
'height': scrollHeight+'px'}" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish" style="height: 1050upx
刚开始用的时候只能自定义高度,那么超出高度的内容就会被斩断,所以需要获取一下当前高度来自定义
<swiper :style="{
'height': scrollHeight+'px'}" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish" style="height: 1050upx