|
@@ -26,9 +26,9 @@
|
|
|
class="custom-tabbar" active="{{ active }}" bind:change="onChange" active-color="{{tabbarList.activeColor || '#000000'}}" inactive-color="{{tabbarList.inactiveColor || '#999'}}" z-index="99">
|
|
|
<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:100rpx;height:100rpx;" />
|
|
|
- <view slot="icon">{{item.text}}</view>
|
|
|
+ <image slot="icon" src="{{ item.iconPath }}" mode="aspectFit" style="width:56rpx;height:56rpx;" />
|
|
|
+ <image slot="icon-active" src="{{ item.selectedIconPath }}" mode="aspectFit" style="width:56rpx;height:56rpx;" />
|
|
|
+ {{item.text}}
|
|
|
</van-tabbar-item>
|
|
|
</block>
|
|
|
</van-tabbar>
|