From fdab50c963c871eeddf79840b6369eec8d6a4b64 Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Wed, 17 Apr 2024 23:44:49 +0800 Subject: [PATCH] feat(component): BUttonFM --- public/img/icon/FM-active.svg | 3 +++ src/app/vol/list/[category]/[[...page]]/page.tsx | 4 ++-- src/components/ButtonFM.tsx | 14 ++++++++++++++ src/components/index.ts | 1 + src/services/client/audio.ts | 9 +++++++++ 5 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 public/img/icon/FM-active.svg create mode 100644 src/components/ButtonFM.tsx diff --git a/public/img/icon/FM-active.svg b/public/img/icon/FM-active.svg new file mode 100644 index 0000000..4d7f65c --- /dev/null +++ b/public/img/icon/FM-active.svg @@ -0,0 +1,3 @@ + diff --git a/src/app/vol/list/[category]/[[...page]]/page.tsx b/src/app/vol/list/[category]/[[...page]]/page.tsx index b554d31..da5a3d2 100644 --- a/src/app/vol/list/[category]/[[...page]]/page.tsx +++ b/src/app/vol/list/[category]/[[...page]]/page.tsx @@ -1,7 +1,7 @@ /** 期刊列表 */ import { notFound } from 'next/navigation'; -import { Category, JournalRecommendList, Pagination, JournalItem, RedirectCheck } from '@/components'; +import { Category, JournalRecommendList, JournalItem, Pagination, RedirectCheck, ButtonFM } from '@/components'; import { apiSearchCategoryList, apiGetJournalRecommendWithCollect, apiJournalList } from '@/services'; import type { Metadata } from 'next'; @@ -69,7 +69,7 @@ export default async function Journal({ params }: { params: { category?: string;
电台
+