twt преди 3 години
родител
ревизия
e06c4e57ff
променени са 1 файла, в които са добавени 35 реда и са изтрити 18 реда
  1. 35 18
      operatingCompany/pages/team/myTeam.vue

+ 35 - 18
operatingCompany/pages/team/myTeam.vue

@@ -10,8 +10,9 @@
 
 		<!-- 团队数量 -->
 		<view class="teamTop">
-			<!-- <image class="iconTeam" src="../../static/img/icon_team.png" mode=""></image>
-			<view class="teamCount">我的团队:<text style="color: #FF4F00;">3</text>人</view> -->
+				<image class="iconTeam" src="../../static/img/icon_team.png" mode=""></image>
+				<view class="teamCount">我的团队:<text style="color: #FF4F00;">3</text>人</view> 
+		
 		</view>
 		
 		
@@ -45,11 +46,16 @@
 		position: fixed;
 		width: 100%;
 		background-color: #FFFFFF;
+		left: 0;
+		top: 0;
 	}
-
+	/* #ifdef H5 */
+		.searchBoxBg{
+			top: 44px;
+		}
+	/* #endif */
 	.searchBox {
 		display: flex;
-		position: relative;
 		height: 72rpx;
 		margin: 24rpx;
 		background-color: #F4F5F7;
@@ -57,34 +63,45 @@
 	}
 
 	.searchImg {
-		position: relative;
+		margin-top:20rpx;
+		margin-left: 20rpx;
 		width: 32rpx;
 		height: 32rpx;
-		left: 20rpx;
-		top: 20rpx;
-
 	}
 
 	.searchInput {
-		position: absolute;
 		height: 72rpx;
-		left: 68rpx;
-		right: 36rpx;
 		font-size: 28rpx;
+		padding-left: 16rpx;
+	
 	}
 
 	.teamTop {
-		background-color: #007AFF;
-		
-		
-	}
-	/* .iconTeam{
+		height: 80rpx;
+		position: fixed;
+		left: 0;
+		top: 120rpx;
+		display: flex;
+		align-items: center;
+		padding-left: 24rpx;
+	}
+	.teamTopBox{
+		display: flex;
+	}
+	/* #ifdef H5 */
+		.teamTop{
+			top: calc(120rpx + 44px);
+		}
+	/* #endif */
+	.iconTeam{
 		width: 32rpx;
 		height: 32rpx;
 	}
 	.teamCount{
 		font-size: 30rpx;
 		font-weight: bold;
-		color: #3C3C3C;
-	} */
+		color: #3C3C3C;
+		line-height: 32rpx;
+		padding-left: 8rpx;
+	} 
 </style>