Commit c53b58de by zhanghaozhe

Merge branch 'problems' into dev

parents 99c15ce9 8210faf9
...@@ -96,7 +96,7 @@ class Problems extends Component { ...@@ -96,7 +96,7 @@ class Problems extends Component {
} }
{ {
isShowAnswer && isShowAnswer &&
<div className={`content ${isShowAnswer ? 'slideInDown' : ''}`}> <div className={`content`}>
<div className={'title'}>解析</div> <div className={'title'}>解析</div>
<span dangerouslySetInnerHTML={{__html: quesInfo.analysis}}></span> <span dangerouslySetInnerHTML={{__html: quesInfo.analysis}}></span>
</div> </div>
...@@ -105,10 +105,10 @@ class Problems extends Component { ...@@ -105,10 +105,10 @@ class Problems extends Component {
<div className="app">更多题目请 <CallApp text={'前往APP'}/></div> <div className="app">更多题目请 <CallApp text={'前往APP'}/></div>
<div className="op"> <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> </div>
</footer> </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