|
|
@ -479,7 +479,7 @@ class Challenges extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
{/*判断比较复杂 有排第一不能是灰色按钮*/}
|
|
|
|
{/*判断比较复杂 有排第一不能是灰色按钮*/}
|
|
|
|
{item.status === 2 ?
|
|
|
|
{item.status === 2 ?
|
|
|
|
<a className={"edu-default-btn edu-blueback-btn fr Finish_button"}
|
|
|
|
<a className={"edu-default-btn edu-blueline-btn fr Finish_button mtf3"}
|
|
|
|
onClick={()=>this.startshixunCombat(false,undefined, item.challenge_id)}
|
|
|
|
onClick={()=>this.startshixunCombat(false,undefined, item.challenge_id)}
|
|
|
|
// onClick={() => this.startshixunCombat(false)}
|
|
|
|
// onClick={() => this.startshixunCombat(false)}
|
|
|
|
title={"查看挑战关卡"}
|
|
|
|
title={"查看挑战关卡"}
|
|
|
@ -510,12 +510,17 @@ class Challenges extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
item.status === 0 ?
|
|
|
|
item.status === 0 ?this.props.identity>2?
|
|
|
|
<Tooltip placement="bottom" title={"请先完成前序关卡"}>
|
|
|
|
<Tooltip placement="bottom" title={"请先完成前序关卡"}>
|
|
|
|
<a className={"edu-default-btn edu-greyback-btn fr Finish_button"}
|
|
|
|
<a className={"edu-default-btn edu-greyback-btn fr Finish_button"}
|
|
|
|
// onClick={this.props.identity<5&&item.open_game!=""?()=>this.startshixunCombat(false,undefined, item.challenge_id):""}
|
|
|
|
// onClick={this.props.identity<5&&item.open_game!=""?()=>this.startshixunCombat(false,undefined, item.challenge_id):""}
|
|
|
|
style={{marginTop: '-2px'}}>直接挑战</a>
|
|
|
|
style={{marginTop: '-2px'}}>直接挑战</a>
|
|
|
|
</Tooltip>: ""
|
|
|
|
</Tooltip>: <a className={"edu-default-btn edu-blueback-btn fr Finish_button"}
|
|
|
|
|
|
|
|
title={"直接挑战"}
|
|
|
|
|
|
|
|
style={{marginTop: '-2px'}}
|
|
|
|
|
|
|
|
onClick={()=>this.startshixunCombat(false,undefined, item.challenge_id)}
|
|
|
|
|
|
|
|
// onClick={() => this.startshixunCombat(false)}
|
|
|
|
|
|
|
|
>直接挑战</a>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|