- <cover-view class='cu-tabbar-height'></cover-view>
- <cover-view class="cu-bar tabbar bg-white shadow foot">
- <cover-view class="action" wx:for="{{list}}" wx:key="index" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
- <cover-view class='cuIcon-cu-image'>
- <cover-image src='{{selected === index ? item.selectedIconPath : item.iconPath}}' class='{{selected === index ? "111" : "animation"}}'></cover-image>
- </cover-view>
- <cover-view class='{{selected === index ? "text-color" : "text-gray"}}'>{{item.text}}</cover-view>
- </cover-view>
- </cover-view>
|