R63: 帮助页移除「三种创作模式」板块(help-guide renderHelp + app.js fallback 同步删, CSS modes 死规则清理; app?f help-guide?d style?h)

This commit is contained in:
maogeigei committed 2026-09-04 15:45:22 +08:00
1 parent 736b1cc7e1
commit b805b77315
4 files changed
+3 -37

No files matched your search

@@ -393,15 +393,6 @@ function renderHelp() {
</div>
</div>`).join('')}
</div>
<div class="modes">
<h3>三种创作模式</h3>
<table class="mode-table">
<tr><td class="mode-name">${svgIcon('zap')} 自动(默认)</td><td>静默执行全流程,只交付最终脚本</td></tr>
<tr><td class="mode-name">${svgIcon('users')} 共创</td><td>每个关键节点先确认再继续</td></tr>
<tr><td class="mode-name">${svgIcon('wrench')} 开发</td><td>每个步骤都落盘保存中间产物</td></tr>
</table>
<p class="mode-hint">开始时说一声即可切换,如「用共创模式写一个脚本」。</p>
</div>
</div>`;
}
@@ -147,12 +147,6 @@
},
];
const MODES = [
{ icon: 'zap', name: '自动(默认)', desc: '静默执行全流程,只交付最终脚本' },
{ icon: 'users', name: '共创', desc: '每个关键节点先确认再继续' },
{ icon: 'wrench', name: '开发', desc: '每个步骤都落盘保存中间产物' },
];
/* ============ 帮助页渲染 ============ */
function renderHelp() {
return `
@@ -188,13 +182,6 @@
</details>
</div>`).join('')}
</div>
<div class="modes">
<h3>三种创作模式(对 AI 说一声即切换)</h3>
<table class="mode-table">
${MODES.map((m) => `<tr><td class="mode-name">${svgIcon(m.icon)} ${m.name}</td><td>${m.desc}</td></tr>`).join('')}
</table>
<p class="mode-hint">例:「用共创模式写一个脚本」「开发模式跑一遍」。</p>
</div>
</div>`;
}
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>短视频工作台</title>
<link rel="stylesheet" href="style.css?v=20260904g">
<link rel="stylesheet" href="style.css?v=20260904h">
<script src="vendor/echarts.min.js"></script>
</head>
<body>
@@ -41,8 +41,8 @@
</div>
</div>
<script src="app.js?v=20260904e"></script>
<script src="help-guide.js?v=20260904c"></script>
<script src="app.js?v=20260904f"></script>
<script src="help-guide.js?v=20260904d"></script>
<script src="data-pages.js?v=20260904l"></script>
</body>
</html>
@@ -83,18 +83,6 @@ main { height: calc(100vh - 54px); }
.qa-row.copyable:hover { background: var(--primary-soft); }
.qa-row.copyable:hover .q::after { content: ' 📋'; font-size: 14px; opacity: .7; }
.modes {
max-width: 900px; margin: 28px auto 0;
background: var(--panel); border: 1px solid var(--border);
border-radius: 12px; padding: 16px 18px;
}
.modes h3 { font-size: 17px; margin-bottom: 10px; }
.mode-table { border-collapse: collapse; width: 100%; }
.mode-table td { padding: 6px 10px; border-bottom: 1px solid var(--border); font-size: 15px; }
.mode-table tr:last-child td { border-bottom: none; }
.mode-name { font-weight: 600; width: 140px; display: flex; align-items: center; gap: 6px; }
.mode-hint { margin-top: 8px; font-size: 14px; color: var(--dim); }
/* ---- 产出浏览 ---- */
.files-layout { display: flex; height: 100%; gap: 0; }
.sidebar {