From 233a467167e2b363098cc7fa63e7f26d1d15507b Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期日, 27 四月 2025 16:23:28 +0800
Subject: [PATCH] 线索任务

---
 custom-tab-bar/data.js |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 57 insertions(+), 1 deletions(-)

diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js
index ac7639a..202ac0f 100644
--- a/custom-tab-bar/data.js
+++ b/custom-tab-bar/data.js
@@ -11,8 +11,13 @@
     url: 'pages/supervision/index',
     level: 2,
   },
+  // {
+  //   icon: 'fact-check',
+  //   text: '搴旀�ョ嚎绱�',
+  //   url: 'pages/cluetask/home/index',
+  //   level: 1,
+  // },
   {
-    // icon: `${baseIconUrl}tab-slef-patrol.png`,
     icon: 'root-list',
     text: '搴旀�ヨ嚜宸℃煡',
     url: 'pages/selfpatrol/index',
@@ -31,3 +36,54 @@
     level: 2,
   },
 ];
+
+// const menu = [
+//   {
+//     icon: 'home',
+//     text: '棣栭〉',
+//     url: 'pages/home/index',
+//     level: 2,
+//   },
+//   {
+//     icon: 'app',
+//     text: '绮剧粏鍖栫洃绠�',
+//     url: 'pages/supervision/index',
+//     level: 2,
+//   },
+//   {
+//     icon: 'fact-check',
+//     text: '搴旀�ョ嚎绱�',
+//     url: 'pages/cluetask/home/index',
+//     level: 1,
+//   },
+//   {
+//     icon: 'root-list',
+//     text: '搴旀�ヨ嚜宸℃煡',
+//     url: 'pages/selfpatrol/index',
+//     level: 2,
+//   },
+//   // {
+//   //   icon: 'system-device',
+//   //   text: '璁惧绠$悊',
+//   //   url: 'pages/inspection/scene/index',
+//   //   level: 1,
+//   // },
+//   {
+//     icon: 'user',
+//     text: '涓汉涓績',
+//     url: 'pages/usercenter/index',
+//     level: 2,
+//   },
+// ];
+
+// function getMenu(usertypeid) {
+//   const menu = [];
+//   menu.forEach(v => {
+//     if (app.globalData.userInfo.usertypeid <= v.level) {
+//       menu.push(v);
+//     }
+//   });
+//   return menu;
+// }
+
+// export { getMenu };

--
Gitblit v1.9.3