You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12345678 |
- <view class="tab-bar" tt:if="{{list.length!=0}}">
- <view class="tab-bar-border"></view>
- <view tt:for="{{list}}" tt:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="navigateTo">
- <image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
- <view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
- </view>
- </view>
-
|