From 859352ee2e233e8ae80277539af62d982a317c6a Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期四, 05 六月 2025 09:07:34 +0800
Subject: [PATCH] user edit

---
 sub-pages/mine/index.vue |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/sub-pages/mine/index.vue b/sub-pages/mine/index.vue
index 977b58d..cb9b46d 100644
--- a/sub-pages/mine/index.vue
+++ b/sub-pages/mine/index.vue
@@ -27,7 +27,7 @@
           </view>
         </view>
 
-        <view class="edit-profile" @click="goToProfile">点击这里,填写简介</view>
+        <view class="edit-profile" >点击这里,填写简介</view>
 
         <view class="stats">
           <view class="stat-row">
@@ -45,9 +45,9 @@
             </view>
           </view>
           <view class="action-buttons">
-            <up-button text="编辑资料" size="mini" type="info" plain hairline
+            <up-button text="编辑资料" size="mini" type="info" plain hairline @click="navigateTo('/sub-pages/mine/profile-edit')"
               :custom-style="{ backgroundColor: 'transparent', borderColor: '#B1ABA9' }" />
-            <up-icon name="setting" size="40rpx" @click="gotoUrl('/sub-pages/mine/settings')" />
+            <up-icon name="setting" size="40rpx" @click="navigateTo('/sub-pages/mine/settings')" />
           </view>
         </view>
       </view>
@@ -99,10 +99,6 @@
 const { navigateTo } = useNavigator()
 const {getLocation,province } = useLocation()
 
-
-const gotoUrl = (url: string) => {
-  navigateTo(url)
-}
 
 watch(
   () => userStore.userInfo,      // 监听 userInfo 这个响应式属性
@@ -163,7 +159,7 @@
 
 
 const goToProfile=  ()=> {
-  navigateTo('/profile');
+  navigateTo('/sub-pages/mine/edit-profile');
 }
 </script>
 

--
Gitblit v1.9.3