feat: refine subtitle flow and study UI
This commit is contained in:
1 parent
6a6fd347bd
commit
0608b84664
24 files changed
+795
-730
No files matched your search
+16
-26
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Speaking Lab</title>
|
||||
<link rel="stylesheet" href="./styles.css">
|
||||
<link rel="stylesheet" href="./styles.css?v=20260604-study-toolbar">
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
@@ -37,32 +37,22 @@
|
||||
</div>
|
||||
|
||||
<div class="tool-row">
|
||||
<button id="previousBtn" type="button" title="上一句">上一句</button>
|
||||
<button id="replayBtn" type="button" title="重播">重播</button>
|
||||
<button id="nextBtn" type="button" title="下一句">下一句</button>
|
||||
<button id="recordBtn" type="button" title="录音">录音</button>
|
||||
<button id="stopRecordBtn" type="button" disabled title="停止">停止</button>
|
||||
<button id="playRecordingBtn" type="button" disabled title="回放我的录音">回放</button>
|
||||
<label class="toggle">
|
||||
<input id="loopToggle" type="checkbox">
|
||||
<span>循环</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="subtitle-card">
|
||||
<p id="primarySubtitle"></p>
|
||||
<p id="secondarySubtitle"></p>
|
||||
</div>
|
||||
|
||||
<div class="lesson-meta">
|
||||
<div>
|
||||
<h2 id="videoTitle">还没有选择视频</h2>
|
||||
<p id="subtitleMeta">请选择视频。</p>
|
||||
<div class="recording-controls">
|
||||
<button id="recordBtn" type="button" title="录音">录音</button>
|
||||
<button id="stopRecordBtn" type="button" disabled title="停止">停止</button>
|
||||
<button id="playRecordingBtn" type="button" disabled title="回放我的录音">回放</button>
|
||||
</div>
|
||||
<div class="video-actions">
|
||||
<button id="continueBtn" type="button" hidden>继续学习</button>
|
||||
<div class="sentence-controls">
|
||||
<button id="previousBtn" type="button" title="上一句">上一句</button>
|
||||
<button id="replayBtn" type="button" title="重播">重播</button>
|
||||
<button id="nextBtn" type="button" title="下一句">下一句</button>
|
||||
</div>
|
||||
<div class="study-side-actions">
|
||||
<label class="toggle">
|
||||
<input id="loopToggle" type="checkbox">
|
||||
<span>循环</span>
|
||||
</label>
|
||||
<button id="favoriteBtn" type="button">收藏</button>
|
||||
<button id="watchLaterBtn" type="button">稍后再看</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -87,6 +77,6 @@
|
||||
</aside>
|
||||
</main>
|
||||
|
||||
<script src="./app.js"></script>
|
||||
<script src="./app.js?v=20260604-study-toolbar"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user