Browse Source

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

李志伟 3 years ago
parent
commit
6762892d12
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      src/components/Swiper/index.vue
  2. 1
    1
      src/pages/IndexImage.vue

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

8
 
8
 
9
 <script>
9
 <script>
10
 import Swiper from 'swiper'
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
 export default {
15
 export default {
16
   name: 'Swiper',
16
   name: 'Swiper',

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

35
     return {
35
     return {
36
       swiperOptions: {
36
       swiperOptions: {
37
         autoplay: {
37
         autoplay: {
38
-          delay: 100
38
+          delay: 2500
39
         }
39
         }
40
       }
40
       }
41
     }
41
     }