From f213111dcc9744ea98bea32aeaf79fa1a978cee9 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 18 Mar 2024 19:52:12 +0800
Subject: [PATCH] 更新

---
 pages/user/center.vue        |    2 +-
 pages/statistics/index.vue   |    2 +-
 pages/home/index.vue         |    2 +-
 pages.json                   |    2 +-
 components/tabBar/tabBar.vue |    7 ++-----
 5 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue
index bb71941..1c20505 100644
--- a/components/tabBar/tabBar.vue
+++ b/components/tabBar/tabBar.vue
@@ -74,7 +74,7 @@
 			'curRole.roleName': {
 				handler(newVal) {
 					if (newVal == "民警") {
-						this.roleType == 2
+						this.roleType = 2
 					}
 				},
 				deep: true,
@@ -98,10 +98,7 @@
 				deep: true,
 				immediate: true
 			},
-			isShowTabbarItem: {
-				deep: true,
-				immediate: true
-			}
+
 		},
 		mounted() {
 
diff --git a/pages.json b/pages.json
index 931f303..d58ab73 100644
--- a/pages.json
+++ b/pages.json
@@ -931,7 +931,7 @@
 		"backgroundColor": "#4586FE"
 	},
 	"tabBar": {
-		"custom": true,
+		// "custom": true,
 		"color": "#AFB8C3",
 		"selectedColor": "#5086FA",
 		"borderStyle": "white",
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 4a2f27d..edcae17 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -263,7 +263,7 @@
 				@close="selectBoxShow = false" :show="selectBoxShow" keyName="name" ref="uPicker" :columns="siteColumns"
 				@confirm="confirmSite" @change="changeSite" @cancel="selectBoxShow = false"></u-picker>
 		</view>
-		<tabBar :current="0" :isShowTabbarItem="roleType == 3?true:false" />
+		<!-- <tabBar :current="0" /> -->
 	</view>
 </template>
 
diff --git a/pages/statistics/index.vue b/pages/statistics/index.vue
index a2f24f3..ff77429 100644
--- a/pages/statistics/index.vue
+++ b/pages/statistics/index.vue
@@ -163,7 +163,7 @@
 			</view>
 
 		</view>
-		<tabBar :current="1" />
+		<!-- <tabBar :current="1" /> -->
 	</view>
 </template>
 
diff --git a/pages/user/center.vue b/pages/user/center.vue
index d1a8885..a0f0fb8 100644
--- a/pages/user/center.vue
+++ b/pages/user/center.vue
@@ -67,7 +67,7 @@
 				</u-cell>
 			</u-cell-group>
 		</view>
-		<tabBar :current="2" />
+		<!-- <tabBar :current="2" /> -->
 	</view>
 </template>
 

--
Gitblit v1.9.3