Files
digital-psychology/pages/mindmap.html
T
jackyu66gitandCursor 2fb1dfee14 chore: seal Design Vision v1 and monorepo scaffold
Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 16:00:44 +08:00

63 lines
2.2 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>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LVVXH3TL04"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-LVVXH3TL04');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,maximum-scale=1">
<title>愈心脑图 · 愈心谷</title>
<link rel="stylesheet" href="../css/app.css">
<link rel="stylesheet" href="../css/mindmap.css">
</head>
<body class="app-page" data-nav="none" data-back="pages/mine.html" data-title="愈心脑图 · 愈心谷">
<!-- Mobile hamburger -->
<button class="hamburger" id="hamburger" onclick="toggleSidebar()"></button>
<div class="overlay" id="overlay" onclick="closeSidebar()"></div>
<!-- Sidebar -->
<div class="sidebar">
<div class="sh" style="display:flex;flex-direction:column;align-items:center;gap:6px">
<img src="../logo.png" alt="愈心谷" style="height:30px">
<span>📁 我的脑图</span>
</div>
<div class="slist" id="slist"></div>
<div class="sb">
<button class="primary" onclick="newMap()"> 新建</button>
<button onclick="goHome()">🏠</button>
</div>
</div>
<!-- Main -->
<div class="main">
<div class="toolbar">
<button onclick="renameMap()">✎ 重命名</button>
<button onclick="addChild()"></button>
<button onclick="addSibling()"> 同级</button>
<button onclick="delNode()">✕ 删除</button>
<span class="sep"></span>
<button onclick="zoomIn()">🔍+</button>
<button onclick="zoomOut()">🔍-</button>
<span class="sep"></span>
<span class="hint" id="saveHint">💾 已自动保存</span>
</div>
<canvas id="c"></canvas>
</div>
<!-- Plus buttons (HTML, positioned over canvas) -->
<div id="plusChild" onclick="addChild()" title="添加子节点">+</div>
<div id="plusSibling" onclick="addSibling()" title="添加同级节点">+</div>
<div id="editor"><input id="ei" onblur="commitEdit()" onkeydown="if(event.key==='Enter')commitEdit();if(event.key==='Escape')cancelEdit()"></div>
<script src="../js/shell.js"></script>
<script src="../js/mindmap.js"></script>
</body>
</html>