Commit cca792f0f2dcb6f3109924ac70512c004c78f9ae
1 parent
8e9ca50b
paginationClickable
Showing
1 changed file
with
13 additions
and
9 deletions
webintroduce/src/views/home.vue
@@ -109,15 +109,19 @@ export default { | @@ -109,15 +109,19 @@ export default { | ||
109 | data() { | 109 | data() { |
110 | return { | 110 | return { |
111 | swiperOption: { | 111 | swiperOption: { |
112 | - pagination: { | ||
113 | - el: ".swiper-pagination", | ||
114 | - clickable: true | ||
115 | - }, | ||
116 | - autoplay: { | ||
117 | - enabled: true, | ||
118 | - disableOnInteraction: false, | ||
119 | - delay: 3000 | ||
120 | - }, | 112 | + pagination: '.swiper-pagination', |
113 | + paginationClickable: true, | ||
114 | + // pagination: { | ||
115 | + // el: ".swiper-pagination", | ||
116 | + // clickable: true | ||
117 | + // }, | ||
118 | + autoplay: 3000, | ||
119 | + speed: 1000, | ||
120 | + // autoplay: { | ||
121 | + // enabled: true, | ||
122 | + // disableOnInteraction: false, | ||
123 | + // delay: 3000 | ||
124 | + // }, | ||
121 | }, | 125 | }, |
122 | newsLists:[ | 126 | newsLists:[ |
123 | { | 127 | { |