From d9e812fbb1e1873757d8edf7938da56cab7cd8ad Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 09 八月 2024 17:00:02 +0800
Subject: [PATCH] feat:通过Websocket根据教师会议命令执行操作
---
src/views/exam/question/components/Show.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/exam/question/components/Show.vue b/src/views/exam/question/components/Show.vue
index 2b7e9c9..2179805 100644
--- a/src/views/exam/question/components/Show.vue
+++ b/src/views/exam/question/components/Show.vue
@@ -1,6 +1,6 @@
<template>
<div style="line-height:1.8">
- <div v-if="qType==1" v-loading="qLoading">
+ <div v-if="qType==1 || qType == 6" v-loading="qLoading">
<div class="q-title" v-html="question.title"/>
<div class="q-content">
<span :key="item.id" v-for="item in question.items" class="q-item-contain">
@@ -29,7 +29,7 @@
<div v-else-if="qType==4" v-loading="qLoading">
<div class="q-title" v-html="question.title"/>
</div>
- <div v-else-if="qType==5" v-loading="qLoading">
+ <div v-else-if="qType==5 || qType == 7 || qType == 8" v-loading="qLoading">
<div class="q-title" v-html="question.title"/>
</div>
<div v-else>
@@ -60,3 +60,8 @@
methods: {}
}
</script>
+<style scoped>
+ /deep/ td {
+ background-color: #f0f0f0;
+ }
+</style>
\ No newline at end of file
--
Gitblit v1.8.0