Mint ui 他有滑动事件,不知道触发的什么事件?
<mt-tab-container @change="handleChange" value="value" swipeable="swipeable" v-model="active">
<mt-tab-container-item id="all">
<listGoods :state="all"></listGoods>
</mt-tab-container-item>
<mt-tab-container-item id="pendingPayment">
<listGoods :state="pendingPayment"></listGoods>
<listGoods :state="pendingPayment"></listGoods>
<listGoods :state="pendingPayment"></listGoods>
</mt-tab-container-item>
<mt-tab-container-item id="pendingShipemnt">
<listGoods :state="pendingShipemnt"></listGoods>
</mt-tab-container-item>
<mt-tab-container-item id="goodsReceived">
<listGoods :state="goodsReceived"></listGoods>
</mt-tab-container-item>
<mt-tab-container-item id="completed">
<listGoods :state="completed"></listGoods>
</mt-tab-container-item>
</mt-tab-container>
不知道怎么获取需要绑定的value的值,我想滑动的时候能让每个按钮变颜色,求大神帮忙
1 回复