feat: 制作自定义 tabbar

This commit is contained in:
熊熊熊子路
2026-01-14 15:45:13 +08:00
parent b9aa7e5c67
commit 331b0383e3
5 changed files with 68 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
<!--custom-tab-bar/index.wxml-->
<t-tab-bar t-class="t-tab-bar" value="{{value}}" bindchange="onChange" fixed="{{false}}" split="{{false}}">
<t-tab-bar-item wx:for="{{list}}" wx:key="value" value="{{item.value}}" icon="{{item.icon}}">
{{item.label}}
</t-tab-bar-item>
</t-tab-bar>