From b802c3a08a4515986cd2ee4430a8c64f25972a04 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 12 十一月 2024 22:43:22 +0800
Subject: [PATCH] 优化错题详情

---
 src/components/ExamInfo/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/components/ExamInfo/index.vue b/src/components/ExamInfo/index.vue
index c092215..823d52c 100644
--- a/src/components/ExamInfo/index.vue
+++ b/src/components/ExamInfo/index.vue
@@ -1,11 +1,10 @@
 <template>
   <div class="info-container w-full">
-    <div class="exam-title break-all mb-4 text-base text-gray-700">
-      绗瑊{questionIndex + 1}}棰�: {{ activeQuestion.title }}
+    <div class="exam-title break-all mb-4 text-base text-gray-700" v-html="activeQuestion.title">
     </div>
 
     <div class="audio-container" v-if="activeQuestion.audioFile">
-      <ExamAudio :audioSrc="activeQuestion.audioFile"></ExamAudio>
+      <ExamAudio :audioSrc="'/api/files/' +activeQuestion.audioFile"></ExamAudio>
     </div>
 
     <div class="img-container flex" v-if="activeQuestion.img">
@@ -36,4 +35,10 @@
   max-height: 250px;
   margin: 20px 10px;
 }
-</style>
\ No newline at end of file
+.exam-title {
+  :deep(p) {
+    display: flex !important;
+  }
+}
+
+</style>

--
Gitblit v1.8.0