From 5e587dfd88c5cda84fef7e9ea5e36f32b06b8ff2 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 18 Feb 2025 16:27:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(SiteResource):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E8=B5=84=E6=BA=90=E5=88=86=E7=B1=BB=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E8=B5=84=E6=BA=90=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types.ts | 7 ++ src/components/cards/SiteCard.vue | 8 +- src/components/dialog/SiteResourceDialog.vue | 81 ++++++++++++++++---- 3 files changed, 76 insertions(+), 20 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index e777a705..83336ab3 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -1254,3 +1254,10 @@ export interface RecommendSource { // 媒体数据源API地址 api_path: string } + +// 站点资源分类 +export interface SiteCategory { + id: number + cat: string + desc: string +} diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index bf5e9253..27a41c93 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -153,7 +153,7 @@ onMounted(() => {