Article From:https://segmentfault.com/q/1010000010930842
Question:


Code as above, do you have any way to achieve swiper-pagination rendering?

Answer 0:

https://github.com/surmon-chi…

Let’s use vue-awesome-swiper. There are examples in it

Answer 1:

Let’s see if the hash part of URL is changed after clicking in swiper, if so, we need to modify the code.

Answer 2:

swiper-pagination It needs to be placed inside swiper-wrapper, and you wrote it flat.

Answer 3:

pagination: ‘.swiper-pagination’,

Answer 4:

<div class=”swiper-pagination” slot=”pagination”></div> Add slot= “pagination”

Answer 5:

How does the landlord solve this problem?

Leave a Reply

Your email address will not be published. Required fields are marked *