Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (92 loc) · 3.81 KB
/
Copy pathindex.html
File metadata and controls
95 lines (92 loc) · 3.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mindmap PPT Demo</title>
<link rel="stylesheet" href="./src/styles.css" />
</head>
<body>
<main class="app-shell">
<section class="presentation-frame">
<div id="mindmap" role="img" aria-label="Animated mindmap presentation">
<div class="map-layer" id="mapLayer">
<svg class="link-layer" id="linkLayer" aria-hidden="true"></svg>
<div class="node-layer" id="nodeLayer"></div>
</div>
</div>
<section class="floating-ui" aria-label="Presentation controls">
<div class="title-panel glass-panel">
<p class="eyebrow" id="deckSubtitle">Markdown Mindmap</p>
<h1 id="deckTitle">root</h1>
</div>
<div class="controls glass-panel" aria-label="节点演示操作区">
<button
class="controls-toggle"
id="controlsToggle"
type="button"
aria-expanded="true"
aria-controls="controlsBody"
aria-label="收起控制面板"
title="收起控制面板"
>
<span aria-hidden="true">−</span>
</button>
<div class="control-main" id="controlsBody">
<label class="node-scrubber" for="nodeSlider">
<input id="nodeSlider" type="range" min="0" max="0" value="0" aria-label="快速定位节点" />
<span class="counter" id="counter">1 / 1</span>
</label>
<div class="node-readout" aria-live="polite">
<div class="readout-card">
<div class="readout-icon" aria-hidden="true">
<span class="letter-grid">
<span>N</span>
<span>E</span>
<span>X</span>
<span>T</span>
</span>
</div>
<div class="node-content has-subtitle" id="nextNodePreview">
<span class="node-subtitle" id="nextNodeSubtitle">即将进入</span>
<span class="node-title" id="nextNodeTitle">root</span>
</div>
</div>
<div class="zoom-control" aria-label="缩放设置">
<span class="zoom-icon" aria-hidden="true">
<span class="letter-grid">
<span>Z</span>
<span>O</span>
<span>O</span>
<span>M</span>
</span>
</span>
<div class="zoom-fields">
<label class="zoom-row" for="zoomSlider">
<input id="zoomSlider" type="range" min="70" max="140" value="100" aria-label="调整整体大小" />
<strong id="zoomValue">100%</strong>
</label>
<label class="zoom-row" for="activeScaleSlider">
<input
id="activeScaleSlider"
type="range"
min="100"
max="200"
step="5"
value="150"
aria-label="调整选中节点放大倍率"
/>
<strong id="activeScaleValue">1.50x</strong>
</label>
</div>
</div>
</div>
<p class="control-hint">翻页:↑ ↓、Page Up / Page Down、滚轮或移动端上划/下划</p>
</div>
</div>
</section>
</section>
</main>
<script type="module" src="./src/main.js"></script>
</body>
</html>