|
@@ -72,9 +72,11 @@ function inputAnswer(e: Event, index: number) {
|
|
|
</div>
|
|
|
<div class="reset">
|
|
|
<span v-if="store.examShouldShowAnswer">
|
|
|
- <n-button type="success" @click="toggleShowAnswer"> 显示答案 </n-button>
|
|
|
+ <n-button type="success" @click="toggleShowAnswer">
|
|
|
+ {{ isShowAnswer ? "隐藏" : "显示" }}答案
|
|
|
+ </n-button>
|
|
|
</span>
|
|
|
- <div v-if="isShowAnswer">
|
|
|
+ <div class="tw-mt-2" v-if="isShowAnswer">
|
|
|
正确答案:
|
|
|
<div class="right-answer-section" v-html="rightAnswerTransform"></div>
|
|
|
</div>
|
|
@@ -104,11 +106,13 @@ function inputAnswer(e: Event, index: number) {
|
|
|
line-height: 24px;
|
|
|
}
|
|
|
.input-answer {
|
|
|
- width: 400px;
|
|
|
+ min-width: 400px;
|
|
|
+ max-width: 800px;
|
|
|
+ width: 100%;
|
|
|
height: 30px;
|
|
|
border: 1px solid black;
|
|
|
border-radius: 5px;
|
|
|
- padding: 0px 2px;
|
|
|
+ padding: 0px 4px;
|
|
|
}
|
|
|
.question-options {
|
|
|
padding-right: 10px;
|