Files
lichebao/components/channel-tab-bar/index.wxml
T
2021-09-15 15:15:32 +08:00

9 lines
565 B
Plaintext

<view class="safe-pb height-190"></view>
<view class="fixed bottom-0 left-0 wp100 fn-flex bg-fff fn-flex-around safe-pb bg-fff bts-1-eb text-center z-index-4">
<block wx:for="{{list}}" wx:key='index'>
<view class="fn-flex-item pt10 pb10" bindtap="pushNavTab" data-url="{{item.url}}">
<image class='img-60x60' lazy-load="{{true}}" mode="aspectFit" src="{{currentIndex == index?item.selectedIconPath:item.iconPath}}"></image>
<view class="font-22 {{currentIndex == index?'color-1a':'color-999'}}">{{item.title}}</view>
</view>
</block>
</view>