feat(timeline): 结局金色浮层(重新观看 + 回到上一个选择)

播到结局时在镜头下方弹金色星标浮层:显示结局文案/成败/奖励 + 两个按钮——
「⟲ 重新观看」从头再播、「↶ 回到上一个选择」跳回最近分支点(位置重放正确)直接试另一条。
记录最近 choice/random/fight 节点供回跳;纯线性到结局则只显示重新观看。
This commit is contained in:
2026-06-13 21:41:04 +08:00
parent ebff4e9b3b
commit 06e639f0df
2 changed files with 28 additions and 3 deletions

View File

@ -283,6 +283,10 @@ body.perform-mode .mode-switch { border-color:#2f7a60; }
border:1px solid #8a7038; border-radius:6px; padding:8px 14px; font-size:13px;
cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.55); }
.tl-choice-btn:hover { background:#5a4a26; border-color:#e6c878; }
/* 结局浮层:金色星标,区别于普通选项 */
.tl-ending-q { color:#f2c463 !important; background:rgba(42,30,14,.9) !important; border:1px solid #8a6a30; font-size:13px; max-width:92%; }
.tl-ending-btn { border-color:#b8893a; }
.tl-ending-btn:hover { background:#5a4426; border-color:#f2c463; }
/* 时间轴面板:固定/可拖高度、自己横向滚动 */
.tl-timelinepanel { flex:none; height:200px; min-height:80px; display:flex; }
.tl-tracks { position:relative; flex:1; min-width:0; overflow-x:auto; overflow-y:auto; cursor:grab;