From 9f8221479724b80a562737f914358066aab61cd6 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 6 Nov 2025 01:33:49 +0800 Subject: [PATCH] :recycle: Refactored attachment page --- app/components/AttachmentItem.vue | 5 +- app/layouts/default.vue | 2 +- app/pages/files/[id].vue | 384 +++++++++++++++++++----------- app/pages/posts/[id].vue | 5 +- app/types/api/index.ts | 2 +- app/types/api/post.ts | 5 +- app/types/api/publisher.ts | 6 +- app/types/api/user.ts | 6 +- 8 files changed, 264 insertions(+), 151 deletions(-) diff --git a/app/components/AttachmentItem.vue b/app/components/AttachmentItem.vue index c3566b2..fffc42a 100644 --- a/app/components/AttachmentItem.vue +++ b/app/components/AttachmentItem.vue @@ -24,6 +24,7 @@ @click="openExternally" /> +