81 lines
3.1 KiB
HTML
81 lines
3.1 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Speaking Lab 学习页</title>
|
|
<link rel="stylesheet" href="./styles.css?v=20260605-auth">
|
|
</head>
|
|
<body>
|
|
<header class="topbar">
|
|
<div class="brand">
|
|
<h1>Speaking Lab</h1>
|
|
</div>
|
|
|
|
<div class="top-actions">
|
|
<a class="secondary-action" href="./index.html">首页</a>
|
|
<a id="adminEntryBtn" class="secondary-action" href="./admin.html" hidden>后台</a>
|
|
<div id="userMenu" class="user-menu">
|
|
<span id="userLabel"></span>
|
|
<button id="logoutBtn" type="button">退出</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="study-shell">
|
|
<section class="left-stage">
|
|
<section class="video-panel">
|
|
<div class="video-frame">
|
|
<video id="video" controls preload="metadata" crossorigin="anonymous"></video>
|
|
<div id="emptyVideo" class="empty-video">
|
|
<strong>选择一个视频</strong>
|
|
<span>从首页选择素材后开始练习。</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tool-row">
|
|
<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="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>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="recording-line">
|
|
<span id="recordingStatus">麦克风只在当前浏览器会话中使用。</span>
|
|
<audio id="recordingAudio" controls hidden></audio>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
<aside class="transcript-panel">
|
|
<div class="transcript-toolbar">
|
|
<div class="tabs">
|
|
<button class="tab active" type="button" data-mode="bilingual">双语</button>
|
|
<button class="tab" type="button" data-mode="english">英文</button>
|
|
<button class="tab" type="button" data-mode="chinese">中文</button>
|
|
</div>
|
|
</div>
|
|
<div id="transcriptList" class="transcript-list">
|
|
<div class="empty-state">上传字幕后,每一句都会变成可点击的片段。</div>
|
|
</div>
|
|
</aside>
|
|
</main>
|
|
|
|
<script src="./auth.js?v=20260605-auth"></script>
|
|
<script src="./app.js?v=20260605-auth"></script>
|
|
</body>
|
|
</html>
|