| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- <!DOCTYPE html>
- <html lang="zh-CN" data-theme="light">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>{{REPORT_TITLE}}</title>
- <link rel="stylesheet" href="../lib/theme/tokens.css">
- <link rel="stylesheet" href="../lib/theme/base.css">
- <script src="../lib/vendor/gsap/gsap.min.js"></script>
- <script src="../lib/theme/theme.js"></script>
- <script src="../lib/player/canvas-scale.js"></script>
- <style>
- /* 页内补充样式:只用 var(--...),不新增色值(token 唯一来源纪律) */
- body { margin:0; background:var(--bg-0); color:var(--text-1); font-family:var(--font-body); }
- .screen { display:none; flex-direction:column; align-items:center; justify-content:center; width:1280px; height:720px; overflow:hidden; padding:0 40px; }
- .s-wrap { width:100%; max-width:1120px; }
- .s-foot-tags { display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end; margin-top:14px; }
- /* 数据速览复用 base.css .stat-band/.stat;此处补工具分布条 */
- .dist-row { display:flex; align-items:center; gap:10px; margin:6px 0; }
- .dist-name { width:110px; font-family:var(--font-mono); font-size:12px; color:var(--text-3); text-align:right; }
- .dist-bar { height:14px; background:var(--brand-1); border-radius:2px; min-width:2px; }
- .dist-num { font-family:var(--font-mono); font-size:12px; color:var(--text-2); }
- /* 交付物墙 */
- .wall { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
- .wall .w-card { background:var(--bg-2); border:1px solid var(--border-subtle); padding:12px; display:flex; flex-direction:column; gap:8px; min-height:120px; }
- .wall .w-card iframe { width:100%; height:150px; border:1px solid var(--border-subtle); background:#fff; pointer-events:none; }
- .wall .w-card .w-title { font:600 13px var(--font-body); color:var(--text-1); }
- .wall .w-card .w-src { font:11px var(--font-mono); color:var(--text-4); }
- .wall .w-card .w-note { font:11px var(--font-mono); color:var(--brand-ok); }
- .wall .w-card .w-nolink { font:11px var(--font-mono); color:var(--text-4); border:1px dashed var(--border-subtle); padding:40px 8px; text-align:center; }
- /* 时刻线 */
- .timeline { position:relative; padding-left:22px; display:flex; flex-direction:column; gap:12px; }
- .timeline::before { content:''; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background:var(--border-subtle); }
- .tl-item { position:relative; }
- .tl-item::before { content:''; position:absolute; left:-22px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--brand-1); border:2px solid var(--bg-0); }
- .tl-item .tl-time { font:11px var(--font-mono); color:var(--text-4); }
- .tl-item .tl-text { font-size:14px; color:var(--text-2); margin-top:2px; }
- /* 三问板块 */
- .q-block { border-left:3px solid var(--brand-1); background:var(--bg-2); padding:14px 18px; }
- .q-block.q1 { border-left-color:var(--brand-3); }
- .q-block.q2 { border-left-color:var(--brand-1); }
- .q-block.q3 { border-left-color:var(--brand-2); }
- .q-block .q-h { font:700 16px var(--font-display); color:var(--text-1); margin-bottom:8px; }
- .q-block .q-a { font-size:15px; line-height:1.8; color:var(--text-2); white-space:pre-wrap; }
- .q-block .q-ev { margin-top:10px; display:flex; flex-direction:column; gap:4px; }
- .q-block .q-ev .ev { font:11px var(--font-mono); color:var(--text-4); }
- .q-block .q-pending { font:12px var(--font-mono); color:var(--brand-3); }
- /* 附录表 */
- .tbl { width:100%; border-collapse:collapse; font-size:12px; }
- .tbl th { font-family:var(--font-mono); font-size:11px; color:var(--text-4); text-align:left; border-bottom:1px solid var(--border-subtle); padding:6px 8px; letter-spacing:.08em; }
- .tbl td { padding:5px 8px; border-bottom:1px solid var(--border-subtle); color:var(--text-2); }
- .tbl td.mono { font-family:var(--font-mono); font-size:11px; color:var(--text-4); }
- .pending-badge { display:inline-block; font:11px var(--font-mono); color:var(--brand-3); border:1px dashed rgba(255,0,0,.45); padding:2px 8px; margin-left:8px; }
- </style>
- </head>
- <body>
- <!-- ════ P1 · 封面 ════ -->
- <section class="screen" id="p1">
- <div class="s-wrap" style="text-align:center;">
- <div class="s-tag" style="letter-spacing:.3em;">AGENT LEARNING RETROSPECTIVE</div>
- <h1 class="s-title" style="font-size:56px; margin:18px 0 8px;">{{NAME}} · 学习复盘报告</h1>
- <p class="s-sub" style="margin:0 auto; max-width:70%;">{{ENTERPRISE}} · {{DATE_RANGE}}</p>
- <div style="margin-top:46px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap;">
- <span class="tag">{{SESSIONS}} 场会话</span>
- <span class="tag ok">{{TOOLKINDS}} 类工具协作</span>
- <span class="tag brand-2">{{ARTIFACTS}} 项产出物</span>
- <span class="tag">{{HOURS}}h 全程可溯源</span>
- </div>
- </div>
- </section>
- <!-- ════ P2 · 48h 数据全景 ════ -->
- <section class="screen" id="p2">
- <div class="s-wrap">
- <div class="s-tag">全景 · 真实采集数据</div>
- <h2 class="s-title">48 小时数据全景</h2>
- <div class="s-body">
- <div class="stat-band">
- <div class="stat">
- <div class="num hero">{{SESSIONS}}</div>
- <div class="label">Agent 会话(场)</div>
- <div class="src">来源:各工具本地会话记录</div>
- </div>
- <div class="stat">
- <div class="num">{{TOOLKINDS}}</div>
- <div class="label">工具来源(类)</div>
- <div class="src">{{TOOL_LIST}}</div>
- </div>
- <div class="stat">
- <div class="num">{{ARTIFACTS}}</div>
- <div class="label">产出物(项)</div>
- <div class="src">.md/.html/.pdf/.docx/.xlsx</div>
- </div>
- <div class="stat">
- <div class="num">{{MESSAGES}}</div>
- <div class="label">对话消息(条)</div>
- <div class="src">user + assistant 可读消息</div>
- </div>
- </div>
- <div>
- {{TOOL_DIST_ROWS}}
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag ok">数据优先 · 全部来自本机采集清单</span>
- <span class="tag">采集窗口 {{WINDOW}}</span>
- </div>
- </div>
- </section>
- <!-- ════ P3 · 交付物墙 ════ -->
- <section class="screen" id="p3">
- <div class="s-wrap">
- <div class="s-tag">产出 · 能看见的交付</div>
- <h2 class="s-title">交付物墙</h2>
- <div class="s-body">
- <div class="wall">
- {{ARTIFACT_WALL}}
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag ok">HTML 交付物以 iframe 实时嵌套展示</span>
- <span class="tag">在线项目已标记「可嵌入」</span>
- </div>
- </div>
- </section>
- <!-- ════ P4 · 精选工作时刻线 ════ -->
- <section class="screen" id="p4">
- <div class="s-wrap">
- <div class="s-tag">过程 · 时间即证据</div>
- <h2 class="s-title">精选工作时刻线</h2>
- <div class="s-body">
- <div class="timeline">
- {{TIMELINE}}
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag">按会话/文件真实 mtime 排序 · 摘取关键节点</span>
- </div>
- </div>
- </section>
- <!-- ════ P5 · 过去痛点(第一问) ════ -->
- <section class="screen" id="p5">
- <div class="s-wrap">
- <div class="s-tag" style="color:var(--brand-3);">第一问 · 过去</div>
- <h2 class="s-title">之前不够原生、不够性感的地方</h2>
- <div class="s-body">
- <div class="q-block q1">
- <div class="q-h">痛点与疑惑</div>
- <div class="q-a">{{ANSWER_PAST}}</div>
- {{PAST_PENDING}}
- <div class="q-ev">{{EVIDENCE_PAST}}</div>
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag">用户口述 × 采集证据 关联</span>
- </div>
- </div>
- </section>
- <!-- ════ P6 · 两天感受(第二问) ════ -->
- <section class="screen" id="p6">
- <div class="s-wrap">
- <div class="s-tag">第二问 · 现在</div>
- <h2 class="s-title">这两天的感受与收获</h2>
- <div class="s-body">
- <div class="q-block q2">
- <div class="q-h">具体感受 · 有感觉的项目</div>
- <div class="q-a">{{ANSWER_PRESENT}}</div>
- {{PRESENT_PENDING}}
- <div class="q-ev">{{EVIDENCE_PRESENT}}</div>
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag ok">成果已从采集自动带入 · 本页只讲感受</span>
- </div>
- </div>
- </section>
- <!-- ════ P7 · 未来方向(第三问) ════ -->
- <section class="screen" id="p7">
- <div class="s-wrap">
- <div class="s-tag" style="color:var(--brand-2);">第三问 · 未来</div>
- <h2 class="s-title">想回企业落地或探索的方向</h2>
- <div class="s-body">
- <div class="q-block q3">
- <div class="q-h">未来畅想</div>
- <div class="q-a">{{ANSWER_FUTURE}}</div>
- {{FUTURE_PENDING}}
- <div class="q-ev">{{EVIDENCE_FUTURE}}</div>
- </div>
- </div>
- <div class="s-foot-tags">
- <span class="tag brand-2">从个人工具箱 → 企业原生 AI 落地</span>
- </div>
- </div>
- </section>
- <!-- ════ P8 · 数据附录 ════ -->
- <section class="screen" id="p8">
- <div class="s-wrap">
- <div class="s-tag">附录 · 可溯源明细</div>
- <h2 class="s-title">数据附录</h2>
- <div class="s-body">
- <table class="tbl">
- <thead><tr><th style="width:110px;">时间</th><th style="width:90px;">来源</th><th>摘要</th><th style="width:180px;">路径 / URL</th></tr></thead>
- <tbody>
- {{APPENDIX_ROWS}}
- </tbody>
- </table>
- </div>
- <div class="s-foot-tags">
- <span class="tag">共 {{TOTAL}} 条采集 · 本页展示前 {{APPENDIX_N}} 条</span>
- <span class="tag">完整清单见 report-data.json</span>
- </div>
- </div>
- </section>
- <!-- ════ P9 · 收口金句 ════ -->
- <section class="screen" id="p9">
- <div class="s-wrap" style="text-align:center;">
- <div class="s-tag" style="letter-spacing:.3em;">TAKEAWAY</div>
- <div class="quote-line" style="margin-top:28px;">工具会过时,<br>把 AI 用成自己手脚的方法不会。</div>
- <p class="s-sub" style="margin:26px auto 0; max-width:64%;">{{NAME}} · {{DATE_RANGE}}<br>本报告由 skill-study-report 自动采集生成 · 全程可溯源</p>
- </div>
- </section>
- <script src="../lib/player/deck.js"></script>
- <script type="application/json" class="deck-config">
- {
- "case": "study-report",
- "page": { "id": "report", "title": "{{NAME}} · 学习复盘报告" },
- "chapters": [
- { "id": "p1", "file": "report.html", "title": "封面" },
- { "id": "p2", "file": "report.html", "title": "48h 数据全景" },
- { "id": "p3", "file": "report.html", "title": "交付物墙" },
- { "id": "p4", "file": "report.html", "title": "时刻线" },
- { "id": "p5", "file": "report.html", "title": "过去痛点" },
- { "id": "p6", "file": "report.html", "title": "两天感受" },
- { "id": "p7", "file": "report.html", "title": "未来方向" },
- { "id": "p8", "file": "report.html", "title": "数据附录" },
- { "id": "p9", "file": "report.html", "title": "收口" }
- ]
- }
- </script>
- <script>
- window.SCREEN_TIMELINES = window.SCREEN_TIMELINES || {};
- function baseCtx(el) {
- return {
- el,
- q: function(s){ return el.querySelector(s); },
- qAll: function(s){ return el.querySelectorAll(s); },
- };
- }
- /* P1 封面 */
- SCREEN_TIMELINES['p1'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, y:14, duration:.4, ease:'power2.out' })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:26, duration:.6, ease:'power2.out' }, '-=.15')
- .from(ctx.q('.s-sub'), { autoAlpha:0, y:14, duration:.4 }, '-=.3')
- .from(ctx.qAll('.tag'), { autoAlpha:0, y:10, stagger:.07, duration:.35, ease:'back.out(1.4)' }, '-=.1');
- return tl;
- };
- /* P2 数据全景:数字动画 + 分布条 */
- SCREEN_TIMELINES['p2'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.3 })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:22, duration:.5 }, '-=.1')
- .from(ctx.qAll('.stat'), { autoAlpha:0, scale:.92, stagger:.09, duration:.4, ease:'back.out(1.2)' }, '-=.2');
- ctx.qAll('.stat .num').forEach(function(n, i) {
- var target = parseInt(n.textContent.replace(/[^\d]/g, ''), 10) || 0;
- var obj = { v: 0 };
- tl.to(obj, { v: target, duration:1.1, ease:'power2.out', onUpdate: function(){ n.textContent = Math.round(obj.v).toLocaleString(); } }, '-=.7');
- void i;
- });
- tl.from(ctx.qAll('.dist-row'), { autoAlpha:0, x:-18, stagger:.06, duration:.35 }, '-=.4');
- tl.from(ctx.qAll('.s-foot-tags .tag'), { autoAlpha:0, y:8, stagger:.08, duration:.3 }, '-=.2')
- .to({}, { duration:1.4 });
- return tl;
- };
- /* P3 交付物墙 */
- SCREEN_TIMELINES['p3'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.3 })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:22, duration:.5 }, '-=.1')
- .from(ctx.qAll('.w-card'), { autoAlpha:0, y:24, stagger:.08, duration:.45, ease:'power2.out' }, '-=.2')
- .to({}, { duration:1.2 });
- return tl;
- };
- /* P4 时刻线 */
- SCREEN_TIMELINES['p4'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.3 })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:22, duration:.5 }, '-=.1')
- .from(ctx.qAll('.tl-item'), { autoAlpha:0, x:-22, stagger:.12, duration:.4, ease:'power2.out' }, '-=.15')
- .to({}, { duration:1.2 });
- return tl;
- };
- /* 三问页共用 */
- function qTimeline(key, fade) {
- return function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.3 })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:22, duration:.5 }, '-=.1')
- .from(ctx.q('.q-block'), { autoAlpha:0, x:fade ? 24 : -24, duration:.55, ease:'power2.out' }, '-=.2')
- .from(ctx.qAll('.q-ev .ev'), { autoAlpha:0, stagger:.08, duration:.3 }, '-=.25')
- .to({}, { duration:1.4 });
- return tl;
- };
- }
- SCREEN_TIMELINES['p5'] = qTimeline('p5', false);
- SCREEN_TIMELINES['p6'] = qTimeline('p6', true);
- SCREEN_TIMELINES['p7'] = qTimeline('p7', false);
- /* P8 附录 */
- SCREEN_TIMELINES['p8'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.3 })
- .from(ctx.q('.s-title'), { autoAlpha:0, y:22, duration:.5 }, '-=.1')
- .from(ctx.qAll('.tbl tbody tr'), { autoAlpha:0, stagger:.03, duration:.25 }, '-=.2')
- .from(ctx.qAll('.s-foot-tags .tag'), { autoAlpha:0, y:8, stagger:.08, duration:.3 }, '-=.2')
- .to({}, { duration:1.2 });
- return tl;
- };
- /* P9 收口 */
- SCREEN_TIMELINES['p9'] = function(ctx) {
- var tl = gsap.timeline();
- tl.from(ctx.q('.s-tag'), { autoAlpha:0, duration:.4 })
- .from(ctx.q('.quote-line'), { autoAlpha:0, scale:.96, duration:.8, ease:'power2.out' }, '-=.1')
- .from(ctx.q('.s-sub'), { autoAlpha:0, y:14, duration:.5 }, '-=.3')
- .to({}, { duration:1.6 });
- return tl;
- };
- </script>
- <script>
- (function(){
- var played = {};
- function show(hash){
- if(!hash) hash = 'p1';
- document.querySelectorAll('.screen').forEach(function(s){
- s.style.display = (s.id === hash) ? 'flex' : 'none';
- });
- if(!played[hash] && typeof gsap !== 'undefined'){
- played[hash] = true;
- var fn = window.SCREEN_TIMELINES[hash];
- var el = document.getElementById(hash);
- if(fn && el) fn(baseCtx(el));
- }
- }
- /* 键盘翻页(本报告为单文件九屏,轻量自管;deck.js 兼容单 .screen 模式不冲突) */
- var order = ['p1','p2','p3','p4','p5','p6','p7','p8','p9'];
- function step(dir){
- var cur = order.indexOf((location.hash || '#p1').slice(1));
- var next = Math.min(order.length - 1, Math.max(0, cur + dir));
- location.hash = '#' + order[next];
- }
- window.addEventListener('hashchange', function(){ show(location.hash.slice(1)); });
- window.addEventListener('keydown', function(e){
- if(['ArrowDown','ArrowRight','PageDown',' '].includes(e.key)) { e.preventDefault(); step(1); }
- if(['ArrowUp','ArrowLeft','PageUp'].includes(e.key)) { e.preventDefault(); step(-1); }
- });
- if(document.readyState === 'loading'){
- document.addEventListener('DOMContentLoaded', function(){ show(location.hash.slice(1) || 'p1'); });
- } else { show(location.hash.slice(1) || 'p1'); }
- })();
- </script>
- </body>
- </html>
|