mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix #1625 pull request 改动点: - 重构组件,优化性能 - 新增 inactiveColor、name 属性 - 完善文档,增加小程序自定义tab-bar示例
6 lines
189 B
Plaintext
6 lines
189 B
Plaintext
<van-tabbar active="{{ active }}" bind:change="onChange">
|
|
<van-tabbar-item wx:for="{{ list }}" wx:key="index" icon="{{ item.icon }}">{{
|
|
item.text
|
|
}}</van-tabbar-item>
|
|
</van-tabbar>
|