diff --git a/src/views/SpeakingEvaluation.vue b/src/views/SpeakingEvaluation.vue index 04e66c5..daf57da 100644 --- a/src/views/SpeakingEvaluation.vue +++ b/src/views/SpeakingEvaluation.vue @@ -1,5 +1,5 @@ @@ -638,11 +716,7 @@ onUnmounted(() => { error: asrStatus === 'error', }" :disabled="!currentWord || isEvaluating" - @mousedown="startRecording" - @mouseup="stopRecording" - @mouseleave="isRecording && stopRecording()" - @touchstart.prevent="startRecording" - @touchend.prevent="stopRecording" + @click="toggleRecording" >
@@ -656,7 +730,7 @@ onUnmounted(() => { d="M12 1a4 4 0 0 1 4 4v6a4 4 0 0 1-8 0V5a4 4 0 0 1 4-4zm0 2a2 2 0 0 0-2 2v6a2 2 0 0 0 4 0V5a2 2 0 0 0-2-2zm-1 14.93V20H9v2h6v-2h-2v-2.07A7.001 7.001 0 0 0 19 11h-2a5 5 0 0 1-10 0H5a7.001 7.001 0 0 0 6 6.93z" /> - 录音中... + 录音中 {{ recordingSeconds }}s 点击停止
+ +
+ 识别结果: + {{ recognizedText || interimText }} +
+
@@ -679,6 +762,26 @@ onUnmounted(() => {
+ +
+ 近期记录: +
+
+ {{ h.overallScore }} + {{ h.time }} +
+
+
+
@@ -688,17 +791,21 @@ onUnmounted(() => { cy="50" r="45" class="score-progress" + :class="scoreLevel.cls" :style="{ strokeDashoffset: 283 - (283 * evaluationResult.overallScore) / 100, }" > -
+
{{ evaluationResult.overallScore }}
综合评分
+
+ {{ scoreLevel.label }} +
@@ -726,6 +833,44 @@ onUnmounted(() => {
+ +
+

对比分析

+
+ 标准: +
+ {{ d.word }} +
+
+
+ 实际: +
+ {{ d.actual || '—' }} +
+
+
+