From cf7e71c6d0fb64eeb6b5deac540da843b4bb465c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期二, 26 八月 2025 10:41:52 +0800 Subject: [PATCH] 关于我们-理念与品牌文化 --- src/views/classManage/components/questionDom.vue | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/src/views/classManage/components/questionDom.vue b/src/views/classManage/components/questionDom.vue index a1aa349..5e88756 100644 --- a/src/views/classManage/components/questionDom.vue +++ b/src/views/classManage/components/questionDom.vue @@ -62,6 +62,20 @@ <div v-html="item.userAnswer"></div> </div> </div> + <!-- <div class="shortAnswer" v-if="item.questionType == 'shortAnswer' && !isJudge"> + <div class="anSwer" v-if="!isPreview"> + <div class="anSwerText" v-if="item.questionAnswer" style="margin: 15px 0"> + <span style="min-width: 40px">绛旀锛�</span + ><span v-html="item.questionAnswer"></span> + </div> + <div :class="isPreview ? 'questionAnalysisCon' : ''" v-if="item.questionAnalysisCon"> + 鍒嗘瀽锛�<span v-html="item.questionAnalysisCon"></span> + </div> + </div> + <div v-else> + <div v-html="item.userAnswer"></div> + </div> + </div> --> <div v-if="isJudge"> <div class="shortAnswer anSwerText" v-if="item.answer" style="margin: 15px 0"> <span v-html="item.answer"></span> @@ -237,7 +251,9 @@ const emit = defineEmits(['selectQuestion', 'deleteItem', 'judgeUpdate']) -onMounted(() => {}) +// onMounted(() => { +// console.log(props.questionList) +// }) const checkItems = (e: Event, item: any) => { emit('selectQuestion', item) @@ -264,6 +280,9 @@ padding: 10px; box-sizing: border-box; font-family: PingFang SC; + span { + white-space: pre-wrap !important; + } .questionT { // display: flex; flex-wrap: wrap; -- Gitblit v1.9.1