From 45e5093eb2416870454e9f64e4f73a9d95a8fd7a Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期五, 01 十一月 2024 11:40:28 +0800
Subject: [PATCH] 作废改为作弊
---
src/views/answer/components/QuestionAnswerShow.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/answer/components/QuestionAnswerShow.vue b/src/views/answer/components/QuestionAnswerShow.vue
index 613bdf1..57c92db 100644
--- a/src/views/answer/components/QuestionAnswerShow.vue
+++ b/src/views/answer/components/QuestionAnswerShow.vue
@@ -51,8 +51,8 @@
<!-- 绠�绛斻�佽绠椼�佸垎鏋� -->
<div v-else-if="qType == 5 || qType == 7 || qType == 8">
<div class="q-title" v-html="question.title"/>
- <div>
- <el-input v-model="question.answer" type="textarea" rows="5" ></el-input>
+ <div class="rich-text-box">
+ <div v-html="question.answer"></div>
</div>
</div>
<div class="question-answer-show-item" style="margin-top: 15px">
@@ -185,4 +185,9 @@
color: #606266
}
+.rich-text-box {
+ border: 1px solid #ccc; /* 娣诲姞杈规 */
+ padding: 10px ; /* 娣诲姞鍐呰竟璺濅互鎻愪緵绌洪棿 */
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
+}
</style>
--
Gitblit v1.8.0