|
|
|
@ -66,7 +66,7 @@ class ActionView extends Component {
|
|
|
|
|
/*<span className="mt10 -flex c_grey ml15" id="time-consuming">耗时:0 天 3 小时 11 分钟 57 秒 </span>*/
|
|
|
|
|
render() {
|
|
|
|
|
const { onRunCodeTest, onShowPrevStage, onShowNextStage, gameBuilding
|
|
|
|
|
, game, classes, st, shixun, record, challenge, time_limit } = this.props;
|
|
|
|
|
, game, classes, st, shixun, record, challenge, time_limit, real_time_limit } = this.props;
|
|
|
|
|
return (
|
|
|
|
|
<div className="-flex -layout-h" id="game_operate_action">
|
|
|
|
|
<style>{`
|
|
|
|
@ -76,7 +76,7 @@ class ActionView extends Component {
|
|
|
|
|
`}</style>
|
|
|
|
|
<span className="mt10 -flex c_grey ml15" id="time-consuming">
|
|
|
|
|
{!!time_limit &&
|
|
|
|
|
<span className="time_limit">{`本关最大执行时间:${time_limit}秒`}</span>}
|
|
|
|
|
<span className="time_limit">{`本关最大执行时间:${real_time_limit}秒`}</span>}
|
|
|
|
|
{!gameBuilding && record ?
|
|
|
|
|
<Tooltip title={ "本次评测耗时(编译、运行总时间)" }>
|
|
|
|
|
<span>{ record } 秒</span>
|
|
|
|
|