常志远 2 vuotta sitten
vanhempi
commit
7eb932259a

+ 47 - 1
pages.json

@@ -217,7 +217,52 @@
 		"navigationStyle": "custom", // 隐藏系统导航栏
 		"navigationBarTitleText": "荆开零工驿站",
 		"enablePullDownRefresh": false
+		
 	},
+	"tabBar":{
+		"color":"#009891",
+		"selectedColor":"#2B8300",
+		"list":[
+			{
+				"text":"首页",
+				"pagePath":"pages/index/index",
+				"iconPath":"static/home-3-line.png",
+				"selectedIconPath": "static/home-3-fill.png"
+				
+			},
+			{
+				"text":"招工",
+				"pagePath":"pages/jobInformation/jobInformation",
+				"iconPath":"static/todo-line.png",
+				"selectedIconPath": "static/todo-fill.png"
+				
+			},
+			{
+				"text":"发布",
+				"pagePath":"pages/issue/issue",
+				"iconPath":"static/add-circle-line.png",
+				"selectedIconPath": "static/add-circle-fill.png"
+				
+			},
+			{
+				"text":"找人",
+				"pagePath":"pages/choreInformation/choreInformation",
+				"iconPath":"static/user-search-line.png",
+				"selectedIconPath": "static/user-search-fill.png"
+				
+			},
+			{
+				"text":"我的",
+				"pagePath":"pages/mine/mine",
+				"iconPath":"static/user-4-line.png",
+				"selectedIconPath": "static/user-4-fill.png"
+				
+			}
+		]
+	},
+	
+	
+
 	"uniIdRouter": {},
 	"condition" : { //模式配置,仅开发期间生效
 		"current": 0, //当前激活的模式(list 的索引项)
@@ -229,4 +274,5 @@
 			}
 		]
 	}
-}
+}
+

+ 2 - 2
pages/choreInformation/choreInformation.vue

@@ -104,8 +104,8 @@
   </view>
   	</view>
   </u-popup>
-<tabbar  ref="mytabbar"
-		:current="3"></tabbar>
+<!-- <tabbar  ref="mytabbar"
+		:current="3"></tabbar> -->
 	</view>
 </template>
 

+ 5 - 3
pages/index/index.vue

@@ -136,8 +136,9 @@
 			</view>
 			
 		</view>
-		<tabbar  ref="mytabbar"
+		<!-- <tabbar  ref="mytabbar"
 		:current="0"></tabbar>
+		 -->
 	</view>
 
 
@@ -145,11 +146,12 @@
 </template>
 
 <script>
-	import tabbar from "../../components/Tabbar.vue"
+	import tabbar from "../../components/Tabbar.vue";
 	
 	export default {
 		components: {
-			tabbar
+			tabbar,
+			
 		},
 		data() {
 			return {

+ 11 - 5
pages/issue/issue.vue

@@ -2,8 +2,7 @@
 	<view>
 		<u-navbar back-text="发布" back-icon-size="28" back-icon-color="#ffffff"
 			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
-		<tabbar  ref="mytabbar"
-		:current="2"></tabbar>
+		
 		<view class="main">
 			<view class="title">
 				选择您要发布的信息
@@ -66,14 +65,21 @@
 			</view>
 			
 		</view>
-	</view>
+	
+	<!-- <tabbar  ref="mytabbar"
+	:current="2"></tabbar> -->
+
+	</view> 
+	
 </template>
 
 <script>
-	import tabbar from "../../components/Tabbar.vue"
+	import tabbar from "../../components/Tabbar.vue";
+	
 	export default {
 		components: {
-			tabbar
+			tabbar,
+			
 		},
 		data() {
 			return {

+ 1 - 1
pages/jobInformation/jobInformation.vue

@@ -123,7 +123,7 @@
 			</view>
 		</u-popup>
 
-		<tabbar ref="mytabbar" :current="1"></tabbar>
+		<!-- <tabbar ref="mytabbar" :current="1"></tabbar> -->
 	</view>
 </template>
 

+ 5 - 5
pages/mine/mine.vue

@@ -114,7 +114,7 @@
 			 	</u-grid>
 		</view>
 		<!-- 登录弹窗 -->
-			<u-popup v-model="show" mode="center" closeable="true">
+			<u-popup v-model="show" mode="center" :closeable="true">
 				<view class="title">
 					登录荆开零工驿站
 				</view>
@@ -133,8 +133,8 @@
 				</view>
 			</u-popup>
 		 
-		<tabbar  ref="mytabbar"
-		:current="4"></tabbar>
+		<!-- <tabbar  ref="mytabbar"
+		:current="4"></tabbar> -->
 	</view>
 </template>
 
@@ -147,7 +147,7 @@
 		data() {
 			return {
 				src: '',
-				show:'true',
+				show:true,
 			    value: 'false',
 							
 			}
@@ -316,4 +316,4 @@
 }
 
 
-</style>
+</style>

BIN
static/add-circle-fill.png


BIN
static/add-circle-line.png


BIN
static/home-3-fill.png


BIN
static/home-3-line.png


BIN
static/logo.png


BIN
static/todo-fill.png


BIN
static/todo-line.png


BIN
static/user-4-fill.png


BIN
static/user-4-line.png


BIN
static/user-search-fill.png


BIN
static/user-search-line.png