feat: 增加中译西辅助、在线翻译、B1词库与三语语音对照
This commit is contained in:
+20
@@ -27,6 +27,8 @@
|
||||
<li><a href="knowledge/fonetica.html#acento">重音规则</a></li>
|
||||
<li><a href="knowledge/otros.html#hora">时间表达</a></li>
|
||||
<li><a href="knowledge/verbo.html#frases-verbales">常用动词短语</a></li>
|
||||
<li><a href="knowledge/b1-vocabulario.html">B1 核心词汇</a></li>
|
||||
<li><a href="knowledge/comparacion-fonetica.html">三语语音对照</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
@@ -35,6 +37,7 @@
|
||||
<div class="panel-header">
|
||||
<input type="date" id="entry-date">
|
||||
<button id="btn-speak-selected" title="朗读选中的文本">🔊 朗读</button>
|
||||
<button id="btn-helper" title="输入中文,翻译后插入编辑区">🈶 中→西</button>
|
||||
<button id="btn-save">💾 保存</button>
|
||||
</div>
|
||||
<textarea id="entry-text" placeholder="用西班牙语写下今天的日记..." spellcheck="false"></textarea>
|
||||
@@ -92,7 +95,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Chinese to Spanish helper modal -->
|
||||
<div id="helper-modal-overlay">
|
||||
<div id="helper-modal-box">
|
||||
<h3>中文 → 西班牙语</h3>
|
||||
<textarea id="helper-input" placeholder="输入中文,例如:今天我去公园和我的朋友"></textarea>
|
||||
<div id="helper-preview">
|
||||
<span class="helper-preview-label">翻译结果:</span>
|
||||
<span id="helper-result"></span>
|
||||
</div>
|
||||
<div class="modal-actions">
|
||||
<button class="btn-cancel" id="helper-cancel">取消</button>
|
||||
<button class="btn-confirm" id="helper-confirm">插入</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="db.js"></script>
|
||||
<script src="b1-vocab.js"></script>
|
||||
<script src="translate.js"></script>
|
||||
<script src="speech.js"></script>
|
||||
<script src="app.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user