From 013059b62fcc954d422b080e7a60992cb062be4b Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Nov 2025 22:16:26 +0800 Subject: [PATCH] :lipstick: Account profile page new UI --- app/components.d.ts | 2 + app/layouts/default.vue | 2 +- app/pages/accounts/[name].vue | 354 +++++++++++++++++++++------------- 3 files changed, 219 insertions(+), 139 deletions(-) diff --git a/app/components.d.ts b/app/components.d.ts index 7ecb568..f7af640 100644 --- a/app/components.d.ts +++ b/app/components.d.ts @@ -26,6 +26,7 @@ declare module 'vue' { NDialog: typeof import('naive-ui')['NDialog'] NDialogProvider: typeof import('naive-ui')['NDialogProvider'] NDropdown: typeof import('naive-ui')['NDropdown'] + NEmpty: typeof import('naive-ui')['NEmpty'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] NIcon: typeof import('naive-ui')['NIcon'] @@ -71,6 +72,7 @@ declare global { const NDialog: typeof import('naive-ui')['NDialog'] const NDialogProvider: typeof import('naive-ui')['NDialogProvider'] const NDropdown: typeof import('naive-ui')['NDropdown'] + const NEmpty: typeof import('naive-ui')['NEmpty'] const NForm: typeof import('naive-ui')['NForm'] const NFormItem: typeof import('naive-ui')['NFormItem'] const NIcon: typeof import('naive-ui')['NIcon'] diff --git a/app/layouts/default.vue b/app/layouts/default.vue index c590a39..ac64e2d 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -31,7 +31,7 @@ -
+
diff --git a/app/pages/accounts/[name].vue b/app/pages/accounts/[name].vue index 0171a8a..8062da7 100644 --- a/app/pages/accounts/[name].vue +++ b/app/pages/accounts/[name].vue @@ -1,121 +1,133 @@