From 945cbd86a706804d3d8e9d4da14e159be7e6f3eb Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期一, 17 六月 2024 13:43:02 +0800 Subject: [PATCH] feat(考试):多选题 --- src/components/ExamInfo/index.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/ExamInfo/index.vue b/src/components/ExamInfo/index.vue index f768c33..8fd4032 100644 --- a/src/components/ExamInfo/index.vue +++ b/src/components/ExamInfo/index.vue @@ -1,7 +1,7 @@ <template> <div class="info-container w-full"> <div class="exam-title break-all mb-4 text-base text-gray-700"> - 1.娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯 + {{ title }} </div> <div class="img-container flex"> <div class="img-item"> @@ -12,11 +12,20 @@ </template> <script setup> - +const props = defineProps({ + questionIndex: { + type: Number, + required: true + }, + title: { + type: String, + required: true + } +}) </script> <style lang="scss" scoped> .img-item { - max-width: 500px; + max-width: 400px; } </style> \ No newline at end of file -- Gitblit v1.8.0