feat: 考试页面问题息服务
This commit is contained in:
parent
0b9497a2c8
commit
bb4f44ef2e
|
@ -16,7 +16,7 @@
|
||||||
<div class="exam-line"></div>
|
<div class="exam-line"></div>
|
||||||
<div class="exam-box">
|
<div class="exam-box">
|
||||||
<a-card :bordered="false" ref="question">
|
<a-card :bordered="false" ref="question">
|
||||||
<div class="exam-title">{{ data.courseName }}<template v-if="item.questionScore">(共{{item.questionCount}}题,每题{{item.questionScore}}分,共{{item.totalScore}}分)</template></div>
|
<div class="exam-title">{{ data.courseName }}</div>
|
||||||
<div class="exam-main">
|
<div class="exam-main">
|
||||||
<div v-for="(item, index) in data.question" :key="index">
|
<div v-for="(item, index) in data.question" :key="index">
|
||||||
<div class="sub-title">{{ $getCapitalizeNumber(index) }}、{{ $getQuestionTypeText(item.questionType) }}<span v-if="type === 'exam'">(共{{ item.questionCount }}题,每题{{ item.questionScore }}分,共{{ item.totalScore }}分)</span></div>
|
<div class="sub-title">{{ $getCapitalizeNumber(index) }}、{{ $getQuestionTypeText(item.questionType) }}<span v-if="type === 'exam'">(共{{ item.questionCount }}题,每题{{ item.questionScore }}分,共{{ item.totalScore }}分)</span></div>
|
||||||
|
|
Loading…
Reference in New Issue