This commit is contained in:
2025-09-05 22:07:01 +08:00
parent 4028e54629
commit c998dfc91c
2 changed files with 3 additions and 82 deletions

View File

@@ -355,13 +355,11 @@
</head>
<body>
<div class="container">
<h1>🎙️ 在线录音机</h1>
<h1>🎙️ 英语朗读评测</h1>
<div class="format-selector">
<label for="audioFormat">选择音频格式:</label>
<select id="audioFormat">
<option value="webm">WebM (默认)</option>
<option value="mp4">MP4</option>
<option value="wav">WAV</option>
</select>
</div>

View File

@@ -1,77 +0,0 @@
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
text-align: center;
color: #333;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555;
}
select, input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
.btn {
background-color: #007bff;
color: white;
padding: 12px 24px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-right: 10px;
}
.btn:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.btn-record {
background-color: #dc3545;
}
.btn-stop {
background-color: #28a745;
}
.status {
margin-top: 20px;
padding: 10px;
border-radius: 5px;
background-color: #e9ecef;
}
.result {
margin-top: 20px;
padding: 15px;
border: 1px solid #dee2e6;
border-radius: 5px;
background-color: #f8f9fa;
}
.error {
color: #dc3545;
background-color: #f8d7da;
border-color: #f5c6cb;
}
.success {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
}