Commit 8210faf9 by zhanghaozhe

题库适配

parent 1d72163e
......@@ -96,7 +96,7 @@ class Problems extends Component {
}
{
isShowAnswer &&
<div className={`content ${isShowAnswer ? 'slideInDown' : ''}`}>
<div className={`content`}>
<div className={'title'}>解析</div>
<span dangerouslySetInnerHTML={{__html: quesInfo.analysis}}></span>
</div>
......@@ -105,10 +105,10 @@ class Problems extends Component {
<div className="app">更多题目请 <CallApp text={'前往APP'}/></div>
<div className="op">
{
between && !!between.up && <Link to={`/problems/${between.up}`} className={'nav'}>上一题</Link>
between && !!between.up && <Link to={`/problems/${between.up}`} replace className={'nav'}>上一题</Link>
}
{
between && !!between.down && <Link to={`/problems/${between.down}`} className={'nav'}>下一题</Link>
between && !!between.down && <Link to={`/problems/${between.down}`} replace className={'nav'}>下一题</Link>
}
</div>
</footer>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment