From dc9f8e4f724ade3d29bdf0e4e68fd8c3c815bb77 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 16 十月 2024 09:57:55 +0800
Subject: [PATCH] bug
---
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