To realize the linkage of two swiper under vue scaffolding

recently encountered a need for tab to dynamically switch content, so think of the vue-awesome-swiper plug-in and ask the gods to tell you how to write the following effects

clipboard.png

I hope that God can paste the source code so that the upper and lower swiper can be linked in the vue scaffolding, not with the JQ method, which is too large. I don"t want to be a hand-holding party, but I really thought about it all day and didn"t do it. Thank you ~

Mar.03,2021
Where is the swiper above

?
has not used this component, but there must be events exposed to the component, such as sliderChangeEnd (sliding end) or something?
after the sliding of one component ends or is clicked, just call the sliding method of another component or change the value of the props that controls the state.


you can take a look at the article I wrote. I don't know how to copy the link on my phone. no, no, no.

https://codeshelper.com/a/11.

Menu