邹能昇 3 ヶ月 前
コミット
7429de00ad

+ 2 - 1
nova-tourism/pages/index/index.less

@@ -1,7 +1,8 @@
 van-tabbar-item{
   // background-color: #B1181B;
   position: relative;
-  height: 98rpx;
+  height: 102rpx;
+  margin-top: 10rpx;
   view{
     font-size: 20rpx;
     text-align: center;

+ 1 - 1
nova-tourism/pages/index/index.wxml

@@ -24,7 +24,7 @@
 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}}" >
-			<image slot="icon" src="{{ item.iconPath }}" mode="aspectFit" style="width:54rpx;height:54rpx;margin-top: 2rpx;" />
+			<image slot="icon" src="{{ item.iconPath }}" mode="aspectFit" style="width:54rpx;height:54rpx;" />
 			<image  slot="icon-active" src="{{ item.selectedIconPath }}" mode="aspectFit" style="width:54rpx;height:54rpx;" />
 			{{item.text}}
 		</van-tabbar-item>

+ 1 - 1
nova-tourism/pages/index/index.wxss

@@ -1 +1 @@
-van-tabbar-item{position:relative;height:98rpx}van-tabbar-item view{font-size:20rpx;text-align:center;margin-top:-6rpx}van-tabbar-item .active{position:absolute;top:-20rpx;left:50%;transform:translate(-50%, -50%)}
+van-tabbar-item{position:relative;height:102rpx;margin-top:10rpx}van-tabbar-item view{font-size:20rpx;text-align:center;margin-top:-6rpx}van-tabbar-item .active{position:absolute;top:-20rpx;left:50%;transform:translate(-50%, -50%)}