1234567891011121314151617 |
- <view class="tabbar">
- <view
- a:for="{{tabBar.items}}"
- a:key="index"
- data-index="{{index}}"
- data-item={{item}}
- class="tab-item"
- onTap="switchTab"
- >
- <image class="tab-icon" src="{{curtTab === index ? item.activeIcon : item.icon}}"></image>
- <text class="base-text {{ curtTab === index ? 'checked' : ''}}">{{ item.name }}</text>
- </view>
- <view class="center-entrance" onTap="navToInputPage">
- <image src="https://qiniu.bms16.com/FrBnIzg2np8ToanrAyTOQDJFu1ic" style="width: 120rpx; height: 120rpx;margin-bottom: 14rpx;"/>
- <image src="https://qiniu.bms16.com/FhCHLz8rQJ5mpJ6nUA4RbKiVkUOo" style="width: 120rpx; height: 24rpx;"/>
- </view>
- </view>
|