瀏覽代碼

对侧边栏就行修改

zhangyujun 3 年之前
父節點
當前提交
1ac22994df
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/views/exam/test.vue

+ 7 - 1
src/views/exam/test.vue

@@ -120,8 +120,11 @@
                       style="white-space: nowrap"
                       :data-key="index * 10 + _index + 1"
                       class="coll-table-topic-item"
+                       :class="{
+                      'text-red': list[index * 10 + _index].isError,
+                    }"
                     >
-                      {{ index * 10 + _index + 1 }}
+                      {{list[index * 10 + _index ].userAnswerLetter || "" }}
                     </div>
                   </td>
                 </tr>
@@ -791,6 +794,9 @@ export default defineComponent({
 </script>
 
 <style lang="scss" scoped>
+.text-red {
+  color: red;
+}
 .w-half {
   width: 50%;
 }