答案与解析
+
+ 你选的:{{ selectedAnswerText }},正确答案是 {{ correctAnswerText }}
+
+
+ 你填的:{{ blankAnswer || '未填写' }}
+
正确答案:{{ item.question.answers?.join('、') || '暂无标准答案' }}
{{ item.question.explanation || '暂无解析' }}
@@ -394,9 +450,21 @@ watch(remainingSeconds, async (value) => {
height: auto;
min-height: 48px;
margin-right: 0;
+ display: flex;
+ align-items: center;
white-space: normal;
}
+.option-list :deep(.el-checkbox__input),
+.option-list :deep(.el-radio__input) {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ opacity: 0;
+ pointer-events: none;
+}
+
.option-list :deep(.el-radio.is-disabled),
.option-list :deep(.el-checkbox.is-disabled) {
cursor: default;
@@ -408,6 +476,35 @@ watch(remainingSeconds, async (value) => {
color: var(--qq-ink);
}
+.option-list :deep(.el-radio__label),
+.option-list :deep(.el-checkbox__label) {
+ display: flex;
+ align-items: flex-start;
+ min-width: 0;
+ white-space: normal;
+}
+
+.option-index {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 24px;
+ min-width: 24px;
+ height: 24px;
+ margin-right: 8px;
+ border-radius: 8px;
+ background: rgba(31, 111, 91, 0.08);
+ color: var(--qq-moss);
+ font-weight: 800;
+ font-size: 13px;
+}
+
+.option-content {
+ flex: 1;
+ min-width: 0;
+ line-height: 1.55;
+}
+
.option-list :deep(.option--right) {
border-color: rgba(31, 111, 91, 0.58);
background: rgba(31, 111, 91, 0.1);
@@ -419,28 +516,17 @@ watch(remainingSeconds, async (value) => {
font-weight: 700;
}
-.option-list :deep(.option--right .el-radio__inner),
-.option-list :deep(.option--right .el-checkbox__inner) {
- border-color: #1f6f5b;
- background: #1f6f5b;
-}
-
-.option-list :deep(.option--right .el-radio__inner::after) {
- transform: translate(-50%, -50%) scale(1);
-}
-
-.option-list :deep(.option--right .el-checkbox__inner::after) {
- transform: rotate(45deg) scaleY(1);
-}
-
-.option-list :deep(.option--wrong) {
+.option-list :deep(.option--wrong),
+.option-list :deep(.option--picked-wrong) {
border-color: rgba(201, 133, 34, 0.58);
background: rgba(201, 133, 34, 0.1);
}
.option-list :deep(.option--wrong .el-radio__label),
-.option-list :deep(.option--wrong .el-checkbox__label) {
+.option-list :deep(.option--wrong .el-checkbox__label),
+.option-list :deep(.option--picked-wrong .el-checkbox__label) {
color: #9a5f10;
+ font-weight: 700;
}
.answer-panel {
@@ -451,10 +537,20 @@ watch(remainingSeconds, async (value) => {
background: rgba(31, 111, 91, 0.07);
}
+.answer-panel--wrong {
+ border-color: rgba(201, 133, 34, 0.42);
+ background: rgba(201, 133, 34, 0.12);
+}
+
.answer-panel p {
margin: 8px 0 0;
}
+.answer-summary {
+ color: var(--qq-ink);
+ font-weight: 650;
+}
+
.quiz-footer {
position: fixed;
left: 0;
@@ -536,8 +632,8 @@ watch(remainingSeconds, async (value) => {
.slide-prev-enter-active,
.slide-prev-leave-active {
transition:
- transform 220ms ease,
- opacity 180ms ease;
+ transform 160ms ease,
+ opacity 130ms ease;
}
.slide-next-enter-from,