Files
MyAiDesk/GovAI/videos/fazhitong-promo/compositions/s1-intro.html
T
freedak f7a720204a Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
2026-07-04 19:20:46 +08:00

161 lines
3.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>S1 - 开场</title>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/gsap.min.js"></script>
<style>
:root {
--bg-deep: #0A1A33;
--bg-panel: #10243F;
--brand-blue: #1E5BC6;
--gold: #D4A437;
--seal-red: #C0392B;
--text-hi: #F2F6FC;
--text-lo: #9DB2CE;
--line: #2A436B;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 1920px;
height: 1080px;
overflow: hidden;
font-family: "PingFang SC", "Source Han Sans SC", "Helvetica Neue", sans-serif;
background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-panel) 100%);
position: relative;
}
.clip {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
}
/* 金线装饰 */
.gold-line {
width: 800px;
height: 3px;
background: var(--gold);
transform-origin: center;
box-shadow: 0 0 20px rgba(212, 164, 55, 0.6);
}
/* 文字样式 */
.text-producer {
font-size: 56px;
font-weight: bold;
color: var(--text-hi);
letter-spacing: 8px;
}
.text-heritage {
font-size: 40px;
font-weight: 500;
color: var(--gold);
letter-spacing: 4px;
}
.logo-container {
text-align: center;
}
.logo-title {
font-size: 72px;
font-weight: bold;
color: var(--text-hi);
letter-spacing: 6px;
margin-bottom: 20px;
}
.logo-subtitle {
font-size: 36px;
font-weight: 400;
color: var(--gold);
letter-spacing: 2px;
}
</style>
</head>
<body data-composition-id="s1-intro" data-width="1920" data-height="1080">
<!-- Track 1: 金线擦出 (0.52s) -->
<div class="clip gold-line"
data-start="0.5"
data-duration="7.5"
data-track-index="1"
style="top: 50%; left: 50%; transform: translate(-50%, -50%) scaleX(0);">
</div>
<!-- Track 2: 法治日报社 出品 (24s) -->
<div class="clip text-producer"
data-start="2"
data-duration="6"
data-track-index="2"
style="top: 45%; left: 50%; transform: translate(-50%, -50%) translateY(24px); opacity: 0;">
法治日报社 出品
</div>
<!-- Track 3: 四十余年深耕政法领域 (4–6s) -->
<div class="clip text-heritage"
data-start="4"
data-duration="4"
data-track-index="3"
style="top: 55%; left: 50%; transform: translate(-50%, -50%) translateY(24px); opacity: 0;">
四十余年深耕政法领域
</div>
<!-- Track 1: Logo (68s) -->
<div class="clip logo-container"
data-start="6"
data-duration="2"
data-track-index="1"
style="top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); opacity: 0;">
<div class="logo-title">法智通</div>
<div class="logo-subtitle">政法行业人工智能应用平台</div>
</div>
<script>
// 注册时间轴
window.__timelines = window.__timelines || {};
const tl = gsap.timeline({ paused: true });
window.__timelines["s1-intro"] = tl;
// 金线擦出
tl.to('[data-start="0.5"]', {
scaleX: 1,
duration: 1.5,
ease: "power2.out"
}, 0.5);
// 法治日报社 出品
tl.to('[data-start="2"]', {
y: 0,
opacity: 1,
duration: 0.6,
ease: "power2.out"
}, 2);
// 四十余年深耕政法领域
tl.to('[data-start="4"]', {
y: 0,
opacity: 1,
duration: 0.6,
ease: "power2.out"
}, 4);
// Logo 放大入场
tl.to('[data-start="6"]', {
scale: 1,
opacity: 1,
duration: 0.8,
ease: "power2.out"
}, 6);
</script>
</body>
</html>