Browse Source

常规视康训练公共文件修改

周玉佂 1 week ago
parent
commit
a61a81ef22
29 changed files with 25 additions and 8 deletions
  1. 1 1
      .env.development
  2. BIN
      public/static/image/cognitiveAbility/SpeechTraining/Visual/chabei.jpg
  3. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/书.png
  4. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/书包.png
  5. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/冰箱.png
  6. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/勺子.jpg
  7. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/叉子.jpg
  8. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/向日葵.jpg
  9. BIN
      public/static/image/cognitiveAbility/SpeechTraining/Visual/图片23.png
  10. BIN
      public/static/image/cognitiveAbility/SpeechTraining/Visual/图片24.png
  11. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/小碗.jpg
  12. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/小草.png
  13. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/床.png
  14. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/杯子.jpg
  15. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/松树.png
  16. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/橡皮.png
  17. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/水开了.jpg
  18. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/牙膏.png
  19. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/牛奶.png
  20. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/玫瑰.png
  21. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/电视.jpg
  22. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/笔.jpg
  23. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/筷子.jpg
  24. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/自来水.jpg
  25. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/花花.jpg
  26. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/苹果.png
  27. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/茶桌.png
  28. 0 0
      public/static/image/cognitiveAbility/SpeechTraining/Visual/衣柜.jpg
  29. 24 7
      src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/essay/index.vue

+ 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.8:8001'
 
 
 # 公司本地
 # 公司本地
-VITE_APP_API_URL = 'http://192.168.1.9:8107'
+VITE_APP_API_URL = 'http://192.168.1.4:8107'
 
 
 # 家里本地
 # 家里本地
 # VITE_APP_API_URL = 'http://192.168.1.11:8107'
 # VITE_APP_API_URL = 'http://192.168.1.11:8107'

BIN
public/static/image/cognitiveAbility/SpeechTraining/Visual/chabei.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/shu.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/书.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/shubao.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/书包.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/bingxiang.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/冰箱.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/shaozi.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/勺子.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/chazi.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/叉子.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/xiangrikui.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/向日葵.jpg


BIN
public/static/image/cognitiveAbility/SpeechTraining/Visual/图片23.png


BIN
public/static/image/cognitiveAbility/SpeechTraining/Visual/图片24.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/xiaowan.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/小碗.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/xiaocao.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/小草.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/chuang.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/床.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/beizi.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/杯子.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/songshu.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/松树.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/xiangpi.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/橡皮.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/shuikail.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/水开了.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/yagao.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/牙膏.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/niunai.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/牛奶.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/meigui.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/玫瑰.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/dianshi.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/电视.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/pen.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/笔.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/kuaizi.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/筷子.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/zilaishui.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/自来水.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/huahua.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/花花.jpg


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/pingguo.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/苹果.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/chazhuo.png → public/static/image/cognitiveAbility/SpeechTraining/Visual/茶桌.png


+ 0 - 0
public/static/image/cognitiveAbility/SpeechTraining/Visual/yigui.jpg → public/static/image/cognitiveAbility/SpeechTraining/Visual/衣柜.jpg


+ 24 - 7
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/essay/index.vue

@@ -59,6 +59,7 @@
       <div
       <div
         class="child-container bg-[#ffffff] bor-radius-[10] w-[80%] h-[90%] mt-[0%] flex flex-col justify-center items-center gap-y-[30px] absolute left-[12%]"
         class="child-container bg-[#ffffff] bor-radius-[10] w-[80%] h-[90%] mt-[0%] flex flex-col justify-center items-center gap-y-[30px] absolute left-[12%]"
       >
       >
+        <water-title title="词语组句" />
         <div class="bg-1">
         <div class="bg-1">
           <div class="bg-1 text-[68px] w-[80%] absolute top-[10px] left-[38%] color-[#333333]">
           <div class="bg-1 text-[68px] w-[80%] absolute top-[10px] left-[38%] color-[#333333]">
             <div class="w-[990px] h-[290px] text-[186px]">
             <div class="w-[990px] h-[290px] text-[186px]">
