From cca792f0f2dcb6f3109924ac70512c004c78f9ae Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Mon, 13 May 2019 14:16:14 +0800 Subject: [PATCH] paginationClickable --- webintroduce/src/views/home.vue | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/webintroduce/src/views/home.vue b/webintroduce/src/views/home.vue index 774014a..6bb0b2d 100644 --- a/webintroduce/src/views/home.vue +++ b/webintroduce/src/views/home.vue @@ -109,15 +109,19 @@ export default { data() { return { swiperOption: { - pagination: { - el: ".swiper-pagination", - clickable: true - }, - autoplay: { - enabled: true, - disableOnInteraction: false, - delay: 3000 - }, + pagination: '.swiper-pagination', + paginationClickable: true, + // pagination: { + // el: ".swiper-pagination", + // clickable: true + // }, + autoplay: 3000, + speed: 1000, + // autoplay: { + // enabled: true, + // disableOnInteraction: false, + // delay: 3000 + // }, }, newsLists:[ { -- libgit2 0.21.4