瀏覽代碼

常规视康训练图字匹配提交

周玉佂 1 周之前
父節點
當前提交
8d7cc2b102

二進制
public/static/image/cognitiveAbility/SpeechTraining/Visual/chabei.jpg


二進制
public/static/image/cognitiveAbility/SpeechTraining/Visual/niunai.png


二進制
public/static/image/cognitiveAbility/SpeechTraining/Visual/yagao.png


二進制
public/static/image/cognitiveAbility/SpeechTraining/Visual/图片23.png


二進制
public/static/image/cognitiveAbility/SpeechTraining/Visual/图片24.png


+ 19 - 5
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/mapWord/index.vue

@@ -6,12 +6,18 @@
         class="child-container bg-[#ffffff] bor-radius-[10] w-[80%] h-[90%] mt-[0%] left-[12%] flex flex-col justify-center items-center gap-y-[30px] absolute"
       >
         <h1 class="text-[32px] w-[95%] absolute top-[-10px] left-[20px]">
-          屏幕中会出现一个词语,请你从下面的选项中选出与该词语匹配的图片
+          屏幕中会出现一张图片,请你从下面的选项中选出与该图片匹配的词语
         </h1>
         <div class="bg-1">
           <div class="bg-1 text-[68px] w-[80%] absolute top-[29px] left-[38%] color-[#333333]">
             <div class="w-[990px] h-[290px] text-[186px]">
-              {{ onceData.question }}
+              <!--              {{ onceData.question }}-->
+              <el-image
+                :src="onceData.question"
+                fit="contain"
+                style="width: 285px; height: 210px"
+                class="absolute top-[50px]"
+              />
             </div>
           </div>
         </div>
@@ -33,7 +39,8 @@
                 @click="checkItemFn(it, isMainWin ? 1 : 0)"
               ></div>
               <!--                <span class="color-[#000] fw-700 line-height-[5px]">{{ chengList[index] }}.</span>-->
-              <el-image :src="it" fit="contain" style="width: 255px; height: 150px" class="absolute top-[-45px]" />
+              <!--              <el-image :src="it" fit="contain" style="width: 255px; height: 150px" class="absolute top-[-45px]" />-->
+              <span class="color-[#333333] line-height-[155px] fw-700 mr-[100px]"> {{ it }}</span>
             </div>
             <el-image
               v-if="confirmation"
@@ -55,7 +62,13 @@
         <div class="bg-1">
           <div class="bg-1 text-[68px] w-[80%] absolute top-[10px] left-[38%] color-[#333333]">
             <div class="w-[990px] h-[290px] text-[186px]">
-              {{ onceData.question }}
+              <!--              {{ onceData.question }}-->
+              <el-image
+                :src="onceData.question"
+                fit="contain"
+                style="width: 285px; height: 210px"
+                class="absolute top-[50px]"
+              />
             </div>
           </div>
         </div>
@@ -77,7 +90,8 @@
                 @click="checkItemFn(it, isMainWin ? 1 : 0)"
               ></div>
               <!--                <span class="color-[#000] fw-700 line-height-[5px]">{{ chengList[index] }}.</span>-->
-              <el-image :src="it" fit="contain" style="width: 255px; height: 150px" class="absolute top-[-45px]" />
+              <!--              <el-image :src="it" fit="contain" style="width: 255px; height: 150px" class="absolute top-[-45px]" />-->
+              <span class="color-[#333333] line-height-[155px] fw-700 mr-[100px]"> {{ it }}</span>
             </div>
             <el-image
               v-if="!confirmation"

+ 30 - 30
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/mapWord/topics.json

@@ -1,57 +1,57 @@
 [
   {
-    "question": "杯  子",
+    "question": "/static/image/cognitiveAbility/SpeechTraining/Visual/yagao.png",
     "choices": [
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/beizi.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/xiaowan.jpg"
+      "牙刷",
+      "牙膏"
     ],
-    "correct": "/static/image/cognitiveAbility/SpeechTraining/Visual/beizi.jpg",
+    "correct": "牙膏",
     "userAnswer": ""
   },
   {
-    "question": "筷  子",
+    "question": "/static/image/cognitiveAbility/SpeechTraining/Visual/chabei.jpg",
     "choices": [
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/shaozi.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/kuaizi.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/chazi.jpg"
+      "",
+      "筷子",
+      "茶杯"
     ],
-    "correct": "/static/image/cognitiveAbility/SpeechTraining/Visual/kuaizi.jpg",
+    "correct": "茶杯",
     "userAnswer": ""
   },
   {
-    "question": "",
+    "question": "/static/image/cognitiveAbility/SpeechTraining/Visual/shubao.png",
     "choices": [
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/pen.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/xiangpi.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/shubao.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/shu.png"
+      "书包",
+      "本子",
+      "",
+      "铅笔盒"
     ],
-    "correct": "/static/image/cognitiveAbility/SpeechTraining/Visual/shu.png",
+    "correct": "书包",
     "userAnswer": ""
   },
   {
-    "question": "电  视",
+    "question": "/static/image/cognitiveAbility/SpeechTraining/Visual/pingguo.png",
     "choices": [
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/bingxiang.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/chazhuo.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/dianshi.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/yigui.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/chuang.png"
+      "香蕉",
+      "葡萄",
+      "橘子",
+      "苹果",
+      "柚子"
     ],
-    "correct": "/static/image/cognitiveAbility/SpeechTraining/Visual/dianshi.jpg",
+    "correct": "苹果",
     "userAnswer": ""
   },
   {
-    "question": "松  树",
+    "question": "/static/image/cognitiveAbility/SpeechTraining/Visual/niunai.png",
     "choices": [
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/xiaocao.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/songshu.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/meigui.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/xiangrikui.jpg",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/pingguo.png",
-      "/static/image/cognitiveAbility/SpeechTraining/Visual/huahua.jpg"
+      "牛奶",
+      "面包",
+      "鸡蛋",
+      "米饭",
+      "饼干",
+      "可乐"
     ],
-    "correct": "/static/image/cognitiveAbility/SpeechTraining/Visual/songshu.png",
+    "correct": "牙膏",
     "userAnswer": ""
   }
 ]

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

@@ -66,6 +66,7 @@
     </div>
     <Word-word v-if="gameActive === '1'" @close="handleClose" />
     <word-map v-if="gameActive === '2'" @close="handleClose" />
+    <map-word v-if="gameActive === '3'" @close="handleClose" />
     <VoiceImp ref="VoiceImpRef" />
   </section>
 </template>