tabbar.wxml 451 B

12345678910
  1. <view>
  2. <view class="tabbar-view {{ bottomStyle ? 'isAppleStyle' : ''}}">
  3. <view class="tabber-view-nav" wx:for="{{titleList}}" wx:key="index" bindtap="changeTitle" data-value="{{item.val}}" data-index="{{index}}">
  4. <image lazy-load class="titleImg" src="{{ curIndex == index ? item.curIcon : item.icon}}"></image>
  5. <view class="isTitle {{ curIndex == index ? 'curTitle' : '' && index}}" >
  6. {{item.title}}
  7. </view>
  8. </view>
  9. </view>
  10. </view>