Sfoglia il codice sorgente

Merge branch 'master' of http://git.ycjcjy.com/dianyang/colmo-h5

李志伟 3 anni fa
parent
commit
6762892d12
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2
    2
      src/components/Swiper/index.vue
  2. 1
    1
      src/pages/IndexImage.vue

+ 2
- 2
src/components/Swiper/index.vue Vedi File

@@ -8,9 +8,9 @@
8 8
 
9 9
 <script>
10 10
 import Swiper from 'swiper'
11
-// import SwiperCore, { Autoplay, Pagination } from 'swiper/core'
11
+import SwiperCore, { Autoplay, Pagination } from 'swiper/core'
12 12
 
13
-// SwiperCore.use([Autoplay, Pagination])
13
+SwiperCore.use([Autoplay, Pagination])
14 14
 
15 15
 export default {
16 16
   name: 'Swiper',

+ 1
- 1
src/pages/IndexImage.vue Vedi File

@@ -35,7 +35,7 @@ export default {
35 35
     return {
36 36
       swiperOptions: {
37 37
         autoplay: {
38
-          delay: 100
38
+          delay: 2500
39 39
         }
40 40
       }
41 41
     }