diff --git a/src/components/examination/es-analysis.vue b/src/components/examination/es-analysis.vue
new file mode 100644
index 00000000..6174f9f2
--- /dev/null
+++ b/src/components/examination/es-analysis.vue
@@ -0,0 +1,131 @@
+
+
+
+ 维度评分:
+ {{ dimension_all_score }}
+
+
+ {{ item.gradeDimens }}:
+ {{ item.anlyGrade }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/examination/question.vue b/src/components/examination/question.vue
index d31e00aa..e2562594 100644
--- a/src/components/examination/question.vue
+++ b/src/components/examination/question.vue
@@ -1,57 +1,63 @@
-
-
-
+
+
+
+
+
+ {{ voiceTime }}
+
+
+ {{ showContent }}
+
+
+
+
+
+
+
+
+
+
+ 文
+
+
+ 重答
+
+
+ 完成
+
+
- {{ voiceTime }}
-
-
- {{ showContent }}
-
-
+
+
+
+
+ {{ showContent }}
+
+
+
+
+ 重答
+ 完成
+
+
+
+
-
-
-
-
-
- 文
-
- 重答
- 完成
-
-
-
-
-
-
- {{ showContent }}
-
-
-
-
- 重答
- 完成
-
-
-
-
-
-
@@ -85,12 +91,23 @@
default: '',
type: String
},
- isPreview: { // 是否是预览语音
+ isPreview: {
+ // 是否是预览语音
default: false,
type: Boolean
- }
+ },
+ button_again_show: {
+ // 是否显示重答按钮
+ default: true,
+ type: Boolean
+ },
+ button_complete_show: {
+ // 是否显示重答按钮
+ default: true,
+ type: Boolean
+ },
});
-
+ console.log('props.isPreview', props.isPreview);
const audioStore = useAudioStore();
const { dataInfo } = toRefs(props);
const status = computed(() => props.status);
@@ -139,7 +156,7 @@
console.log('点击播放');
audioStore.playAudio();
};
- let unsubscribe = () =>{};
+ let unsubscribe = () => {};
onMounted(() => {
// 2. 监听 Store 中 isPlaying 的变化,实时同步
unsubscribe = audioStore.$subscribe((mutation, state) => {
@@ -174,12 +191,16 @@
audioStore.stopAudio();
// 2. 移除当前组件注册的回调(避免内存泄漏)
audioStore.removeCallbacks();
-
+
unsubscribe();
});
\ No newline at end of file
+
diff --git a/src/pages/practice/index.vue b/src/pages/practice/index.vue
index 718df892..a818c10a 100644
--- a/src/pages/practice/index.vue
+++ b/src/pages/practice/index.vue
@@ -38,6 +38,7 @@
@change="swiperChange"
:current="questionNumber"
easing-function="linear"
+ @transition="transition"
>
@@ -62,9 +63,7 @@
ref="touchBtnRef"
class="talk-btns"
@submit="touchBtnSubmit"
- loadingText="问题回答中,请在问题回答结束后重试!"
disabledText="只能进行一条回答"
- :isLoading="!answerIsOver"
:isDisabled="touchIsDisabled"
/>
@@ -72,24 +71,26 @@
-
+