From 05316275ee6f1623cc022a3cb4967a440c105a6b Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 29 七月 2025 16:43:42 +0800
Subject: [PATCH] add:编辑资料

---
 components/footer/customer-footer.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/components/footer/customer-footer.vue b/components/footer/customer-footer.vue
index 423802c..4035861 100644
--- a/components/footer/customer-footer.vue
+++ b/components/footer/customer-footer.vue
@@ -19,6 +19,8 @@
 
 <script setup lang="ts">
 import { ref, computed } from 'vue'
+import { useNavigator } from '@/composables/useNavigator'
+const { navigateTo, reLaunchTo} = useNavigator()
 
 interface TabItem {
   text: string
@@ -33,9 +35,9 @@
 
 const tabBar = ref<TabItem[]>([
   { text: '首页', pagePath: '/pages/home/home' },
-  { text: '影视地图', pagePath: '/sub-pages/film-map/index' },
-  { text: '我的种草', pagePath: '/sub-pages/customer/shopping/shopping' },
-  { text: '社区', pagePath: '/sub-pages/community/index' },
+  // { text: '影视地图', pagePath: '/sub-pages/film-map/index' },
+  // { text: '我的种草', pagePath: '/sub-pages/customer/shopping/shopping' },
+  { text: '草原', pagePath: '/sub-pages/community/index' },
   { text: '我的', pagePath: '/sub-pages/mine/index' },
 ])
 
@@ -57,9 +59,12 @@
 })
 
 function go(index: number, item: TabItem) {
-  uni.reLaunch({
-    url: item.pagePath,
-  })
+  // uni.reLaunch({
+  //   url: item.pagePath,
+  // })
+  
+  reLaunchTo(item.pagePath)
+ 
 }
 </script>
 

--
Gitblit v1.9.3