From 3a741b32fba606657c0c82bcf629271de175a12f 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: Thu, 25 Sep 2025 17:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E4=BC=98=E5=8C=96H5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pages/work-flow/H5MediaViewer.tsx | 12 ++++++------ components/pages/work-flow/H5TaskInfo.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/pages/work-flow/H5MediaViewer.tsx b/components/pages/work-flow/H5MediaViewer.tsx index abf1212..c0877e9 100644 --- a/components/pages/work-flow/H5MediaViewer.tsx +++ b/components/pages/work-flow/H5MediaViewer.tsx @@ -165,7 +165,7 @@ export function H5MediaViewer({ // 渲染视频 slide const renderVideoSlides = () => (
(videoRefs.current[idx] = el)} className="w-full h-full object-contain [transform:translateZ(0)] [backface-visibility:hidden] [will-change:transform] bg-black" style={{ - maxHeight: 'calc(100vh - 16rem)', + maxHeight: 'calc(100vh - 20rem)', }} src={url} preload="metadata" @@ -225,7 +225,7 @@ export function H5MediaViewer({ ) : (
{status === 0 && ( Generating... @@ -251,7 +251,7 @@ export function H5MediaViewer({ // 渲染图片 slide const renderImageSlides = () => (
(
scene
))} @@ -494,7 +494,7 @@ export function H5MediaViewer({ [data-alt='carousel-wrapper'] .slick-slide { display: flex !important;justify-content: center; } .slick-slider { height: 100% !important;display: flex !important; } .ant-carousel { height: 100% !important; } - .slick-list { width: 100%;height: 100% !important;max-height: calc(100vh - 16rem); } + .slick-list { width: 100%;height: 100% !important;max-height: calc(100vh - 20rem); } .slick-track { display: flex !important; align-items: center;height: 100% !important; } `}
diff --git a/components/pages/work-flow/H5TaskInfo.tsx b/components/pages/work-flow/H5TaskInfo.tsx index 5cda52b..9661827 100644 --- a/components/pages/work-flow/H5TaskInfo.tsx +++ b/components/pages/work-flow/H5TaskInfo.tsx @@ -132,7 +132,7 @@ const H5TaskInfo: React.FC = ({ className="flex items-start gap-3" > {/* 左侧标题区域 */} -
+