From 36f54d238053da520ba7debc469645388b3ca222 Mon Sep 17 00:00:00 2001 From: yml Date: Fri, 22 May 2026 21:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B6=88=E6=81=AF=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=20=20=E5=88=A0=E9=99=A4=E6=88=91=E7=9A=84=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=97=A0=E7=94=A8=E7=9A=84=E5=9B=BE=E6=A0=87?= 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 + frontend/src/views/mobile/MobileHomeView.vue | 56 ++- .../src/views/mobile/MobileMessagesView.vue | 143 ++++++++ .../src/views/mobile/MobileOrdersView.vue | 8 +- .../src/views/mobile/MobileProfileView.vue | 328 ++++++------------ .../mobile/MobileSellerListingCreateView.vue | 8 +- 7 files changed, 305 insertions(+), 254 deletions(-) create mode 100644 frontend/src/views/mobile/MobileMessagesView.vue diff --git a/frontend/components.d.ts b/frontend/components.d.ts index 7d2a3ae..ffed44c 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -14,22 +14,14 @@ 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'] 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 1961dc2..dcb63df 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -36,6 +36,12 @@ const router = createRouter({ component: () => import("@/views/mobile/MobileRegisterView.vue"), meta: { layout: "blank" }, }, + { + path: "/m/messages", + name: "mobile-messages", + component: () => import("@/views/mobile/MobileMessagesView.vue"), + meta: { layout: "blank" }, + }, { path: "/m/profile", name: "mobile-profile", diff --git a/frontend/src/views/mobile/MobileHomeView.vue b/frontend/src/views/mobile/MobileHomeView.vue index 5ed6675..d4c0f9e 100644 --- a/frontend/src/views/mobile/MobileHomeView.vue +++ b/frontend/src/views/mobile/MobileHomeView.vue @@ -246,7 +246,11 @@ function formatRatio(item: Listing) {
-
+
{{ item.icon }} {{ item.value }} {{ item.label }} @@ -305,14 +309,28 @@ function formatRatio(item: Listing) { 可租
- {{ item.server_region }} - {{ item.login_platform }} - {{ item.rank_level }} + {{ + item.server_region + }} + {{ + item.login_platform + }} + {{ item.rank_level }}