You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1016 B
1 lines
1016 B
<view class="{{['tabbar_box '+(isIphoneX?'iphoneX-height':'')]}}" style="{{('background-color:'+tabbar.backgroundColor)}}"><block wx:for="{{tabbar.list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.isSpecial==true}}"><navigator class="tabbar_nav" style="{{('color:'+tabbar.selectedColor)}}" hover-class="none" url="{{item.pagePath}}" open-type="navigate"><view class="special-wrapper"><image class="tabbar_icon" src="{{item.iconPath}}"></image></view><image class="special-text-wrapper"></image><text>{{item.text}}</text></navigator></block><block wx:else><navigator class="tabbar_nav" style="{{('color:'+(index==currentTabIndex?tabbar.selectedColor:tabbar.color))}}" hover-class="none" url="{{item.pagePath}}" open-type="switchTab" data-event-opts="{{[['tap',[['switchTab',[index]]]]]}}" bindtap="__e"><image class="tabbar_icon" src="{{index==currentTabIndex?item.selectedIconPath:item.iconPath}}"></image><text>{{item.text}}</text></navigator></block></block></block></view> |