Prechádzať zdrojové kódy

常规训练口语表达

周玉佂 4 dní pred
rodič
commit
a0a0bc280f

BIN
public/static/image/cognitiveAbility/SpeechTraining/OralExpression/title-bg.png


BIN
public/static/voice/game/introduce/33.mp3


+ 2 - 2
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskOralExpression/OralExpressionName/index.vue

@@ -61,7 +61,7 @@
     <!--      />-->
     <!--    </div>-->
 
-    <div v-if="!isMainWin && showTopics" class="w-[300px] h-[140px]">
+    <div v-if="!isMainWin && showSubmitBtn" class="w-[300px] h-[140px]">
       <el-image
         src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
         fit="contain"
@@ -197,7 +197,6 @@ const handleItemClick = (item: string, index: number) => {
     VoiceImpRef.value.videoPlay()
     TopicsVal.value[currentIndex.value].userAnswer = item
     useClickIndex.value = index
-    showSubmitBtn.value = true
     localStorage.setItem(
       'two-win-auditory-word-img-matching-submit-answer',
       TopicsVal.value[currentIndex.value].userAnswer
@@ -268,6 +267,7 @@ onMounted(() => {
         useClickIndex.value = -1
         showScoreArea.value = false
         scoreIndex.value = -1
+        showSubmitBtn.value = true
         // VoiceImpRef.value.videoPlay(
         //   'Speech-Auditory',
         //   `static/voice/cognitiveAbility/SpeechTraining/Auditory/WordImgMatching/${TopicsVal.value[currentIndex.value].correct}.mp3`

+ 3 - 3
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskOralExpression/OralExpressionParaphraseWords/index.vue

@@ -64,7 +64,7 @@
     <!--      />-->
     <!--    </div>-->
 
-    <div v-if="!isMainWin && showTopics" class="w-[300px] h-[140px]">
+    <div v-if="!isMainWin && showSubmitBtn" class="w-[300px] h-[140px]">
       <el-image
         src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
         fit="contain"
@@ -200,7 +200,6 @@ const handleItemClick = (item: string, index: number) => {
     VoiceImpRef.value.videoPlay()
     TopicsVal.value[currentIndex.value].userAnswer = TopicsVal.value[currentIndex.value].correct
     useClickIndex.value = index
-    showSubmitBtn.value = true
     localStorage.setItem(
       'two-win-auditory-word-img-matching-submit-answer',
       TopicsVal.value[currentIndex.value].userAnswer
@@ -216,9 +215,9 @@ const handleSubmit = () => {
   // VoiceImpRef.value.videoPlay(
   //   TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
   // )
-  handleItemClick()
   showSubmitBtn.value = false
   localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
+  handleItemClick()
 }
 
 async function exec() {
@@ -270,6 +269,7 @@ onMounted(() => {
         useClickIndex.value = -1
         showScoreArea.value = false
         scoreIndex.value = -1
+        showSubmitBtn.value = true
         VoiceImpRef.value.videoPlay(
           'Speech-Auditory',
           `static/voice/cognitiveAbility/SpeechTraining/OralExpression/OralExpressionParaphraseWords/${TopicsVal.value[currentIndex.value].correct}.mp3`

+ 4 - 3
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskOralExpression/OralExpressionRetell/index.vue

@@ -64,7 +64,7 @@
     <!--      />-->
     <!--    </div>-->
 
-    <div v-if="!isMainWin && showTopics" class="w-[300px] h-[140px]">
+    <div v-if="!isMainWin && showSubmitBtn" class="w-[300px] h-[140px]">
       <el-image
         src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
         fit="contain"
@@ -200,7 +200,7 @@ const handleItemClick = (item: string, index: number) => {
     VoiceImpRef.value.videoPlay()
     TopicsVal.value[currentIndex.value].userAnswer = item
     useClickIndex.value = index
-    showSubmitBtn.value = true
+    // showSubmitBtn.value = true
     localStorage.setItem(
       'two-win-auditory-word-img-matching-submit-answer',
       TopicsVal.value[currentIndex.value].userAnswer
@@ -216,9 +216,9 @@ const handleSubmit = () => {
   // VoiceImpRef.value.videoPlay(
   //   TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
   // )
-  handleItemClick()
   showSubmitBtn.value = false
   localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
+  handleItemClick()
 }
 
 async function exec() {
@@ -270,6 +270,7 @@ onMounted(() => {
         useClickIndex.value = -1
         showScoreArea.value = false
         scoreIndex.value = -1
+        showSubmitBtn.value = true
         VoiceImpRef.value.videoPlay(
           'Speech-Auditory',
           `static/voice/cognitiveAbility/SpeechTraining/OralExpression/OralExpressionRetell/${TopicsVal.value[currentIndex.value].correct}.mp3`

+ 4 - 3
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskOralExpression/OralExpressionRetellingSeries/index.vue

@@ -64,7 +64,7 @@
     <!--      />-->
     <!--    </div>-->
 
-    <div v-if="!isMainWin && showTopics" class="w-[300px] h-[140px]">
+    <div v-if="!isMainWin && showSubmitBtn" class="w-[300px] h-[140px]">
       <el-image
         src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
         fit="contain"
@@ -200,7 +200,7 @@ const handleItemClick = (item: string, index: number) => {
     VoiceImpRef.value.videoPlay()
     TopicsVal.value[currentIndex.value].userAnswer = item
     useClickIndex.value = index
-    showSubmitBtn.value = true
+    // showSubmitBtn.value = true
     localStorage.setItem(
       'two-win-auditory-word-img-matching-submit-answer',
       TopicsVal.value[currentIndex.value].userAnswer
@@ -216,9 +216,9 @@ const handleSubmit = () => {
   // VoiceImpRef.value.videoPlay(
   //   TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
   // )
-  handleItemClick()
   showSubmitBtn.value = false
   localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
+  handleItemClick()
 }
 
 async function exec() {
@@ -270,6 +270,7 @@ onMounted(() => {
         useClickIndex.value = -1
         showScoreArea.value = false
         scoreIndex.value = -1
+        showSubmitBtn.value = true
         VoiceImpRef.value.videoPlay(
           'Speech-Auditory',
           `static/voice/cognitiveAbility/SpeechTraining/OralExpression/OralExpressionRetellingSeries/${TopicsVal.value[currentIndex.value].correct}.mp3`

+ 1 - 1
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskOralExpression/index.vue

@@ -66,7 +66,7 @@
           </div>
         </div>
         <el-image
-          src="/static/image/cognitiveAbility/SpeechTraining/Auditory/bg-title.png"
+          src="/static/image/cognitiveAbility/SpeechTraining/OralExpression/title-bg.png"
           fit="contain"
           class="w-[1120px] h-[160px]"
         />