From 9d6eb5c378fbe317c31e283232a6c0cde62feeca Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 27 Dec 2025 02:22:19 +0800 Subject: [PATCH] :sparkles: Rewind renders most of the data --- app/components.d.ts | 4 + app/components/Post/PostItemContained.vue | 97 +++ app/components/account/account-nameplate.vue | 41 ++ .../{OgImage => opengraph}/ImageCard.vue | 0 .../{OgImage => opengraph}/NuxtSeo.vue | 0 .../publisher/publisher-nameplate.vue | 41 ++ app/pages/rewind/me.vue | 648 +++++++++++------- app/types/api/rewind.ts | 191 +++--- 8 files changed, 695 insertions(+), 327 deletions(-) create mode 100644 app/components/Post/PostItemContained.vue create mode 100644 app/components/account/account-nameplate.vue rename app/components/{OgImage => opengraph}/ImageCard.vue (100%) rename app/components/{OgImage => opengraph}/NuxtSeo.vue (100%) create mode 100644 app/components/publisher/publisher-nameplate.vue diff --git a/app/components.d.ts b/app/components.d.ts index 64f85db..e389ee3 100644 --- a/app/components.d.ts +++ b/app/components.d.ts @@ -42,6 +42,7 @@ declare module 'vue' { NMessageProvider: typeof import('naive-ui')['NMessageProvider'] NModal: typeof import('naive-ui')['NModal'] NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] + NNumberAnimation: typeof import('naive-ui')['NNumberAnimation'] NPopover: typeof import('naive-ui')['NPopover'] NProgress: typeof import('naive-ui')['NProgress'] NRadio: typeof import('naive-ui')['NRadio'] @@ -50,6 +51,7 @@ declare module 'vue' { NSelect: typeof import('naive-ui')['NSelect'] NSpace: typeof import('naive-ui')['NSpace'] NSpin: typeof import('naive-ui')['NSpin'] + NStatistic: typeof import('naive-ui')['NStatistic'] NTab: typeof import('naive-ui')['NTab'] NTabs: typeof import('naive-ui')['NTabs'] NTag: typeof import('naive-ui')['NTag'] @@ -91,6 +93,7 @@ declare global { const NMessageProvider: typeof import('naive-ui')['NMessageProvider'] const NModal: typeof import('naive-ui')['NModal'] const NNotificationProvider: typeof import('naive-ui')['NNotificationProvider'] + const NNumberAnimation: typeof import('naive-ui')['NNumberAnimation'] const NPopover: typeof import('naive-ui')['NPopover'] const NProgress: typeof import('naive-ui')['NProgress'] const NRadio: typeof import('naive-ui')['NRadio'] @@ -99,6 +102,7 @@ declare global { const NSelect: typeof import('naive-ui')['NSelect'] const NSpace: typeof import('naive-ui')['NSpace'] const NSpin: typeof import('naive-ui')['NSpin'] + const NStatistic: typeof import('naive-ui')['NStatistic'] const NTab: typeof import('naive-ui')['NTab'] const NTabs: typeof import('naive-ui')['NTabs'] const NTag: typeof import('naive-ui')['NTag'] diff --git a/app/components/Post/PostItemContained.vue b/app/components/Post/PostItemContained.vue new file mode 100644 index 0000000..0865189 --- /dev/null +++ b/app/components/Post/PostItemContained.vue @@ -0,0 +1,97 @@ + + + diff --git a/app/components/account/account-nameplate.vue b/app/components/account/account-nameplate.vue new file mode 100644 index 0000000..7b897b9 --- /dev/null +++ b/app/components/account/account-nameplate.vue @@ -0,0 +1,41 @@ + + + diff --git a/app/components/OgImage/ImageCard.vue b/app/components/opengraph/ImageCard.vue similarity index 100% rename from app/components/OgImage/ImageCard.vue rename to app/components/opengraph/ImageCard.vue diff --git a/app/components/OgImage/NuxtSeo.vue b/app/components/opengraph/NuxtSeo.vue similarity index 100% rename from app/components/OgImage/NuxtSeo.vue rename to app/components/opengraph/NuxtSeo.vue diff --git a/app/components/publisher/publisher-nameplate.vue b/app/components/publisher/publisher-nameplate.vue new file mode 100644 index 0000000..a71fe76 --- /dev/null +++ b/app/components/publisher/publisher-nameplate.vue @@ -0,0 +1,41 @@ + + + diff --git a/app/pages/rewind/me.vue b/app/pages/rewind/me.vue index 38834ea..219c458 100644 --- a/app/pages/rewind/me.vue +++ b/app/pages/rewind/me.vue @@ -1,13 +1,19 @@