Browse Source

refactor: ♻️ 轮播时长修改

pull/6/head
姜鑫 3 years ago
parent
commit
c78d5b3155
  1. 2
      src/components/ScrollList/ScrollList.vue

2
src/components/ScrollList/ScrollList.vue

@ -3,7 +3,7 @@
<div class="swiper-container w-[calc(100%-104px)] my-[30px]"> <div class="swiper-container w-[calc(100%-104px)] my-[30px]">
<Swiper <Swiper
v-if="chunkList.length" v-if="chunkList.length"
:autoplay="chunkList.length > 6 ? { delay: 15000 } : false"
:autoplay="chunkList.length > 1 ? { delay: 15000 } : false"
:modules="modules" :modules="modules"
:slides-offset-before="24" :slides-offset-before="24"
style="height: 879px" style="height: 879px"

Loading…
Cancel
Save