From 7a7339e6e4150c1fc2b847965b370a8602356cc8 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: Tue, 23 Sep 2025 16:50:26 +0800 Subject: [PATCH] =?UTF-8?q?H5=20=E9=80=82=E9=85=8D=E7=AB=96=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow.tsx | 4 +- components/pages/work-flow/H5MediaViewer.tsx | 100 ++++++------------ components/pages/work-flow/H5TaskInfo.tsx | 2 +- components/pages/work-flow/thumbnail-grid.tsx | 76 +++++++------ 4 files changed, 83 insertions(+), 99 deletions(-) diff --git a/components/pages/work-flow.tsx b/components/pages/work-flow.tsx index 1612c97..95e5fa1 100644 --- a/components/pages/work-flow.tsx +++ b/components/pages/work-flow.tsx @@ -540,9 +540,11 @@ Please process this video editing request.`; setCurrentSketchIndex(index); }} onRetryVideo={handleRetryVideo} - className={isDesktop ? 'auto-cols-[20%]' : (isTablet ? 'auto-cols-[25%]' : 'auto-cols-[40%]')} + className={isDesktop ? 'auto-cols-[20%]' : (isTablet ? 'auto-cols-[25%]' : 'auto-cols-[33%]')} + cols={isDesktop ? '20%' : isTablet ? '25%' : '33%'} selectedView={selectedView} aspectRatio={aspectRatio} + isMobile={isMobile} /> )} diff --git a/components/pages/work-flow/H5MediaViewer.tsx b/components/pages/work-flow/H5MediaViewer.tsx index 51da617..9cd4a19 100644 --- a/components/pages/work-flow/H5MediaViewer.tsx +++ b/components/pages/work-flow/H5MediaViewer.tsx @@ -182,12 +182,15 @@ export function H5MediaViewer({ const status = raw?.video_status; const videoId = raw?.video_id as string | undefined; return ( -
+
{hasUrl ? ( <>