初始化
This commit is contained in:
12
custom-tab-bar/index.wxml
Normal file
12
custom-tab-bar/index.wxml
Normal file
@@ -0,0 +1,12 @@
|
||||
<t-tab-bar t-class="t-tab-bar"
|
||||
defaultValue="label1"
|
||||
value="{{selected}}"
|
||||
bindchange="switchTab"
|
||||
split="{{false}}">
|
||||
<t-tab-bar-item value="{{item.label}}"
|
||||
icon="{{item.icon}}"
|
||||
wx:for="{{tabList}}"
|
||||
wx:key="index">
|
||||
{{item.label}}
|
||||
</t-tab-bar-item>
|
||||
</t-tab-bar>
|
||||
Reference in New Issue
Block a user