|
@@ -21,11 +21,11 @@
|
|
|
</template>
|
|
|
<!-- 底部导航 -->
|
|
|
<van-tabbar
|
|
|
- class="custom-tabbar" active="{{ active }}" bind:change="onChange" active-color="{{tabbarList.activeColor || '#000000'}}" inactive-color="{{tabbarList.inactiveColor || '#999'}}" z-index="99">
|
|
|
+custom-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}}" style="height: 108rpx;">
|
|
|
- <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;" />
|
|
|
+ <van-tabbar-item wx:if="{{item.open}}" name="{{index}}" >
|
|
|
+ <image slot="icon" src="{{ item.iconPath }}" mode="aspectFit" style="width:54rpx;height:54rpx;margin-top: 2rpx;" />
|
|
|
+ <image slot="icon-active" src="{{ item.selectedIconPath }}" mode="aspectFit" style="width:54rpx;height:54rpx;" />
|
|
|
{{item.text}}
|
|
|
</van-tabbar-item>
|
|
|
</block>
|