|
|
|
@ -48,11 +48,17 @@ export default { |
|
|
|
if(this.currentPage > 1){ |
|
|
|
this.currentPage--; |
|
|
|
} |
|
|
|
if(this.currentPage < 13){ |
|
|
|
this.page=1; |
|
|
|
} |
|
|
|
}, |
|
|
|
next(){ |
|
|
|
if(this.currentPage < 25){ |
|
|
|
this.currentPage++; |
|
|
|
} |
|
|
|
if(this.currentPage > 13){ |
|
|
|
this.page=2; |
|
|
|
} |
|
|
|
}, |
|
|
|
setAnswer(id, val) { |
|
|
|
this.answers[id] = val; |
|
|
|
@ -123,7 +129,7 @@ export default { |
|
|
|
<div class="content"> |
|
|
|
<div class="block"></div> |
|
|
|
<div class="question-all"> |
|
|
|
<div v-for="problem in currentProblem" :key="problem.id" class="left-question-card"> |
|
|
|
<div v-for="problem in currentProblem" :key="problem.id" class="left-question-card" > |
|
|
|
<div class="question"> |
|
|
|
<span class="text">{{problem.question.id}}、</span>{{ problem.question.stem }} |
|
|
|
</div> |
|
|
|
@ -233,7 +239,7 @@ p{ |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 125%; |
|
|
|
background: rgba(0, 0, 0, 0.5); |
|
|
|
backdrop-filter: blur(5px); |
|
|
|
} |
|
|
|
@ -247,8 +253,7 @@ p{ |
|
|
|
} |
|
|
|
.popup-buttons{ |
|
|
|
margin-top: 20px; |
|
|
|
display: flex; |
|
|
|
justify-content: flex-end; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
.cancel-btn,.confirm-btn{ |
|
|
|
border-radius: 10px; |
|
|
|
@ -352,7 +357,7 @@ p{ |
|
|
|
align-items: center; |
|
|
|
gap: 5px; |
|
|
|
} |
|
|
|
.buttons-left:disabled,.next-btn:disabled { |
|
|
|
.before-btn:disabled,.next-btn:disabled { |
|
|
|
background-color: #4b5563; |
|
|
|
cursor: not-allowed; |
|
|
|
} |
|
|
|
@ -399,10 +404,9 @@ p{ |
|
|
|
border: 1px solid #4b5563; |
|
|
|
color: #e5e7eb; |
|
|
|
} |
|
|
|
|
|
|
|
.button-right{ |
|
|
|
display: flex; |
|
|
|
margin: 30px 200px 5px; |
|
|
|
margin: 30px 180px 5px; |
|
|
|
gap: 20px; |
|
|
|
} |
|
|
|
.right-before-btn,.right-next-btn{ |
|
|
|
|