| | |
| | | <template> |
| | | <div v-loading="qLoading" style="line-height:1.8"> |
| | | <div v-if="qType == 1 || qType == 2 || qType == 3 || qType == 4 || qType == 5 || qType == 6"> |
| | | <div v-if="qType == 1 || qType == 2 || qType == 3 || qType == 4 || qType == 5 || qType == 6 || qType == 7 || qType == 8"> |
| | | <div v-if="qType == 1 || qType == 6"> |
| | | <div class="q-title" v-html="question.title" /> |
| | | <div class="q-content"> |
| | |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | <div v-else-if="qType == 5"> |
| | | <div v-else-if="qType == 5 || qType == 7 || qType == 8"> |
| | | <div class="q-title" v-html="question.title" /> |
| | | <div> |
| | | <el-input v-model="answer.content" type="textarea" rows="5"></el-input> |
| | |
| | | </div> |
| | | <div class="question-answer-show-item"> |
| | | <span class="question-show-item">正确答案:</span> |
| | | <span v-if="qType == 1 || qType == 2 || qType == 5 || qType == 6" v-html="question.correct" class="q-item-span-content" /> |
| | | <span v-if="qType == 1 || qType == 2 || qType == 5 || qType == 6 || qType == 7 || qType == 8" v-html="question.correct" class="q-item-span-content" /> |
| | | <span v-if="qType == 3" v-html="trueFalseFormatter(question)" class="q-item-span-content" /> |
| | | <span v-if="qType == 4">{{ question.correctArray }}</span> |
| | | </div> |