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  |   23 ++++++++---------------
 apps/cMiniApp/project.private.config.json           |    4 ++--
 apps/underTakeMiniApp/src/app.config.ts             |   10 ++--------
 apps/underTakeMiniApp/src/custom-tab-bar/index.scss |    2 ++
 4 files changed, 14 insertions(+), 25 deletions(-)

diff --git a/apps/cMiniApp/project.private.config.json b/apps/cMiniApp/project.private.config.json
index 48d64e1..f46cb58 100644
--- a/apps/cMiniApp/project.private.config.json
+++ b/apps/cMiniApp/project.private.config.json
@@ -26,8 +26,8 @@
                     "name": "楠屾敹璇︽儏",
                     "pathName": "subpackages/task/taskCheckDetail/taskCheckDetail",
                     "query": "id=b0e79981-56d5-4730-83e7-08de1d1fb9dd",
-                    "scene": null,
-                    "launchMode": "default"
+                    "launchMode": "default",
+                    "scene": null
                 },
                 {
                     "name": "鎻愪氦楠屾敹",
diff --git a/apps/underTakeMiniApp/src/app.config.ts b/apps/underTakeMiniApp/src/app.config.ts
index bd8b870..525531c 100644
--- a/apps/underTakeMiniApp/src/app.config.ts
+++ b/apps/underTakeMiniApp/src/app.config.ts
@@ -1,6 +1,6 @@
 export default defineAppConfig({
   entryPagePath: 'pages/workbenches/workbenches',
-  pages: ['pages/workbenches/workbenches', 'pages/publish/publish', 'pages/mine/index'],
+  pages: ['pages/workbenches/workbenches', 'pages/mine/index'],
   requiredPrivateInfos: ['getLocation', 'chooseLocation'],
   permission: {
     'scope.userLocation': {
@@ -24,12 +24,6 @@
         iconPath: 'assets/tabbar/icon-task.png',
         selectedIconPath: 'assets/tabbar/icon-task-active.png',
         text: '宸ヤ綔鍙�',
-      },
-      {
-        pagePath: 'pages/publish/publish',
-        iconPath: 'assets/tabbar/icon-publish.png',
-        selectedIconPath: 'assets/tabbar/icon-publish.png',
-        text: '鍙戝竷',
       },
       {
         pagePath: 'pages/mine/index',
@@ -87,7 +81,7 @@
     {
       root: 'subpackages/task',
       pages: [
-        // 'publishTask/publishTask',
+        'publishTask/publishTask',
         'taskCheck/taskCheck',
         'taskCheckDetail/taskCheckDetail',
         'taskCheckedDetail/taskCheckedDetail',
diff --git a/apps/underTakeMiniApp/src/custom-tab-bar/index.scss b/apps/underTakeMiniApp/src/custom-tab-bar/index.scss
index d084602..3a36e89 100644
--- a/apps/underTakeMiniApp/src/custom-tab-bar/index.scss
+++ b/apps/underTakeMiniApp/src/custom-tab-bar/index.scss
@@ -80,6 +80,8 @@
 
     .bottom-tab-item-text {
       margin-top: 50px;
+      position: relative;
+      bottom: -14px;
     }
 
     .bottom-tab-item-img-publish {
diff --git a/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx b/apps/underTakeMiniApp/src/custom-tab-bar/index.tsx
index 6d484b0..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';
 
@@ -114,9 +114,9 @@
 
         return;
       }
-      // Taro.navigateTo({
-      //   url: RouterPath.pulishCircleFriend,
-      // });
+      Taro.navigateTo({
+        url: RouterPath.publishTask,
+      });
     }
 
     return () => {
@@ -139,17 +139,10 @@
             onClick={switchTab}
             index={0}
           ></TarBarItem>
-          <TarBarItem
-            text="鍙戝竷"
-            icon="../assets/tabbar/icon-publish.png"
-            activeIcon="../assets/tabbar/icon-publish.png"
-            pagePath={TabBarPageRouter.Publish}
-            currentPath={_router.path}
-            active={system.activeTab === 1}
-            className="task"
-            onClick={switchTab}
-            index={1}
-          ></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"

--
Gitblit v1.9.1