- <view>
- <view class="tabbar-view {{ bottomStyle ? 'isAppleStyle' : ''}}">
- <view class="tabber-view-nav" wx:for="{{titleList}}" wx:key="index" bindtap="changeTitle" data-value="{{item.val}}" data-index="{{index}}">
- <image lazy-load class="titleImg" src="{{ curIndex == index ? item.curIcon : item.icon}}"></image>
- <view class="isTitle {{ curIndex == index ? 'curTitle' : '' && index}}" >
- {{item.title}}
- </view>
- </view>
- </view>
- </view>
|