Commit 1b88c13b by guomingpang

Merge branch 'feature/pangguoming/20210607/answer_detail' into dev

parents 47a7820f a00933ed
...@@ -216,7 +216,7 @@ function AnswerDescPage(props) { ...@@ -216,7 +216,7 @@ function AnswerDescPage(props) {
return renderOption(optionItem, optionIndex, questionId); return renderOption(optionItem, optionIndex, questionId);
})} })}
{renderAnswerCompare(questionId, questionType, optionList, gapFillingAnswerList)} {renderAnswerCompare(questionId, questionType, optionList, gapFillingAnswerList)}
{renderAnswerDesc(questionAnswerDescList)} {/* {renderAnswerDesc(questionAnswerDescList)} */}
</div> </div>
); );
}); });
...@@ -655,7 +655,7 @@ function AnswerDescPage(props) { ...@@ -655,7 +655,7 @@ function AnswerDescPage(props) {
<div className='box-content'> <div className='box-content'>
<div className='answer-desc-header'> <div className='answer-desc-header'>
<div className='desc-header-container'> <div className='desc-header-container'>
<div className='desc-title'>答案解析</div> <div className='desc-title'>答案详情</div>
<div className='choose-error-box'> <div className='choose-error-box'>
<img <img
onClick={() => { onClick={() => {
......
...@@ -229,10 +229,7 @@ function TestDetailPage(props) { ...@@ -229,10 +229,7 @@ function TestDetailPage(props) {
</div> </div>
</div> </div>
)} )}
{!testState.isDelete && <AnswerDescPage />
userExamState !== 'LACK_EXAM' &&
(resultShow === 'IMMEDIATELY' || (resultShow === 'AFTER_EXAM_END' && Date.now() > examEndTime)) &&
answerAnalysis === 'ANALYSE_AND_RIGHT_OR_WRONG' && <AnswerDescPage />}
</div> </div>
); );
} else if (resultShow === 'AFTER_EXAM_END') { } else if (resultShow === 'AFTER_EXAM_END') {
......
...@@ -87,13 +87,13 @@ ...@@ -87,13 +87,13 @@
} }
.exam-info { .exam-info {
width: 600px; width: 840px;
box-sizing: border-box; box-sizing: border-box;
margin: 0 auto; margin: 0 auto;
padding: 24px 22px 12px 22px; padding: 24px 22px 12px 22px;
height: 130px; height: 130px;
background: #ffffff; background: #ffffff;
box-shadow: 0px -10px 10px 0px rgba(0, 61, 214, 0.1); box-shadow: 0px 5px 30px 0px rgba(12, 54, 158, 0.08);
border-radius: 4px; border-radius: 4px;
display: flex; display: flex;
flex: 1; flex: 1;
......
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