-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoken.html
More file actions
49 lines (40 loc) · 1.58 KB
/
token.html
File metadata and controls
49 lines (40 loc) · 1.58 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8"/>
<title id="page-title"></title>
<script defer src="/assets/js/back-to-home.js"></script>
<link rel="stylesheet" href="assets/css/token.css">
</head>
<body>
<h1 id="main-title"></h1>
<!-- 单一模式,无标签页 -->
<div id="multi-mode">
<p class="small" id="multi-desc"></p>
<!-- 引导用户到 kana.html 的链接 -->
<div class="goto-kana" role="note" aria-label="假名工具">
<span>日语歌词预处理</span>
<a href="kana.html" target="_blank" rel="noopener">假名工具</a>
</div>
<div class="multi-container">
<div class="multi-box">
<h3 id="label-original"></h3>
<label for="multi-input1" class="visually-hidden">原词输入</label>
<textarea id="multi-input1"></textarea>
</div>
<!-- 以前的 variant-boxes 已移除;脚本会把每个新变体作为 .multi-box 直接插入到这里,与原词同级 -->
</div>
<!-- 添加/说明按钮放在容器外,便于控制布局 -->
<div style="display:flex; gap:8px; align-items:center; margin-top:12px;">
<button id="add-variant" type="button">添加新词版本</button>
<span class="small">可添加多个新词版本并逐列对比</span>
</div>
<h3 id="multi-preview-title" class="multi-preview-title">
填词对齐音节预览
<span class="mismatch-count">0</span>
</h3>
<div id="multi-preview" class="multi-preview"></div>
</div>
<script type="module" src="assets/js/token.js"></script>
</body>
</html>