常志远 3 gadi atpakaļ
vecāks
revīzija
6b8c6e9ea8
1 mainītis faili ar 35 papildinājumiem un 10 dzēšanām
  1. 35 10
      pages/index/index.vue

+ 35 - 10
pages/index/index.vue

@@ -149,7 +149,7 @@
 		</view>
 		<!-- 导航栏 -->
 		<view class="navigation">
-			<view class="nav-items">
+		<!-- 	<view class="nav-items">
 				<view class="nav-icon iconfont ">
 	                         &#xe610;
 				</view>
@@ -162,18 +162,43 @@
 			<view class="nav-items">
 				<view class="nav-icon iconfont">&#xe627;</view>
 				<view class="nav-text">我的</view>
-			</view>
+			</view> -->
+			<u-tabbar v-model="current" :list="tabbarList" active-color="#009143"></u-tabbar>
 		</view>
 	</view>
-
-
-
-
-
-
 </template>
 
 <script>
+	export default{
+		data(){
+			return{
+				tabbarList:[{
+					iconPath: "home-3- line" ,
+					selectedIconPath: "home -3- fill",
+					text:'主页 ',
+					count: 0,
+					isDot: true,
+					customIcon: true,
+					},
+					{iconPath: "road map- line" ,
+					selectedIconPath:" road map-fill" ,
+					text: ' 找桩',
+					midButton: true,
+					customIcon: true,
+						
+					},
+					{iconPath: "user- 5- line",
+					selectedIconPath: "user-5- fill",
+					text: '我的' ,
+					count: 0,
+					isDot: false,
+					customIcon: true,
+						
+					}],
+					current: 0
+			}
+		}
+	}
 
 </script>
 
@@ -233,7 +258,7 @@
 		// width: 343px;
 		height: 120px;
 		margin-top: 70px;
-		border-radius: 999px;
+		
 	
 		padding-top: 20px;
 		padding: 0 12px;
@@ -355,7 +380,7 @@
 	   background-color: #ffffff;
 	   height: 120px;
 	   display: flex;
-	   margin: 80px auto 0;
+	   margin: 70px auto 0;
 	   border-radius: 8px;
 	   border:#F2F4F4 1px ;
 	   .location-text{