gcz 2 năm trước cách đây
mục cha
commit
611b0c2d42
3 tập tin đã thay đổi với 3 bổ sung13 xóa
  1. 1 1
      App.vue
  2. 1 11
      components/tabbar.vue
  3. 1 1
      uni.scss

+ 1 - 1
App.vue

@@ -24,7 +24,7 @@
 		 
 			// #endif
 		 
-			console.log('this.globalData==========',this.globalData)
+			// console.log('this.globalData==========',this.globalData)
 		},
 		onShow: function() {
 			// console.log('App Show')

+ 1 - 11
components/tabbar.vue

@@ -8,6 +8,7 @@
 			:border="false"
 			inactiveColor="#666"
 			activeColor="#00A447"
+			:customStyle="{'padding-top':'5px'}"
 			:safeAreaInsetBottom="true"
 		>
 			<u-tabbar-item text="商城" >
@@ -148,15 +149,4 @@ export default {
 		transform: scale(1.5) translateY(-0.5em);
 	}
 }
-.u-tabbar-item{
-	padding-top: 10rpx;
-}
-.tabbar{
-	/deep/ .u-tabbar{
-		.u-tabbar-item{
-			padding-top: 100px;
-		}
-	}
-}
-
 </style>

+ 1 - 1
uni.scss

@@ -79,7 +79,7 @@ $uni-color-paragraph: #3F536E; // 文章段落颜色
 $uni-font-size-paragraph:15px;
 
 page{
-	padding-top: 104px;
+	padding-top: 94px;
 	// &:has(.u-navbar){
 	// 	padding-top: 104px;
 	// }