change label

pull/21891/head
ytqh 1 year ago
parent 10adb0fb94
commit a8cf4645f5

@ -413,7 +413,7 @@ class GenerateAnalysisReportApi(Resource):
{% endif %} {% endif %}
</div> </div>
<div style="position: absolute; right: 10px; top: 0; height: 100%; display: flex; align-items: center;"> <div style="position: absolute; right: 10px; top: 0; height: 100%; display: flex; align-items: center;">
<span style="color: #666;">考生{{ category.total_count }}</span> <span style="color: #666;">解答{{ category.total_count }}</span>
</div> </div>
<div style="position: absolute; right: -130px; top: 0; height: 100%; display: flex; align-items: center;"> <div style="position: absolute; right: -130px; top: 0; height: 100%; display: flex; align-items: center;">
<span style="color: #666;">失分比{% if category.error_count == 0 %}0{% else %}{{ ((1 - category.correct_rate) * 100)|round }}{% endif %}%</span> <span style="color: #666;">失分比{% if category.error_count == 0 %}0{% else %}{{ ((1 - category.correct_rate) * 100)|round }}{% endif %}%</span>

Loading…
Cancel
Save