Browse Source

refactor: ♻️ 修改轮播时长

pull/5/head
姜鑫 3 years ago
parent
commit
8f6a428fc8
  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]">
<Swiper
v-if="chunkList.length"
:autoplay="chunkList.length > 6"
:autoplay="chunkList.length > 6 ? { delay: 15000 } : false"
:modules="modules"
:slides-offset-before="24"
style="height: 879px"

Loading…
Cancel
Save