代码执行时长

dev_forum
hjm 6 years ago
parent 3c65c01126
commit 4bc87cc97f

@ -113,3 +113,17 @@
#evaluating_contents .-text-danger{
padding-bottom: 6px;
}
.-task-ces-top .description {
color: #616B77;
padding: 0 8px;
font-size: 12px;
}
.-task-ces-top .split {
border-right: 1px solid #616B77;
width: 1px;
display: inline-block;
height: 10px;
margin: 5px 0;
}

@ -180,9 +180,14 @@ class CodeEvaluateView extends Component {
<i className={`fa ${ 'fa-caret-right'} mr8 font-16`}
style={isExpanded ? {transform: 'rotate(90deg)'} : {}}></i>
<span className="font-14">测试集 {index + 1}</span>
{ headIconClass && <i className={`fa ${ headIconClass } fr mt2 ml5 font-16`}></i> }
{ _headLockIconClass && <i className={`fa ${ _headLockIconClass } fr mt2 ml5 font-16`}></i> }
{ item.ts_memo && <span className="fr description">消耗内存{item.ts_memo}MB</span> }
{ item.ts_memo && item.ts_time && <span className="split"></span> }
{ item.ts_time && <span className="fr description">代码执行时长{item.ts_time}</span> }
</p>
</div>
)

Loading…
Cancel
Save