@@ -87,9 +87,11 @@
<span
:key="store.currentTask?.markResult?.scoreList[index] || 0"
>
- <!-- 特殊的空格符号 -->
- <!-- eslint-disable-next-line no-irregular-whitespace -->
- {{ store.currentTask?.markResult?.scoreList[index] ?? " " }}
+ {{
+ isCurrentQuestion(question)
+ ? scoreStr
+ : store.currentTask?.markResult?.scoreList[index]
+ }}
</span>
</transition-group>
</div>
@@ -575,7 +575,8 @@
.flex-static;
margin-left: 10px;
height: 36px;
- width: 42px;
+ min-width: 42px;
+ max-width: 70px;
text-align: center;
background: #f7f7f7;
border-radius: 3px;
@@ -584,6 +585,11 @@
color: #165dff;
font-size: 20px;
font-weight: 600;
+ padding: 0 5px;
+ > span {
+ display: block;
+ overflow: hidden;
+ }
}
&.is-current,