-
-
+
{{ item.label }}
-
+
{{ item.label }}
@@ -61,12 +46,8 @@
-
+
{{ q.content }}
@@ -80,10 +61,7 @@
正确率:
-
+
{{ q.accuracy }}%
@@ -91,11 +69,7 @@
- {{ q.subject }}
+ {{ q.subject }}
{{ q.type }}
{{ q.level }}
{{ q.time }}
@@ -106,10 +80,7 @@
查看详情
-
+
举一反三
@@ -119,12 +90,60 @@
+
+
+
+
错题重练
+
+
+
+
+
+ 题目抽取数量 (1-50题)
+
+
+
+ -
+
+
{{ retrainCount }}
+
+ +
+
+
+
+
+
+
+ 取消
+
+
+ 确认
+
+
+
+
@@ -426,11 +530,11 @@ function extendPractice(q: Question) {
.question-card {
background: #f2fbff;
border-radius: 20px;
-// padding: 28px 28px 20px;
+ // padding: 28px 28px 20px;
display: flex;
flex-direction: column;
border: 1.5px solid #e1f2fa;
-// gap: 16px;
+ // gap: 16px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
&.card-poor {
@@ -440,17 +544,18 @@ function extendPractice(q: Question) {
.question-actions {
- display: flex;
- flex-direction: column;
- background: #FFF;
- border-radius: 20px;
- padding: 22px 24px;
- gap: 16px;
+ display: flex;
+ flex-direction: column;
+ background: #FFF;
+ border-radius: 20px;
+ padding: 22px 24px;
+ gap: 16px;
}
+
.question-text {
font-size: 28px;
color: #121212;
-// line-height: 1.5;
+ // line-height: 1.5;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -524,14 +629,17 @@ function extendPractice(q: Question) {
color: #2d6fe0;
background: rgba(45, 111, 224, 0.1);
}
+
&.subject-语文 {
color: #27ae60;
background: rgba(39, 174, 96, 0.1);
}
+
&.subject-数学 {
color: #2d6fe0;
background: rgba(45, 111, 224, 0.1);
}
+
&.subject-科学 {
color: #9b59b6;
background: rgba(155, 89, 182, 0.1);
@@ -589,4 +697,137 @@ function extendPractice(q: Question) {
border: 1.5px solid #2d6fe0;
color: #2d6fe0;
}
+
+:global(.retrain-dialog) {
+ --el-dialog-padding-primary: 0;
+ border-radius: 26px;
+ box-shadow: none;
+}
+
+:global(.retrain-dialog .el-dialog__header) {
+ display: none;
+}
+
+:global(.retrain-dialog .el-dialog__body) {
+ padding: 0;
+}
+
+:global(.retrain-dialog-overlay) {
+ background-color: rgba(0, 0, 0, 0.58);
+}
+
+.retrain-panel {
+ width: 100%;
+ // min-height: 640px;
+ padding: 48px 56px;
+ border-radius: 26px;
+ background: #fff;
+}
+
+.dialog-title {
+ margin-bottom: 52px;
+ color: #121212;
+ font-size: 32px;
+ font-weight: 700;
+ line-height: 1;
+ text-align: center;
+}
+
+.dialog-section {
+ margin-bottom: 48px;
+}
+
+.section-title {
+ margin-bottom: 24px;
+ color: #121212;
+ font-size: 24px;
+ font-weight: 600;
+ line-height: 1;
+}
+
+.section-tip {
+ color: #9ca3af;
+ font-weight: 400;
+}
+
+.condition-row {
+ display: flex;
+ align-items: center;
+ gap: 18px;
+}
+
+.question-count-section {
+ margin-bottom: 56px;
+}
+
+.counter-row {
+ display: flex;
+ align-items: center;
+ gap: 22px;
+}
+
+.counter-btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 46px;
+ height: 46px;
+ border: 1px solid #edf0f5;
+ border-radius: 50%;
+ background: #fff;
+ color: #222;
+ cursor: pointer;
+ font-size: 26px;
+ line-height: 1;
+
+ &:disabled {
+ color: #d9dee7;
+ cursor: not-allowed;
+ }
+}
+
+.counter-value {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 168px;
+ height: 58px;
+ border-radius: 4px;
+ background: #f5f6f8;
+ color: #333;
+ font-size: 26px;
+ font-weight: 500;
+}
+
+.dialog-actions {
+ display: flex;
+ justify-content: center;
+ gap: 48px;
+}
+
+.dialog-btn {
+ width: 190px;
+ height: 72px;
+ border-radius: 40px;
+ cursor: pointer;
+ font-size: 26px;
+ font-weight: 600;
+ transition: opacity 0.2s;
+
+ &:hover {
+ opacity: 0.86;
+ }
+}
+
+.cancel-btn {
+ border: 2px solid #b7d4f2;
+ background: #fff;
+ color: #6ca8e8;
+}
+
+.confirm-btn {
+ border: none;
+ background: #2f80ed;
+ color: #fff;
+}