Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
a00933ed
Commit
a00933ed
authored
Jun 08, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:考试模块新增答题详情,
parent
5fceed1f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
src/modules/teach-tool/components/AnswerDescPage.jsx
+2
-2
src/modules/teach-tool/examination-manager/TestDetailPage.jsx
+1
-4
src/modules/teach-tool/examination-manager/TestDetailPage.less
+2
-2
No files found.
src/modules/teach-tool/components/AnswerDescPage.jsx
View file @
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=
{
()
=>
{
...
...
src/modules/teach-tool/examination-manager/TestDetailPage.jsx
View file @
a00933ed
...
@@ -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'
)
{
...
...
src/modules/teach-tool/examination-manager/TestDetailPage.less
View file @
a00933ed
...
@@ -87,13 +87,13 @@
...
@@ -87,13 +87,13 @@
}
}
.exam-info {
.exam-info {
width:
60
0px;
width:
84
0px;
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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment