Bladeren bron

Merge remote-tracking branch 'origin/20240604-dev' into 20240604-dev

周玉佂 1 week geleden
bovenliggende
commit
a97d8a790d

+ 13 - 3
src/views/tester/components/RehabilitationEvaluation/RehabilitationEvaluationLogDetail/index.vue

@@ -54,8 +54,18 @@
             class="w-[190px] h-full"
           />
           <div class="flex-1 p-[16px] pos-relative">
-            <div class="text-[20px] font-600 line-height-[24px]">{{ item.tname }}</div>
-            <div class="text-[15px] text-[#666] mt-[8px] text-2-ellipsis">{{ item.info?.intro }}</div>
+            <div
+              class="text-[20px] font-600 line-height-[24px]"
+              :class="{ 'text-black': item.finish === '0', 'text-[#989898bf]': item.finish === '1' }"
+            >
+              {{ item.tname }}
+            </div>
+            <div
+              class="text-[15px] mt-[8px] text-2-ellipsis"
+              :class="{ 'text-[#666]': item.finish === '0', 'text-[#989898bf]': item.finish === '1' }"
+            >
+              {{ item.info?.intro }}
+            </div>
             <div class="w-full absolute left-0 bottom-0 flex flex-row-reverse items-center">
               <el-button
                 type="primary"
@@ -68,7 +78,7 @@
                 {{ item.finish === '0' ? '开始评定' : '查看结果' }}
                 <i-ep-arrow-right />
               </el-button>
-              <div v-if="item.finish === '1'" class="w-[220px] text-[14px] text-[#989898ff]">
+              <div v-if="item.finish === '1'" class="w-[220px] text-[14px] text-[#989898bf]">
                 {{ item.utime?.replace('-', '年').replace('-', '月').replace(' ', '日 ') }} 已完成
               </div>
             </div>