zhengkaixin 3 月之前
父節點
當前提交
6dac7c3005
共有 6 個文件被更改,包括 102 次插入6 次删除
  1. 5 5
      components/Tabbar.vue
  2. 21 0
      pages.json
  3. 25 0
      pages/deviceTab/index.vue
  4. 1 1
      pages/index/index.vue
  5. 25 0
      pages/myTab/index.vue
  6. 25 0
      pages/userTab/index.vue

+ 5 - 5
components/Tabbar.vue

@@ -32,20 +32,20 @@
 						iconPath: img2,
 						iconPath: img2,
 						selectedIconPath: img1,
 						selectedIconPath: img1,
 						text: '主页 ',
 						text: '主页 ',
-						pagePath2: "/pages/businessHall/index/index",
+						pagePath2: "/pages/index/index",
 					},
 					},
 					 {
 					 {
 					 	iconPath: img4,
 					 	iconPath: img4,
 					 	selectedIconPath: img3,
 					 	selectedIconPath: img3,
-					 	text: '应用',
-					 	pagePath2: "/pages/businessHall/message/message",
+					 	text: '设备',
+					 	pagePath2: "/pages/deviceTab/index",
 					 	
 					 	
 					 },
 					 },
 					{
 					{
 						iconPath: img6,
 						iconPath: img6,
 						selectedIconPath: img5,
 						selectedIconPath: img5,
 						text: '用户',
 						text: '用户',
-						pagePath2: "/pages/businessHall/message/message",
+						pagePath2: "/pages/userTab/index",
 						
 						
 					},
 					},
 					
 					
@@ -54,7 +54,7 @@
 						selectedIconPath: img7,
 						selectedIconPath: img7,
 
 
 						text: '我的',
 						text: '我的',
-						pagePath2: "/pages/businessHall/mine/mine",
+						pagePath2: "/pages/myTab/index",
 					}
 					}
 				],
 				],
 			};
 			};

+ 21 - 0
pages.json

@@ -14,6 +14,27 @@
 				"navigationBarTitleText": "",
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 				"enablePullDownRefresh": false
 			}
 			}
+		},
+		{
+			"path" : "pages/deviceTab/index",
+			"style" : 
+			{
+				"navigationBarTitleText" : ""
+			}
+		},
+		{
+			"path" : "pages/userTab/index",
+			"style" : 
+			{
+				"navigationBarTitleText" : ""
+			}
+		},
+		{
+			"path" : "pages/myTab/index",
+			"style" : 
+			{
+				"navigationBarTitleText" : ""
+			}
 		}
 		}
 
 
 
 

+ 25 - 0
pages/deviceTab/index.vue

@@ -0,0 +1,25 @@
+<template>
+	<view>
+		<tabbar :current="1"></tabbar>
+	</view>
+</template>
+
+<script>
+	import * as API from '@/apis/pagejs/index.js'
+	
+	import Tabbar from '@/components/Tabbar.vue'
+	export default {
+		components: {
+			Tabbar
+		},
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 1 - 1
pages/index/index.vue

@@ -405,7 +405,7 @@
 	// 导航栏
 	// 导航栏
 	.navbar {
 	.navbar {
 
 
-
+		box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
 		background-color: rgba(22, 119, 255, 1);
 		background-color: rgba(22, 119, 255, 1);
 		color: #fff;
 		color: #fff;
 		line-height: 88rpx;
 		line-height: 88rpx;

+ 25 - 0
pages/myTab/index.vue

@@ -0,0 +1,25 @@
+<template>
+	<view>
+		<tabbar :current="3"></tabbar>
+	</view>
+</template>
+
+<script>
+	import * as API from '@/apis/pagejs/index.js'
+	
+	import Tabbar from '@/components/Tabbar.vue'
+	export default {
+		components: {
+			Tabbar
+		},
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 25 - 0
pages/userTab/index.vue

@@ -0,0 +1,25 @@
+<template>
+	<view>
+		<tabbar :current="2"></tabbar>
+	</view>
+</template>
+
+<script>
+	import * as API from '@/apis/pagejs/index.js'
+	
+	import Tabbar from '@/components/Tabbar.vue'
+	export default {
+		components: {
+			Tabbar
+		},
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>