周玉佂 1 tydzień temu
rodzic
commit
a755522b68

+ 1 - 1
.env.development

@@ -12,7 +12,7 @@ VITE_APP_BASE_API = '/dev-api'
 # VITE_APP_API_URL = 'http://192.168.1.8:8001'
 
 # 公司本地
-VITE_APP_API_URL = 'http://192.168.1.4:8107'
+VITE_APP_API_URL = 'http://192.168.1.3:8107'
 
 # 家里本地
 # VITE_APP_API_URL = 'http://192.168.1.11:8107'

BIN
public/static/image/game/avatar/icon-33.png


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


+ 17 - 9
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/diagramMap/index.vue

@@ -11,7 +11,12 @@
     <div class="w-80% h-60% my-30px flex-center flex-col">
       <template v-if="showTopics">
         <div v-if="isMainWin" class="flex-center flex-col text-100px text-[#0F308C]" @click="handlePlay">
-          {{ TopicsVal[currentIndex].correct }}
+          <!--          {{ TopicsVal[currentIndex].correct }}-->
+          <el-image
+            :src="`/static/image/cognitiveAbility/SpeechTraining/Visual/${TopicsVal[currentIndex].correct}.png`"
+            fit="contain"
+            class="w-[160px] h-[160px] cursor-pointer mt-30px"
+          />
           <!--          <div class="text-50px">提示</div>-->
         </div>
         <!--        <el-image-->
@@ -23,11 +28,14 @@
         <!--        />-->
         <div class="w-full flex flex-row justify-around">
           <div v-for="(item, index) in TopicsVal[currentIndex].choices" :key="index" class="flex flex-col items-center">
-            <div class="w-180px h-180px flex-center cursor-pointer" @click="handleItemClick(item, index)">
+            <div class="w-200px h-180px flex-center cursor-pointer" @click="handleItemClick(item, index)">
+              <!--              <div class="w-[380px] h-[120px] cursor-pointer text-center mt-30px text-65px text-[#0F308C]">-->
+              <!--                {{ item }}-->
+              <!--              </div>-->
               <el-image
                 :src="`/static/image/cognitiveAbility/SpeechTraining/Visual/${item}.png`"
                 fit="contain"
-                class="w-[180px] h-[180px] cursor-pointer mt-30px rounded-8px"
+                class="w-[120px] h-[120px] cursor-pointer mt-30px"
               />
             </div>
             <el-image
@@ -74,7 +82,7 @@
 import { formatSeconds, isJSON } from '@/utils'
 
 defineOptions({
-  name: 'CATAuditoryTrainingRecognition',
+  name: 'diagramMap',
   inheritAttrs: false
 })
 
@@ -159,13 +167,13 @@ async function exec() {
     localStorage.setItem('two-win-auditory-sentence-img-matching-init-data', JSON.stringify(TopicsVal.value))
     setTimeout(() => {
       showNextBtn.value = true
-    }, 5200)
+    }, 200)
   } else {
     taskBeginTime = Date.now()
-    VoiceImpRef.value.videoPlay(
-      'Speech-Auditory',
-      'static/voice/cognitiveAbility/SpeechTraining/Auditory/SentenceImgMatching/1.mp3'
-    )
+    // VoiceImpRef.value.videoPlay(
+    //   'Speech-Auditory',
+    //   'static/voice/cognitiveAbility/SpeechTraining/Auditory/SentenceImgMatching/1.mp3'
+    // )
   }
 }