|
@@ -25,8 +25,8 @@
|
|
|
<block wx:for="{{tabbarList.list}}" wx:key="index">
|
|
|
<van-tabbar-item wx:if="{{item.open}}" name="{{index}}">
|
|
|
<image slot="icon" src="{{ item.iconPath }}" mode="aspectFit" style="width:40rpx;height:40rpx;" />
|
|
|
- <image class="active" slot="icon-active" src="{{ item.selectedIconPath }}" mode="aspectFit" style="width:48rpx;height:48rpx;" />
|
|
|
- <view slot="icon">{{item.text}}</view>
|
|
|
+ <image slot="icon-active" src="{{ item.selectedIconPath }}" mode="aspectFit" style="width:40rpx;height:40rpx;" />
|
|
|
+ {{item.text}}
|
|
|
</van-tabbar-item>
|
|
|
</block>
|
|
|
</van-tabbar>
|