|
|
@ -172,7 +172,7 @@ class CodeEvaluateView extends Component {
|
|
|
|
} else if (item.result == false) {
|
|
|
|
} else if (item.result == false) {
|
|
|
|
headIconClass = 'fa-exclamation-circle -text-danger'
|
|
|
|
headIconClass = 'fa-exclamation-circle -text-danger'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
testSetsComponentArray.push(
|
|
|
|
testSetsComponentArray.push(
|
|
|
|
<div className="-task-ces-top clearfix" onClick={ this.onTestSetHeaderClick.bind(this, index) }
|
|
|
|
<div className="-task-ces-top clearfix" onClick={ this.onTestSetHeaderClick.bind(this, index) }
|
|
|
|
style={{cursor:'pointer', 'margin-top':index == 0 ? '4px' : ''}} key={index+'-0'}>
|
|
|
|
style={{cursor:'pointer', 'margin-top':index == 0 ? '4px' : ''}} key={index+'-0'}>
|
|
|
@ -180,8 +180,13 @@ class CodeEvaluateView extends Component {
|
|
|
|
<i className={`fa ${ 'fa-caret-right'} mr8 font-16`}
|
|
|
|
<i className={`fa ${ 'fa-caret-right'} mr8 font-16`}
|
|
|
|
style={isExpanded ? {transform: 'rotate(90deg)'} : {}}></i>
|
|
|
|
style={isExpanded ? {transform: 'rotate(90deg)'} : {}}></i>
|
|
|
|
<span className="font-14">测试集 {index + 1}</span>
|
|
|
|
<span className="font-14">测试集 {index + 1}</span>
|
|
|
|
|
|
|
|
|
|
|
|
{ headIconClass && <i className={`fa ${ headIconClass } fr mt2 ml5 font-16`}></i> }
|
|
|
|
{ headIconClass && <i className={`fa ${ headIconClass } fr mt2 ml5 font-16`}></i> }
|
|
|
|
{ _headLockIconClass && <i className={`fa ${ _headLockIconClass } 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>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|