Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript

style: 适配深色浅色

kongweigen4f4af7f86887
diff --git a/web/src/views/drama/ProfessionalEditor.vue b/web/src/views/drama/ProfessionalEditor.vue
index 47c08e5..53dfdd0 100644
--- a/web/src/views/drama/ProfessionalEditor.vue
+++ b/web/src/views/drama/ProfessionalEditor.vue
@@ -362,13 +362,12 @@
style="max-height: 280px; overflow-y: auto; overflow-x: hidden;">
<!-- 上一镜头尾帧推荐(紧凑版) -->
- <div v-if="previousStoryboardLastFrames.length > 0"
- style="margin-bottom: 12px; padding: 8px; background: #1a1a2e; border: 1px solid #4a4a6a; border-radius: 6px;">
+ <div v-if="previousStoryboardLastFrames.length > 0" class="previous-frame-section">
<div style="display: flex; align-items: center; gap: 6px; margin-bottom: 6px;">
<el-tag size="small" type="primary">
上一镜头 #{{ previousStoryboard?.storyboard_number }} 尾帧
</el-tag>
- <span style="color: #aaa; font-size: 11px;">点击添加为首帧参考</span>
+ <span class="hint-text">点击添加为首帧参考</span>
</div>
<div style="display: flex; gap: 8px; flex-wrap: wrap;">
<div v-for="img in previousStoryboardLastFrames" :key="'prev-' + img.id"
@@ -4043,6 +4042,19 @@ onBeforeUnmount(() => {
}
}
+ .previous-frame-section {
+ margin-bottom: 12px;
+ padding: 8px;
+ background: var(--bg-secondary);
+ border: 1px solid var(--border-primary);
+ border-radius: 6px;
+
+ .hint-text {
+ color: var(--text-muted);
+ font-size: 11px;
+ }
+ }
+
.reference-grid {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;