From cc5582b71914036e24f8e75c964e320fe64e84be Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 14 May 2026 19:47:35 +0800
Subject: [PATCH] 文艺短视频:将所有模版改为兼容传入视频的格式
---
aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html b/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
index 865ba6a..fdb8b4a 100644
--- a/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
+++ b/aigc-director/aigc-claw/backend/templates/1080x1920/static_excerpt.html
@@ -37,6 +37,13 @@
padding: 80px 100px;
}
+ .media-bg {
+ position: absolute;
+ inset: 0;
+ z-index: 0;
+ overflow: hidden;
+ }
+
/* 背景遮罩层 */
body::before {
content: '';
@@ -111,6 +118,8 @@
</head>
<body>
+ <div class="media-bg">{{media}}</div>
+
<!-- 顶部标题 -->
<div class="header">
<div class="title">{{title}}</div>
@@ -128,4 +137,4 @@
<div class="signature">{{signature=HITsz-TMG}}</div>
</body>
-</html>
\ No newline at end of file
+</html>
--
Gitblit v1.8.0