|
@@ -1,13 +1,14 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="AllQuestions">
|
|
<div class="AllQuestions">
|
|
|
<q-list separator>
|
|
<q-list separator>
|
|
|
- <q-item v-for="(question, questionIndex) in answerBook.test_info.test_set_info.test_set_questions"
|
|
|
|
|
- :key="questionIndex"
|
|
|
|
|
|
|
+ <!-- <q-item v-for="(question, questionIndex) in answerBook.test_info.test_set_info.test_set_questions"-->
|
|
|
|
|
+ <q-item v-for="(answerSheet, answerSheetIndex) in answerBook.answer_sheet_info.list"
|
|
|
|
|
+ :key="answerSheetIndex"
|
|
|
clickable>
|
|
clickable>
|
|
|
- <q-item-section v-html="question.question_info.text" />
|
|
|
|
|
|
|
+ <q-item-section v-html="'<span>' + (answerSheetIndex + 1) + ' - </span>' + answerSheet.test_set_question_info.question_info.text" />
|
|
|
<q-item-section side>
|
|
<q-item-section side>
|
|
|
<q-badge>
|
|
<q-badge>
|
|
|
- {{ question.mark }}
|
|
|
|
|
|
|
+ {{ answerSheet.test_set_question_info.question_info.mark }}
|
|
|
نمره
|
|
نمره
|
|
|
</q-badge>
|
|
</q-badge>
|
|
|
</q-item-section>
|
|
</q-item-section>
|
|
@@ -112,6 +113,9 @@ export default {
|
|
|
.AllQuestions {
|
|
.AllQuestions {
|
|
|
:deep(.q-list) {
|
|
:deep(.q-list) {
|
|
|
.q-item {
|
|
.q-item {
|
|
|
|
|
+ .q-item__section {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ }
|
|
|
.q-badge {
|
|
.q-badge {
|
|
|
background: #ACBCAE 0 0 no-repeat padding-box;
|
|
background: #ACBCAE 0 0 no-repeat padding-box;
|
|
|
border-radius: 18px;
|
|
border-radius: 18px;
|