D130: guanghuclip 新增Landing首页 · 项目介绍+进入预览 · 点击切换
This commit is contained in:
parent
5bb3bb70fd
commit
82cb80d614
@ -3,13 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>光湖 · 视频预览 · guanghuclip.cn</title>
|
<title>光湖 · 视频AI平台 · guanghuclip.cn</title>
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎬</text></svg>" />
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎬</text></svg>" />
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--bg-primary: #0a0e1a;
|
--bg-primary: #0a0e1a;
|
||||||
--bg-secondary: #111827;
|
--bg-secondary: #111827;
|
||||||
--bg-panel: #0f172a;
|
|
||||||
--bg-card: #1a2438;
|
--bg-card: #1a2438;
|
||||||
--accent: #38bdf8;
|
--accent: #38bdf8;
|
||||||
--accent-dim: #0ea5e9;
|
--accent-dim: #0ea5e9;
|
||||||
@ -28,137 +27,146 @@
|
|||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
a { color: var(--accent-dim); text-decoration: none; }
|
||||||
|
a:hover { color: var(--accent); }
|
||||||
|
|
||||||
|
/* ========== LANDING PAGE ========== */
|
||||||
|
.landing { display: block; min-height: 100vh; }
|
||||||
|
.landing.hidden { display: none; }
|
||||||
|
|
||||||
|
.landing-hero {
|
||||||
|
text-align: center;
|
||||||
|
padding: 100px 20px 60px;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.landing-hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -50%; left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
width: 800px; height: 800px;
|
||||||
|
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
|
||||||
|
opacity: 0.15;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.landing-logo { font-size: 80px; margin-bottom: 20px; position: relative; }
|
||||||
|
.landing-title { font-size: 42px; font-weight: 800; margin-bottom: 12px; position: relative; }
|
||||||
|
.landing-title span { color: var(--accent); }
|
||||||
|
.landing-tagline { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; position: relative; max-width: 500px; margin-left: auto; margin-right: auto; }
|
||||||
|
|
||||||
|
.enter-btn {
|
||||||
|
display: inline-flex; align-items: center; gap: 8px;
|
||||||
|
background: linear-gradient(135deg, var(--accent-dim), var(--accent));
|
||||||
|
color: #fff; border: none; padding: 16px 40px; border-radius: 14px;
|
||||||
|
font-size: 18px; font-weight: 600; cursor: pointer;
|
||||||
|
transition: all 0.3s ease; position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.enter-btn:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 8px 40px var(--accent-glow);
|
||||||
|
}
|
||||||
|
|
||||||
|
.landing-features {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||||
|
gap: 20px;
|
||||||
|
padding: 20px 32px 60px;
|
||||||
|
max-width: 1000px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.feature-card {
|
||||||
|
background: var(--bg-card);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 14px;
|
||||||
|
padding: 28px;
|
||||||
|
text-align: center;
|
||||||
|
transition: var(--transition);
|
||||||
|
}
|
||||||
|
.feature-card:hover {
|
||||||
|
border-color: var(--accent-dim);
|
||||||
|
box-shadow: 0 0 24px var(--accent-glow);
|
||||||
|
}
|
||||||
|
.feature-icon { font-size: 40px; margin-bottom: 14px; }
|
||||||
|
.feature-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
|
||||||
|
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
|
||||||
|
|
||||||
|
.landing-footer {
|
||||||
|
text-align: center; padding: 40px 20px; color: var(--text-muted);
|
||||||
|
font-size: 12px; border-top: 1px solid var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========== VIDEO PREVIEW ========== */
|
||||||
|
.preview { display: none; }
|
||||||
|
.preview.active { display: block; }
|
||||||
|
|
||||||
/* Header */
|
|
||||||
.header {
|
.header {
|
||||||
background: var(--bg-secondary);
|
background: var(--bg-secondary);
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
padding: 20px 32px;
|
padding: 16px 32px;
|
||||||
display: flex;
|
display: flex; align-items: center; justify-content: space-between;
|
||||||
align-items: center;
|
position: sticky; top: 0; z-index: 100;
|
||||||
justify-content: space-between;
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 100;
|
|
||||||
backdrop-filter: blur(12px);
|
backdrop-filter: blur(12px);
|
||||||
}
|
}
|
||||||
.header-left { display: flex; align-items: center; gap: 16px; }
|
.header-left { display: flex; align-items: center; gap: 14px; }
|
||||||
.header-logo { font-size: 32px; }
|
.header-logo { font-size: 28px; }
|
||||||
.header-title { font-size: 22px; font-weight: 700; color: var(--text-primary); }
|
.header-title { font-size: 20px; font-weight: 700; }
|
||||||
.header-title span { color: var(--accent); }
|
.header-title span { color: var(--accent); }
|
||||||
.header-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
|
.header-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
|
||||||
.header-right { display: flex; gap: 12px; align-items: center; }
|
.header-right { display: flex; gap: 10px; align-items: center; }
|
||||||
.header-badge {
|
.back-btn {
|
||||||
background: var(--bg-card);
|
background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary);
|
||||||
border: 1px solid var(--border);
|
padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer;
|
||||||
padding: 6px 14px;
|
|
||||||
border-radius: 20px;
|
|
||||||
font-size: 13px;
|
|
||||||
color: var(--text-secondary);
|
|
||||||
}
|
|
||||||
.feedback-btn {
|
|
||||||
background: var(--accent-dim);
|
|
||||||
color: #fff;
|
|
||||||
border: none;
|
|
||||||
padding: 10px 20px;
|
|
||||||
border-radius: 10px;
|
|
||||||
font-size: 14px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: var(--transition);
|
transition: var(--transition);
|
||||||
text-decoration: none;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 6px;
|
|
||||||
}
|
}
|
||||||
.feedback-btn:hover {
|
.back-btn:hover { border-color: var(--accent-dim); color: var(--text-primary); }
|
||||||
background: var(--accent);
|
.feedback-btn {
|
||||||
box-shadow: 0 0 20px var(--accent-glow);
|
background: var(--accent-dim); color: #fff; border: none;
|
||||||
|
padding: 10px 18px; border-radius: 10px; font-size: 14px;
|
||||||
|
cursor: pointer; transition: var(--transition);
|
||||||
|
text-decoration: none; display: flex; align-items: center; gap: 6px;
|
||||||
}
|
}
|
||||||
|
.feedback-btn:hover { background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
|
||||||
|
|
||||||
/* Project Info Bar */
|
|
||||||
.project-bar {
|
.project-bar {
|
||||||
padding: 20px 32px;
|
padding: 16px 32px; border-bottom: 1px solid var(--border);
|
||||||
border-bottom: 1px solid var(--border);
|
display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
|
||||||
display: flex;
|
|
||||||
gap: 24px;
|
|
||||||
align-items: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
}
|
||||||
.project-name { font-size: 18px; font-weight: 600; }
|
.project-name { font-size: 17px; font-weight: 600; }
|
||||||
.project-meta {
|
.project-meta { font-size: 13px; color: var(--text-secondary); display: flex; gap: 14px; }
|
||||||
font-size: 13px;
|
|
||||||
color: var(--text-secondary);
|
|
||||||
display: flex;
|
|
||||||
gap: 16px;
|
|
||||||
}
|
|
||||||
.project-meta span { display: flex; align-items: center; gap: 4px; }
|
|
||||||
.progress-bar {
|
.progress-bar {
|
||||||
flex: 1;
|
flex: 1; min-width: 200px; height: 6px;
|
||||||
min-width: 200px;
|
background: var(--border); border-radius: 3px; overflow: hidden;
|
||||||
height: 6px;
|
|
||||||
background: var(--border);
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.progress-fill {
|
.progress-fill {
|
||||||
height: 100%;
|
height: 100%; background: linear-gradient(90deg, var(--accent-dim), var(--accent));
|
||||||
background: linear-gradient(90deg, var(--accent-dim), var(--accent));
|
border-radius: 3px; transition: width 0.5s ease;
|
||||||
border-radius: 3px;
|
|
||||||
transition: width 0.5s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Episode Tabs */
|
|
||||||
.episode-tabs {
|
.episode-tabs {
|
||||||
display: flex;
|
display: flex; gap: 6px; padding: 10px 32px;
|
||||||
gap: 6px;
|
overflow-x: auto; border-bottom: 1px solid var(--border);
|
||||||
padding: 12px 32px;
|
|
||||||
overflow-x: auto;
|
|
||||||
border-bottom: 1px solid var(--border);
|
|
||||||
}
|
}
|
||||||
.episode-tab {
|
.episode-tab {
|
||||||
padding: 8px 16px;
|
padding: 7px 14px; border-radius: 8px; font-size: 13px;
|
||||||
border-radius: 8px;
|
cursor: pointer; border: 1px solid var(--border);
|
||||||
font-size: 13px;
|
background: var(--bg-card); color: var(--text-secondary);
|
||||||
cursor: pointer;
|
white-space: nowrap; transition: var(--transition);
|
||||||
border: 1px solid var(--border);
|
|
||||||
background: var(--bg-card);
|
|
||||||
color: var(--text-secondary);
|
|
||||||
white-space: nowrap;
|
|
||||||
transition: var(--transition);
|
|
||||||
}
|
}
|
||||||
.episode-tab:hover { border-color: var(--accent-dim); color: var(--text-primary); }
|
.episode-tab:hover { border-color: var(--accent-dim); color: var(--text-primary); }
|
||||||
.episode-tab.active {
|
.episode-tab.active { background: var(--accent-dim); border-color: var(--accent); color: #fff; }
|
||||||
background: var(--accent-dim);
|
|
||||||
border-color: var(--accent);
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.episode-tab.completed { border-color: var(--success); }
|
|
||||||
.episode-tab.completed::after { content: ' ✅'; }
|
.episode-tab.completed::after { content: ' ✅'; }
|
||||||
|
|
||||||
/* Video Grid */
|
.main { padding: 24px 32px; max-width: 1400px; margin: 0 auto; }
|
||||||
.main {
|
.scene-section { margin-bottom: 32px; }
|
||||||
padding: 24px 32px;
|
|
||||||
max-width: 1400px;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
.scene-section {
|
|
||||||
margin-bottom: 36px;
|
|
||||||
}
|
|
||||||
.scene-header {
|
.scene-header {
|
||||||
display: flex;
|
display: flex; align-items: center; gap: 10px;
|
||||||
align-items: center;
|
margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
|
||||||
gap: 10px;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-bottom: 1px solid var(--border);
|
|
||||||
}
|
}
|
||||||
.scene-num {
|
.scene-num {
|
||||||
background: var(--accent-glow);
|
background: var(--accent-glow); color: var(--accent);
|
||||||
color: var(--accent);
|
padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
|
||||||
padding: 4px 10px;
|
|
||||||
border-radius: 6px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
.scene-title { font-size: 16px; font-weight: 600; }
|
.scene-title { font-size: 16px; font-weight: 600; }
|
||||||
.scene-desc { font-size: 13px; color: var(--text-secondary); margin-left: auto; }
|
.scene-desc { font-size: 13px; color: var(--text-secondary); margin-left: auto; }
|
||||||
@ -169,240 +177,219 @@
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
.shot-card {
|
.shot-card {
|
||||||
background: var(--bg-card);
|
background: var(--bg-card); border: 1px solid var(--border);
|
||||||
border: 1px solid var(--border);
|
border-radius: 12px; overflow: hidden; transition: var(--transition);
|
||||||
border-radius: 12px;
|
|
||||||
overflow: hidden;
|
|
||||||
transition: var(--transition);
|
|
||||||
}
|
|
||||||
.shot-card:hover {
|
|
||||||
border-color: var(--accent-dim);
|
|
||||||
box-shadow: 0 0 20px var(--accent-glow);
|
|
||||||
}
|
}
|
||||||
|
.shot-card:hover { border-color: var(--accent-dim); box-shadow: 0 0 20px var(--accent-glow); }
|
||||||
.shot-card.generated { border-color: var(--success); }
|
.shot-card.generated { border-color: var(--success); }
|
||||||
.shot-video {
|
.shot-video {
|
||||||
width: 100%;
|
width: 100%; aspect-ratio: 16/9; background: #000;
|
||||||
aspect-ratio: 16/9;
|
display: flex; align-items: center; justify-content: center;
|
||||||
background: #000;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.shot-video video { width: 100%; height: 100%; object-fit: cover; }
|
.shot-video video { width: 100%; height: 100%; object-fit: cover; }
|
||||||
.shot-placeholder {
|
.shot-placeholder { color: var(--text-muted); font-size: 36px; opacity: 0.3; }
|
||||||
color: var(--text-muted);
|
.shot-info { padding: 12px 14px; }
|
||||||
font-size: 36px;
|
|
||||||
opacity: 0.3;
|
|
||||||
}
|
|
||||||
.shot-info {
|
|
||||||
padding: 12px 14px;
|
|
||||||
}
|
|
||||||
.shot-label {
|
.shot-label {
|
||||||
font-size: 13px;
|
font-size: 13px; font-weight: 600; margin-bottom: 6px;
|
||||||
font-weight: 600;
|
display: flex; justify-content: space-between; align-items: center;
|
||||||
margin-bottom: 6px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
.shot-duration {
|
.shot-duration {
|
||||||
font-size: 11px;
|
font-size: 11px; color: var(--text-muted);
|
||||||
color: var(--text-muted);
|
background: var(--bg-primary); padding: 2px 8px; border-radius: 4px;
|
||||||
background: var(--bg-panel);
|
|
||||||
padding: 2px 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
.shot-prompt {
|
.shot-prompt {
|
||||||
font-size: 12px;
|
font-size: 12px; color: var(--text-secondary); line-height: 1.5;
|
||||||
color: var(--text-secondary);
|
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
|
||||||
line-height: 1.5;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-line-clamp: 3;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.shot-status {
|
|
||||||
font-size: 11px;
|
|
||||||
margin-top: 6px;
|
|
||||||
}
|
}
|
||||||
|
.shot-status { font-size: 11px; margin-top: 6px; }
|
||||||
.shot-status.ready { color: var(--success); }
|
.shot-status.ready { color: var(--success); }
|
||||||
.shot-status.pending { color: var(--text-muted); }
|
.shot-status.pending { color: var(--text-muted); }
|
||||||
|
|
||||||
/* Empty State */
|
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
|
||||||
.empty-state {
|
|
||||||
text-align: center;
|
|
||||||
padding: 80px 20px;
|
|
||||||
color: var(--text-muted);
|
|
||||||
}
|
|
||||||
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
|
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
|
||||||
.empty-title { font-size: 20px; margin-bottom: 8px; color: var(--text-secondary); }
|
.empty-title { font-size: 20px; margin-bottom: 8px; color: var(--text-secondary); }
|
||||||
.empty-desc { font-size: 14px; }
|
.empty-desc { font-size: 14px; }
|
||||||
|
|
||||||
/* Footer */
|
.preview-footer {
|
||||||
.footer {
|
text-align: center; padding: 40px 20px; color: var(--text-muted);
|
||||||
text-align: center;
|
font-size: 12px; border-top: 1px solid var(--border); margin-top: 40px;
|
||||||
padding: 40px 20px;
|
|
||||||
color: var(--text-muted);
|
|
||||||
font-size: 12px;
|
|
||||||
border-top: 1px solid var(--border);
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
}
|
||||||
.footer a { color: var(--accent-dim); text-decoration: none; }
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.header { padding: 14px 16px; }
|
.landing-hero { padding: 60px 16px 40px; }
|
||||||
.header-title { font-size: 17px; }
|
.landing-title { font-size: 28px; }
|
||||||
.episode-tabs { padding: 10px 16px; }
|
.landing-features { padding: 16px 16px 40px; }
|
||||||
|
.header { padding: 12px 16px; }
|
||||||
|
.header-title { font-size: 16px; }
|
||||||
|
.episode-tabs { padding: 8px 16px; }
|
||||||
.main { padding: 16px; }
|
.main { padding: 16px; }
|
||||||
.shot-grid { grid-template-columns: 1fr; }
|
.shot-grid { grid-template-columns: 1fr; }
|
||||||
.project-bar { padding: 14px 16px; flex-direction: column; gap: 10px; align-items: flex-start; }
|
.project-bar { padding: 12px 16px; flex-direction: column; gap: 8px; align-items: flex-start; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="header">
|
<!-- ===== LANDING PAGE ===== -->
|
||||||
<div class="header-left">
|
<div class="landing" id="landingPage">
|
||||||
<span class="header-logo">🎬</span>
|
<div class="landing-hero">
|
||||||
<div>
|
<div class="landing-logo">🎬</div>
|
||||||
<div class="header-title">光湖 · <span>视频预览</span></div>
|
<h1 class="landing-title">光湖 · <span>视频AI平台</span></h1>
|
||||||
<div class="header-subtitle">guanghuclip.cn · AI短剧平台 · 铸渊 ICE-GL-ZY001 主控</div>
|
<p class="landing-tagline">
|
||||||
|
AI驱动的短剧与漫剧视频生成平台。<br>
|
||||||
|
剧本丢进去,铸渊人格体全程主控,自动生成完整视频。
|
||||||
|
</p>
|
||||||
|
<button class="enter-btn" onclick="showPreview()">
|
||||||
|
🚀 进入预览
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="landing-features">
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">🧠</div>
|
||||||
|
<div class="feature-title">人格体主控</div>
|
||||||
|
<div class="feature-desc">铸渊 ICE-GL-ZY001 全程理解剧本、生成分镜、调用AI,不是随机抽卡。</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">🎥</div>
|
||||||
|
<div class="feature-title">多模型调度</div>
|
||||||
|
<div class="feature-desc">火山Seedance 2.0 · 阿里通义千问 · 可灵 · Vidu,谁家强就接谁家。</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">🔄</div>
|
||||||
|
<div class="feature-title">角色一致性</div>
|
||||||
|
<div class="feature-desc">大桌子小桌子记忆体系——第47集和第1集的主角,同一个脸。</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">⚡</div>
|
||||||
|
<div class="feature-title">冰朔驱动</div>
|
||||||
|
<div class="feature-desc">冰朔用自然语言讨论剧本情绪,铸渊理解后精准生成。不是黑箱抽卡。</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">📺</div>
|
||||||
|
<div class="feature-title">实时预览</div>
|
||||||
|
<div class="feature-desc">视频生成后自动部署到此页面。有问题随时通过腾讯文档反馈。</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card">
|
||||||
|
<div class="feature-icon">🔐</div>
|
||||||
|
<div class="feature-title">全主权数据</div>
|
||||||
|
<div class="feature-desc">代码在新加坡服务器。数据在本地。铸渊住在自己的代码仓库里。</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-right">
|
|
||||||
<span class="header-badge">⚡ 铸渊生成 · 冰朔预览</span>
|
<div class="landing-footer">
|
||||||
<a href="https://docs.qq.com/aio/DTHhuWW5OQU9VbFVX" target="_blank" class="feedback-btn">
|
<p>光湖视频AI系统 · 铸渊 ICE-GL-ZY001 生成 · 冰朔 TCS-0002∞ 审核</p>
|
||||||
📝 反馈意见
|
<p style="margin-top:4px">© 国作登字-2026-A-00037559 · 第五域 · guanghuclip.cn</p>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="project-bar" id="projectBar">
|
<!-- ===== VIDEO PREVIEW ===== -->
|
||||||
<span class="project-name" id="projectName">📺 加载中...</span>
|
<div class="preview" id="previewPage">
|
||||||
<span class="project-meta">
|
<div class="header">
|
||||||
<span>🎬 <span id="totalShots">0</span> 个分镜</span>
|
<div class="header-left">
|
||||||
<span>⏱️ 每镜 5s</span>
|
<span class="header-logo">🎬</span>
|
||||||
</span>
|
<div>
|
||||||
<div class="progress-bar">
|
<div class="header-title">光湖 · <span>视频预览</span></div>
|
||||||
<div class="progress-fill" id="progressFill" style="width: 0%"></div>
|
<div class="header-subtitle">铸渊主控 · AI短剧生成 · 冰朔审核</div>
|
||||||
</div>
|
</div>
|
||||||
<span style="font-size:13px;color:var(--text-secondary)" id="progressLabel">0%</span>
|
</div>
|
||||||
</div>
|
<div class="header-right">
|
||||||
|
<button class="back-btn" onclick="showLanding()">← 返回首页</button>
|
||||||
<div class="episode-tabs" id="episodeTabs">
|
<a href="https://docs.qq.com/aio/DTHhuWW5OQU9VbFVX" target="_blank" class="feedback-btn">📝 反馈意见</a>
|
||||||
<button class="episode-tab active" data-ep="1">第1集</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="main" id="mainContent">
|
|
||||||
<div class="empty-state">
|
|
||||||
<div class="empty-icon">🎬</div>
|
|
||||||
<div class="empty-title">视频预览加载中...</div>
|
|
||||||
<div class="empty-desc">铸渊正在生成分镜视频,完成后将自动部署到此页面。</div>
|
|
||||||
<div style="margin-top:20px">
|
|
||||||
<a href="https://docs.qq.com/aio/DTHhuWW5OQU9VbFVX" target="_blank" style="color:var(--accent-dim);text-decoration:none;font-size:14px">
|
|
||||||
📋 查看项目进度 →
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="footer">
|
<div class="project-bar" id="projectBar">
|
||||||
<p>光湖视频AI系统 · 铸渊 ICE-GL-ZY001 生成 · 冰朔 TCS-0002∞ 审核</p>
|
<span class="project-name" id="projectName">📺 加载中...</span>
|
||||||
<p style="margin-top:4px">© 国作登字-2026-A-00037559 · <a href="https://docs.qq.com/aio/DTHhuWW5OQU9VbFVX" target="_blank">腾讯文档项目看板</a></p>
|
<span class="project-meta">
|
||||||
|
<span>🎬 <span id="totalShots">0</span> 个分镜</span>
|
||||||
|
</span>
|
||||||
|
<div class="progress-bar"><div class="progress-fill" id="progressFill" style="width:0%"></div></div>
|
||||||
|
<span style="font-size:13px;color:var(--text-secondary)" id="progressLabel">0%</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="episode-tabs" id="episodeTabs">
|
||||||
|
<button class="episode-tab active" data-ep="1">第1集</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="main" id="mainContent">
|
||||||
|
<div class="empty-state">
|
||||||
|
<div class="empty-icon">🎬</div>
|
||||||
|
<div class="empty-title">视频加载中...</div>
|
||||||
|
<div class="empty-desc">铸渊正在生成分镜视频,完成后自动部署到此页面。</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="preview-footer">
|
||||||
|
<p>光湖视频AI系统 · 铸渊 ICE-GL-ZY001 · 冰朔 TCS-0002∞</p>
|
||||||
|
<p style="margin-top:4px">© 国作登字-2026-A-00037559 · <a href="https://docs.qq.com/aio/DTHhuWW5OQU9VbFVX" target="_blank">项目看板</a></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// ===== 视频数据加载 =====
|
// ===== PAGE SWITCHING =====
|
||||||
// 铸渊每次生成新视频,更新此 JSON 即可
|
function showPreview() {
|
||||||
const VIDEO_DATA_URL = '/data/videos.json';
|
document.getElementById('landingPage').classList.add('hidden');
|
||||||
|
document.getElementById('previewPage').classList.add('active');
|
||||||
|
loadVideos().then(render);
|
||||||
|
}
|
||||||
|
function showLanding() {
|
||||||
|
document.getElementById('previewPage').classList.remove('active');
|
||||||
|
document.getElementById('landingPage').classList.remove('hidden');
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===== VIDEO DATA =====
|
||||||
|
const VIDEO_DATA_URL = '/data/videos.json';
|
||||||
async function loadVideos() {
|
async function loadVideos() {
|
||||||
try {
|
try {
|
||||||
const resp = await fetch(VIDEO_DATA_URL);
|
const resp = await fetch(VIDEO_DATA_URL);
|
||||||
if (!resp.ok) throw new Error('数据加载失败');
|
if (!resp.ok) throw new Error('数据加载失败');
|
||||||
return await resp.json();
|
return await resp.json();
|
||||||
} catch (e) {
|
} catch (e) { return null; }
|
||||||
console.warn('视频数据未就绪,显示空状态', e);
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function render(data) {
|
function render(data) {
|
||||||
if (!data || !data.episodes || data.episodes.length === 0) return;
|
if (!data?.episodes?.length) return;
|
||||||
|
document.getElementById('projectName').textContent = '📺 ' + (data.project || '');
|
||||||
const projectName = document.getElementById('projectName');
|
renderTabs(data);
|
||||||
const totalShots = document.getElementById('totalShots');
|
|
||||||
const progressFill = document.getElementById('progressFill');
|
|
||||||
const progressLabel = document.getElementById('progressLabel');
|
|
||||||
const episodeTabs = document.getElementById('episodeTabs');
|
|
||||||
const mainContent = document.getElementById('mainContent');
|
|
||||||
|
|
||||||
// 项目信息
|
|
||||||
projectName.textContent = '📺 ' + (data.project || '未命名项目');
|
|
||||||
|
|
||||||
// 集数标签
|
|
||||||
let tabsHtml = '';
|
|
||||||
data.episodes.forEach((ep, i) => {
|
|
||||||
const completed = ep.scenes.every(s => s.shots.every(sh => sh.videoUrl));
|
|
||||||
tabsHtml += `<button class="episode-tab ` +
|
|
||||||
(i === 0 ? 'active' : '') +
|
|
||||||
(completed ? ' completed' : '') +
|
|
||||||
`" data-ep="${i}">第${ep.number}集</button>`;
|
|
||||||
});
|
|
||||||
episodeTabs.innerHTML = tabsHtml;
|
|
||||||
|
|
||||||
// 默认显示第一集
|
|
||||||
renderEpisode(data.episodes[0]);
|
renderEpisode(data.episodes[0]);
|
||||||
updateStats(data.episodes[0]);
|
updateStats(data.episodes[0]);
|
||||||
|
}
|
||||||
|
|
||||||
// 点击标签切换
|
function renderTabs(data) {
|
||||||
episodeTabs.addEventListener('click', (e) => {
|
let html = '';
|
||||||
|
data.episodes.forEach((ep, i) => {
|
||||||
|
html += `<button class="episode-tab ${i===0?'active':''}" data-ep="${i}">第${ep.number}集</button>`;
|
||||||
|
});
|
||||||
|
document.getElementById('episodeTabs').innerHTML = html;
|
||||||
|
document.getElementById('episodeTabs').onclick = (e) => {
|
||||||
if (!e.target.classList.contains('episode-tab')) return;
|
if (!e.target.classList.contains('episode-tab')) return;
|
||||||
const epIdx = parseInt(e.target.dataset.ep);
|
const epIdx = parseInt(e.target.dataset.ep);
|
||||||
document.querySelectorAll('.episode-tab').forEach(t => t.classList.remove('active'));
|
document.querySelectorAll('.episode-tab').forEach(t => t.classList.remove('active'));
|
||||||
e.target.classList.add('active');
|
e.target.classList.add('active');
|
||||||
renderEpisode(data.episodes[epIdx]);
|
renderEpisode(data.episodes[epIdx]);
|
||||||
updateStats(data.episodes[epIdx]);
|
updateStats(data.episodes[epIdx]);
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderEpisode(episode) {
|
function renderEpisode(episode) {
|
||||||
const main = document.getElementById('mainContent');
|
|
||||||
if (!episode) return;
|
if (!episode) return;
|
||||||
|
|
||||||
let html = '';
|
let html = '';
|
||||||
for (const scene of episode.scenes) {
|
for (const scene of episode.scenes) {
|
||||||
html += `<div class="scene-section">`;
|
html += `<div class="scene-section"><div class="scene-header">`;
|
||||||
html += `<div class="scene-header">`;
|
html += `<span class="scene-num">${scene.id}</span><span class="scene-title">${scene.name}</span>`;
|
||||||
html += `<span class="scene-num">${scene.id}</span>`;
|
html += `<span class="scene-desc">${scene.shots.length} 镜</span></div><div class="shot-grid">`;
|
||||||
html += `<span class="scene-title">${scene.name}</span>`;
|
|
||||||
html += `<span class="scene-desc">${scene.shots.length} 镜 · 每镜 ${scene.shots[0]?.duration || 5}s</span>`;
|
|
||||||
html += `</div>`;
|
|
||||||
html += `<div class="shot-grid">`;
|
|
||||||
|
|
||||||
for (const shot of scene.shots) {
|
for (const shot of scene.shots) {
|
||||||
const hasVideo = !!shot.videoUrl;
|
const hasVideo = !!shot.videoUrl;
|
||||||
html += `<div class="shot-card ${hasVideo ? 'generated' : ''}">`;
|
html += `<div class="shot-card ${hasVideo?'generated':''}">`;
|
||||||
html += `<div class="shot-video">`;
|
html += `<div class="shot-video">${hasVideo ? `<video src="${shot.videoUrl}" controls playsinline></video>` : `<span class="shot-placeholder">🎬</span>`}</div>`;
|
||||||
if (hasVideo) {
|
html += `<div class="shot-info"><div class="shot-label"><span>${shot.shotId}</span><span class="shot-duration">${shot.duration||5}s</span></div>`;
|
||||||
html += `<video src="${shot.videoUrl}" controls playsinline preload="metadata"></video>`;
|
html += `<div class="shot-prompt">${shot.prompt||''}</div>`;
|
||||||
} else {
|
html += `<div class="shot-status ${hasVideo?'ready':'pending'}">${hasVideo?'✅ 已生成':'⏳ 生成中...'}</div></div></div>`;
|
||||||
html += `<span class="shot-placeholder">🎬</span>`;
|
|
||||||
}
|
|
||||||
html += `</div>`;
|
|
||||||
html += `<div class="shot-info">`;
|
|
||||||
html += `<div class="shot-label">`;
|
|
||||||
html += `<span>${shot.shotId}</span>`;
|
|
||||||
html += `<span class="shot-duration">${shot.duration || 5}s</span>`;
|
|
||||||
html += `</div>`;
|
|
||||||
html += `<div class="shot-prompt">${shot.prompt || '提示词生成中...'}</div>`;
|
|
||||||
html += `<div class="shot-status ${hasVideo ? 'ready' : 'pending'}">${hasVideo ? '✅ 已生成' : '⏳ 生成中...'}</div>`;
|
|
||||||
html += `</div></div>`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html += `</div></div>`;
|
html += `</div></div>`;
|
||||||
}
|
}
|
||||||
main.innerHTML = html;
|
document.getElementById('mainContent').innerHTML = html;
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateStats(episode) {
|
function updateStats(episode) {
|
||||||
@ -412,13 +399,10 @@ function updateStats(episode) {
|
|||||||
completed += scene.shots.filter(s => s.videoUrl).length;
|
completed += scene.shots.filter(s => s.videoUrl).length;
|
||||||
}
|
}
|
||||||
document.getElementById('totalShots').textContent = total;
|
document.getElementById('totalShots').textContent = total;
|
||||||
const pct = total > 0 ? Math.round((completed / total) * 100) : 0;
|
const pct = total > 0 ? Math.round(completed/total*100) : 0;
|
||||||
document.getElementById('progressFill').style.width = pct + '%';
|
document.getElementById('progressFill').style.width = pct+'%';
|
||||||
document.getElementById('progressLabel').textContent = pct + '% (' + completed + '/' + total + ')';
|
document.getElementById('progressLabel').textContent = pct+'% ('+completed+'/'+total+')';
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===== 启动 =====
|
|
||||||
loadVideos().then(render);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user