From 6bafbbeba6e61a43ec6b5af71f7bfb0066c4f9d7 Mon Sep 17 00:00:00 2001 From: "335942189@qq.com" <335942189@qq.com> Date: Thu, 22 May 2025 18:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=95=8C=E9=9D=A2=E5=92=8C=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vue-frontend/package-lock.json | 2 - .../vue-frontend/src/components/Header.vue | 1 + .../vue-frontend/src/router/index.js | 15 +- .../src/views/ChangeInformation.vue | 326 ++++++++++++++++++ .../vue-frontend/src/views/UserPage.vue | 104 +++--- 5 files changed, 389 insertions(+), 59 deletions(-) create mode 100644 珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/ChangeInformation.vue diff --git a/珞珈岛-项目相关文件/luojia-island/vue-frontend/package-lock.json b/珞珈岛-项目相关文件/luojia-island/vue-frontend/package-lock.json index 27b6665..6924524 100644 --- a/珞珈岛-项目相关文件/luojia-island/vue-frontend/package-lock.json +++ b/珞珈岛-项目相关文件/luojia-island/vue-frontend/package-lock.json @@ -8,11 +8,9 @@ "name": "vue-frontend", "version": "0.1.0", "dependencies": { - "@vue/devtools-api": "^7.7.6", "axios": "^1.8.4", "core-js": "^3.8.3", "element-plus": "^2.9.8", - "perfect-debounce": "^1.0.0", "pinia": "^3.0.2", "vue": "^3.2.13", "vue-router": "^4.5.0" diff --git a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/components/Header.vue b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/components/Header.vue index 4e2c52f..6b9971f 100644 --- a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/components/Header.vue +++ b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/components/Header.vue @@ -47,6 +47,7 @@

{{ userInfo.userName }}

+ 修改个人信息
diff --git a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/router/index.js b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/router/index.js index b47b68d..8da7025 100644 --- a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/router/index.js +++ b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/router/index.js @@ -5,7 +5,7 @@ import PostDetail from '@/views/PostDetail.vue'; import MainPage from '@/views/MainPage.vue'; import UserPage from '@/views/UserPage.vue'; import NotificationList from '@/views/NotificationList.vue'; -import FeedBack from '@/views/FeedBack.vue'; +import ChangeInformation from '@/views/ChangeInformation.vue'; const routes = [ { @@ -29,7 +29,7 @@ const routes = [ component: PostDetail }, { - path: '/user/:userId', + path: '/user', name: 'UserPage', component: UserPage }, @@ -37,17 +37,18 @@ const routes = [ path: '/notificationlist', name: 'NotificationList', component: NotificationList - }, - {//反馈站页面 - path: '/feedback', - name: 'FeedBack', - component: FeedBack }, {//详细通知页面 path: '/notification/:id', name: 'NotificationDetail', component: () => import('@/views/NotificationDetail.vue'), props: true + }, + { + //修改个人信息界面 + path:'/changeinformation', + name:'ChangeInformation', + component:ChangeInformation } ]; diff --git a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/ChangeInformation.vue b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/ChangeInformation.vue new file mode 100644 index 0000000..bb2a919 --- /dev/null +++ b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/ChangeInformation.vue @@ -0,0 +1,326 @@ + + + + + \ No newline at end of file diff --git a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/UserPage.vue b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/UserPage.vue index 32add28..6602c84 100644 --- a/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/UserPage.vue +++ b/珞珈岛-项目相关文件/luojia-island/vue-frontend/src/views/UserPage.vue @@ -1,23 +1,25 @@ - \ No newline at end of file