From b90c21d518f92b8a34547a3a948847255e47ebb7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 11 十一月 2025 16:25:21 +0800
Subject: [PATCH] feat: 1.3.0.2

---
 apps/underTakeMiniApp/src/custom-tab-bar/index.tsx |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx b/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx
index 1f52c26..ad161af 100644
--- a/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx
+++ b/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx
@@ -6,7 +6,7 @@
 import { useSystemStore } from '@/stores/modules/system';
 import { storeToRefs } from 'pinia';
 import { TabBarPageRouter } from '@/constants';
-// import IconPublish from '@/assets/tabbar/icon-publish.png';
+import IconPublish from '@/assets/tabbar/icon-publish.png';
 import { useUser, useIsLogin } from '@/hooks';
 import { Message } from '@12333/utils';
 
@@ -49,7 +49,7 @@
   click: (url: string, index: number) => typeof url === 'string',
 };
 
-const whitePageList = [RouterPath.home, RouterPath.workbenches, RouterPath.mine];
+const whitePageList = [RouterPath.workbenches, RouterPath.mine];
 
 export default {
   name: 'CustomTabBar',
@@ -114,9 +114,9 @@
 
         return;
       }
-      // Taro.navigateTo({
-      //   url: RouterPath.pulishCircleFriend,
-      // });
+      Taro.navigateTo({
+        url: RouterPath.publishTask,
+      });
     }
 
     return () => {
@@ -139,16 +139,20 @@
             onClick={switchTab}
             index={0}
           ></TarBarItem>
+          <div class="bottom-tab-item publish-wrapper" onClick={goPublish}>
+            <img class="bottom-tab-item-img-publish" src={IconPublish} />
+            <div class="bottom-tab-item-text">鍙戝竷</div>
+          </div>
           <TarBarItem
             text="鎴戠殑"
             icon="../assets/tabbar/icon-mine.png"
             activeIcon="../assets/tabbar/icon-mine-active.png"
             pagePath={TabBarPageRouter.Mine}
             currentPath={_router.path}
-            active={system.activeTab === 1}
+            active={system.activeTab === 2}
             className="mine"
             onClick={switchTab}
-            index={1}
+            index={2}
           ></TarBarItem>
         </View>
       );

--
Gitblit v1.9.1