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.
15 lines
897 B
15 lines
897 B
3 years ago
|
<view class="tabbar_box {{isIphoneX?'iphoneX-height':''}}" style="background-color:{{tabbar.backgroundColor}}">
|
||
|
<block wx:for="{{tabbar.list}}" wx:key="index">
|
||
|
<navigator wx:if="{{item.isSpecial == true}}" class="tabbar_nav" hover-class="none" url="{{item.pagePath}}" style="color:{{tabbar.selectedColor}}" 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>
|
||
|
|
||
|
<navigator wx:else class="tabbar_nav" hover-class="none" url="{{item.pagePath}}" style="color:{{item.selected ? tabbar.selectedColor : tabbar.color}}" open-type="switchTab">
|
||
|
<image class="tabbar_icon" src="{{item.selected ? item.selectedIconPath : item.iconPath}}"></image>
|
||
|
<text>{{item.text}}</text>
|
||
|
</navigator>
|
||
|
</block>
|
||
|
</view>
|