How to use the tab tab in the vant UI framework

clipboard.png
how to write the data that is looped out in the toggle tab document is different from the tab written in jq

Mar.22,2021

isn't there active https://youzan.github.io/vant.

it should be two ways to judge the corresponding active according to the index in the order of van-tab. One is to dynamically display what you want to display according to v-for. The second is to write more van-tab. Anyway, his content is based on slot

.
<van-tabs v-model="active">
    <van-tab :title="...">1</...>
    <van-tab :title="...">2</...>
    <van-tab :title="...">3</...>
</...>

how to deal with the top tab button when scrolling the page, the attribute given is not easy to use, and the following content does not scroll after adding the style of fixed. Do you know how to deal with it? please share, thank you!

Menu