Commit a00933ed by guomingpang

feat:考试模块新增答题详情,

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