@@ -85,13 +86,14 @@
             <div class="text-[80px] w-[500px] h-[280px] flex flex-wrap flex-row justify-between">
             <div class="text-[80px] w-[500px] h-[280px] flex flex-wrap flex-row justify-between">
               <!--              <div class="w-[450px] sab ml-[115px] mt-[30px] flex flex-wrap flex-row justify-between">-->
               <!--              <div class="w-[450px] sab ml-[115px] mt-[30px] flex flex-wrap flex-row justify-between">-->
               <div
               <div
-                class="bg-[#000] w-[120px] h-[120px] flex-center"
+                class="bg-[#F9F9F9] w-[320px] h-[120px] flex-center"
                 :class="[index === flagFlag ? 'active' : 'normal']"
                 :class="[index === flagFlag ? 'active' : 'normal']"
                 @click="checkItemFn(it, isMainWin ? 1 : 0)"
                 @click="checkItemFn(it, isMainWin ? 1 : 0)"
-              ></div>
+              >
+                <span class="color-[#0F308C] line-height-[155px] fw-700 mr-[100px] text-center"> {{ it }}</span>
+              </div>
               <!--                <span class="color-[#000] fw-700 line-height-[5px]">{{ chengList[index] }}.</span>-->
               <!--                <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>
             </div>
             <el-image
             <el-image
               v-if="!confirmation"
               v-if="!confirmation"
@@ -101,6 +103,9 @@
               @click="handleClick(it, index, isMainWin ? 1 : 0)"
               @click="handleClick(it, index, isMainWin ? 1 : 0)"
             />
             />
           </div>
           </div>
+          <!--          <div>-->
+          <!--            <span>{{ essayData }}</span>-->
+          <!--          </div>-->
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
@@ -173,7 +178,8 @@ const userStore = useUserStore()
 const onceData = ref({} as OnceItem)
 const onceData = ref({} as OnceItem)
 const checkItems = ref([])
 const checkItems = ref([])
 const sumbitData = ref([])
 const sumbitData = ref([])
-
+const essayData = ref([])
+let essayList = []
 const confirmation = ref(false)
 const confirmation = ref(false)
 const flagFlag = ref(-1) //选中标志
 const flagFlag = ref(-1) //选中标志
 const handleClick = (answer: string, index, flag) => {
 const handleClick = (answer: string, index, flag) => {
@@ -222,7 +228,11 @@ const checkItemFn = (item: any, flag: number = 0) => {
   if (flag === 1) return
   if (flag === 1) return
   confirmation.value = false
   confirmation.value = false
   let tempIndex = -1
   let tempIndex = -1
-  console.log()
+  // essayList.push(item)
+  // essayList = [...new Set(essayList)]
+  // essayData.value = essayList
+  // console.log(item, '造句数组', essayData.value, 228)
+  // essayData.value = essayData.value.toString()
   checkItems.value.forEach((item2, index) => {
   checkItems.value.forEach((item2, index) => {
     if (item2 === item) tempIndex = index
     if (item2 === item) tempIndex = index
   })
   })
@@ -445,11 +455,18 @@ onMounted(() => {
     text-align: center;
     text-align: center;
   }
   }
   .active {
   .active {
-    background: url('/static/image/cognitiveAbility/SpeechTraining/Options-right.png') no-repeat 0 0 / 100% 100%;
+    //border: 1px solid #ffffff;
+    cursor: pointer;
+    background: #00d9da;
+    text-align: center;
+    //background: url('/static/image/cognitiveAbility/SpeechTraining/Options-right.png') no-repeat 0 0 / 100% 100%;
     //background-position: 90% 54%; /* 可选,让图片居中对齐 */
     //background-position: 90% 54%; /* 可选,让图片居中对齐 */
   }
   }
   .normal {
   .normal {
-    background: url('/static/image/cognitiveAbility/SpeechTraining/Options-Blank.png') no-repeat 0 0 / 70% 70%;
+    //background: #00ff73;
+    cursor: pointer;
+    text-align: center;
+    //background: url('/static/image/cognitiveAbility/SpeechTraining/Options-Blank.png') no-repeat 0 0 / 70% 70%;
     background-position: 10% 90%; /* 可选,让图片居中对齐 */
     background-position: 10% 90%; /* 可选,让图片居中对齐 */
   }
   }
 }
 }