From 5eed018991ab1981bd1ab0891dc52b15fa4edf5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Wed, 22 Oct 2025 20:05:36 +0800 Subject: [PATCH 1/4] =?UTF-8?q?@=E6=8C=89=E9=92=AE=E5=8A=A0tooltip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreateInput/VideoCreationForm.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/components/pages/create-video/CreateInput/VideoCreationForm.tsx b/components/pages/create-video/CreateInput/VideoCreationForm.tsx index 272fd6c..bbaba89 100644 --- a/components/pages/create-video/CreateInput/VideoCreationForm.tsx +++ b/components/pages/create-video/CreateInput/VideoCreationForm.tsx @@ -26,6 +26,7 @@ import { StoryTemplateEntity } from '@/app/service/domain/Entities'; import { useUploadFile } from '@/app/service/domain/service'; import { useAppDispatch, useAppSelector } from '@/lib/store/hooks'; import { clearSelection } from '@/lib/store/creationTemplateSlice'; +import { Tooltip } from "antd"; export default function VideoCreationForm() { const [photos, setPhotos] = useState([]); @@ -566,12 +567,14 @@ export default function VideoCreationForm() { } > - + + + {/* Configuration - Desktop: Full Panel, Mobile: Setting Icon */} From f1c041491549e57a58495e577f717480d1659ea9 Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Wed, 22 Oct 2025 20:24:01 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8Cinput=E9=80=90=E5=AD=97=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FamousTemplate.tsx | 8 +-- components/MyMovies.tsx | 2 +- .../CreateInput/VideoCreationForm.tsx | 19 +++++- hooks/useTypewriterText.ts | 62 +++++++++++++++++++ 4 files changed, 85 insertions(+), 6 deletions(-) create mode 100644 hooks/useTypewriterText.ts diff --git a/components/FamousTemplate.tsx b/components/FamousTemplate.tsx index 7abd552..320fc6a 100644 --- a/components/FamousTemplate.tsx +++ b/components/FamousTemplate.tsx @@ -46,7 +46,7 @@ const FamousTemplate: React.FC = ({ showTabs = true }) => { return (
-
+

Inspiration Lab

@@ -58,7 +58,7 @@ const FamousTemplate: React.FC = ({ showTabs = true }) => { type="button" data-alt={`template-tab-${tab}`} onClick={() => setActiveTab(tab)} - className={`px-3 py-1 rounded-none text-sm transition-colors border ${ + className={`px-3 py-0.5 rounded-none text-sm transition-colors border ${ activeTab === tab ? "border-white/60 bg-white/80 text-slate-900" : "border-white/20 text-white/80 hover:border-white/40 hover:bg-white/10" @@ -83,7 +83,7 @@ const FamousTemplate: React.FC = ({ showTabs = true }) => {
{ const v = e.currentTarget.querySelector('video') as HTMLVideoElement | null v?.play?.() @@ -150,7 +150,7 @@ const FamousTemplate: React.FC = ({ showTabs = true }) => {