...
|
...
|
@@ -142,24 +142,24 @@ |
|
|
// alert(app.id)
|
|
|
app.getCatInfo3();
|
|
|
// //导航轮播
|
|
|
// app.mySwiper = new Swiper('.examination_swiper .swiper-container', {
|
|
|
// slidesPerView: 'auto',
|
|
|
// slideToClickedSlide: true,
|
|
|
// observer: true,
|
|
|
// observeParents: true,
|
|
|
// freeMode: true
|
|
|
// });
|
|
|
// //内容轮播
|
|
|
// app.Swiper1 = new Swiper('.examination_content_swiper .swiper-container', {
|
|
|
// observer: true,
|
|
|
// observeParents: true,
|
|
|
// autoHeight: true,
|
|
|
// onTransitionEnd: function (swiper) {
|
|
|
// app.ind = swiper.activeIndex;
|
|
|
// app.mySwiper.slideTo(swiper.activeIndex, 500)
|
|
|
// // alert(swiper.activeIndex);
|
|
|
// }
|
|
|
// });
|
|
|
app.mySwiper = new Swiper('.examination_swiper .swiper-container', {
|
|
|
slidesPerView: 'auto',
|
|
|
slideToClickedSlide: true,
|
|
|
observer: true,
|
|
|
observeParents: true,
|
|
|
freeMode: true
|
|
|
});
|
|
|
//内容轮播
|
|
|
app.Swiper1 = new Swiper('.examination_content_swiper .swiper-container', {
|
|
|
observer: true,
|
|
|
observeParents: true,
|
|
|
autoHeight: true,
|
|
|
onTransitionEnd: function (swiper) {
|
|
|
app.ind = swiper.activeIndex;
|
|
|
app.mySwiper.slideTo(swiper.activeIndex, 500)
|
|
|
// alert(swiper.activeIndex);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
...
|
...
|
|