From 4b6a12b08d5ba9204904307ef144c401611fd10c Mon Sep 17 00:00:00 2001 From: yml Date: Fri, 22 May 2026 21:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E5=90=8D=E8=AE=A4=E8=AF=81=20?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components.d.ts | 10 + frontend/src/router/index.ts | 6 + .../src/views/mobile/MobileProfileView.vue | 202 ++++++++++++-- .../src/views/mobile/MobileRealnameView.vue | 249 ++++++++++++++++++ 4 files changed, 445 insertions(+), 22 deletions(-) create mode 100644 frontend/src/views/mobile/MobileRealnameView.vue diff --git a/frontend/components.d.ts b/frontend/components.d.ts index ffed44c..70802f1 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -14,14 +14,24 @@ declare module 'vue' { RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] VanButton: typeof import('vant/es')['Button'] + VanCell: typeof import('vant/es')['Cell'] + VanCellGroup: typeof import('vant/es')['CellGroup'] VanCheckbox: typeof import('vant/es')['Checkbox'] + VanDropdownItem: typeof import('vant/es')['DropdownItem'] + VanDropdownMenu: typeof import('vant/es')['DropdownMenu'] VanEmpty: typeof import('vant/es')['Empty'] VanField: typeof import('vant/es')['Field'] + VanGrid: typeof import('vant/es')['Grid'] + VanGridItem: typeof import('vant/es')['GridItem'] VanIcon: typeof import('vant/es')['Icon'] + VanImage: typeof import('vant/es')['Image'] VanLoading: typeof import('vant/es')['Loading'] VanNoticeBar: typeof import('vant/es')['NoticeBar'] + VanPopup: typeof import('vant/es')['Popup'] VanPullRefresh: typeof import('vant/es')['PullRefresh'] VanSearch: typeof import('vant/es')['Search'] + VanTabbar: typeof import('vant/es')['Tabbar'] + VanTabbarItem: typeof import('vant/es')['TabbarItem'] VanTag: typeof import('vant/es')['Tag'] } } diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index dcb63df..8123e82 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -42,6 +42,12 @@ const router = createRouter({ component: () => import("@/views/mobile/MobileMessagesView.vue"), meta: { layout: "blank" }, }, + { + path: "/m/realname", + name: "mobile-realname", + component: () => import("@/views/mobile/MobileRealnameView.vue"), + meta: { layout: "blank" }, + }, { path: "/m/profile", name: "mobile-profile", diff --git a/frontend/src/views/mobile/MobileProfileView.vue b/frontend/src/views/mobile/MobileProfileView.vue index 0293cd6..ddec191 100644 --- a/frontend/src/views/mobile/MobileProfileView.vue +++ b/frontend/src/views/mobile/MobileProfileView.vue @@ -1,12 +1,86 @@ + + + +