From e714b74f89e0e84c484a3ecb81ed5cbc21929abc Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Thu, 21 Mar 2024 12:00:53 +0800
Subject: [PATCH] 更新
---
pages/user/center.vue | 4 ++--
common/common.js | 24 ++++++++++++------------
pages/statistics/index.vue | 2 +-
pages.json | 12 ++++++------
4 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/common/common.js b/common/common.js
index aa55b4d..31ff8a2 100644
--- a/common/common.js
+++ b/common/common.js
@@ -104,12 +104,12 @@
iconPath: '/static/img/tabbar-01.png',
url: '/pages/home/index'
},
- {
- name: '圈子',
- iconPathSelected: '/static/img/tabbar-02-selected.png',
- iconPath: '/static/img/tabbar-02.png',
- url: '/pages/circle/index'
- },
+ // {
+ // name: '圈子',
+ // iconPathSelected: '/static/img/tabbar-02-selected.png',
+ // iconPath: '/static/img/tabbar-02.png',
+ // url: '/pages/circle/index'
+ // },
{
name: '我的',
iconPathSelected: '/static/img/tabbar-03-selected.png',
@@ -148,12 +148,12 @@
url: '/pages/home/index'
},
- {
- name: '圈子',
- iconPathSelected: '/static/img/tabbar-02-selected.png',
- iconPath: '/static/img/tabbar-02.png',
- url: '/pages/circle/index'
- },
+ // {
+ // name: '圈子',
+ // iconPathSelected: '/static/img/tabbar-02-selected.png',
+ // iconPath: '/static/img/tabbar-02.png',
+ // url: '/pages/circle/index'
+ // },
{
name: '驾驶舱',
iconPathSelected: '/static/img/tabbar-07-selected.png',
diff --git a/pages.json b/pages.json
index 5659bc1..c2931d9 100644
--- a/pages.json
+++ b/pages.json
@@ -1039,12 +1039,12 @@
"iconPath": "static/img/tabbar-01.png",
"text": "首页"
},
- {
- "pagePath": "pages/circle/index",
- "iconPath": "static/img/tabbar-02.png",
- "selectedIconPath": "static/img/tabbar-02-selected.png",
- "text": "圈子"
- },
+ // {
+ // "pagePath": "pages/circle/index",
+ // "iconPath": "static/img/tabbar-02.png",
+ // "selectedIconPath": "static/img/tabbar-02-selected.png",
+ // "text": "圈子"
+ // },
{
"pagePath": "pages/statistics/index",
"iconPath": "static/img/tabbar-02.png",
diff --git a/pages/statistics/index.vue b/pages/statistics/index.vue
index 97b3e5e..a6da97f 100644
--- a/pages/statistics/index.vue
+++ b/pages/statistics/index.vue
@@ -303,7 +303,7 @@
} = uni.getStorageSync("activeRole");
if (roleName == "网格员") {
this.tabList = getTabbarList(3);
- this.tabbarIndex = 2;
+ this.tabbarIndex = 1;
}
if (roleName == "民警") {
this.tabList = getTabbarList(2);
diff --git a/pages/user/center.vue b/pages/user/center.vue
index 1d8ac64..327115e 100644
--- a/pages/user/center.vue
+++ b/pages/user/center.vue
@@ -129,7 +129,7 @@
this.tabbarList = getTabbarList(1)
this.roleType = 1
this.color = "#017BFC"
- this.tabbarIndex = 2;
+ this.tabbarIndex = 1;
} else if (role.roleName == "民警") {
this.tabbarList = getTabbarList(2)
this.roleType = 2;
@@ -144,7 +144,7 @@
this.tabbarList = getTabbarList(3)
this.roleType = 1
this.color = "#017BFC";
- this.tabbarIndex = 3;
+ this.tabbarIndex = 2;
}
this.addressType = uni.getStorageSync("siteInfo").addressType;
},
--
Gitblit v1.9.3