基础写法
swiperOption: {
loop: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
type: 'custom',
renderCustom: function (swiper, current, total) {
return current + ' of ' + total;
}
}
},