From b1f4b07417ce38dcff3f0b2a9fa0fef9ab183b28 Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期四, 22 二月 2024 15:48:08 +0800 Subject: [PATCH] 1. 人格问卷答题目选项增加边框 2. API-Fan事中提示语解析变量 3. 答题完毕的提示语修改 4. 答题完毕页面增加关闭页面按钮 --- src/views/exam/components/QuestionEdit.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/exam/components/QuestionEdit.vue b/src/views/exam/components/QuestionEdit.vue index 3d557a0..c9ac768 100644 --- a/src/views/exam/components/QuestionEdit.vue +++ b/src/views/exam/components/QuestionEdit.vue @@ -4,7 +4,7 @@ <div class="q-title" v-html="qLabel+' '+question.title" style="font-size: 23px"/> <div class="q-content"> <el-radio-group v-model="answer.content" @change="answer.completed = true"> - <el-radio v-for="item in question.items" :key="item.prefix" :label="item.prefix" @change="jumpNext" :disabled="answer.readOnly" style="display:block;"> + <el-radio v-for="item in question.items" :key="item.prefix" :label="item.prefix" @change="jumpNext" :disabled="answer.readOnly" style="display:block;border:1px solid #b3b5ba;margin:5px 0px 5px 0px;padding:0px 25px 0px 15px;border-radius:5px;"> <span class="question-prefix" style="font-size: 18px">{{abcValue[item.prefix]}}.</span> <span v-html="item.content" class="q-item-span-content" style="font-size: 18px"></span> </el-radio> @@ -57,7 +57,7 @@ name: 'QuestionShow', data () { return { - abcValue: { '1': 'A', '2': 'B', '3': 'C', '4': 'D', '5': 'E', '6': 'F' } + abcValue: { '1': 'A', '2': 'B', '3': 'C', '4': 'D', '5': 'E', '6': 'F', '7': 'G', '8': 'H', '9': 'I', '10': 'J' } } }, props: { -- Gitblit v1.9.1