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
bb146a01
Commit
bb146a01
authored
Apr 15, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
889d8daf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
9 deletions
+14
-9
src/core/global.less
+5
-0
src/modules/teach-tool/examination-manager/AddExam.tsx
+1
-1
src/modules/teach-tool/examination-manager/Index.tsx
+1
-1
src/modules/teach-tool/examination-manager/PreviewModal.less
+1
-1
src/modules/teach-tool/examination-manager/PreviewModal.tsx
+6
-6
No files found.
src/core/global.less
View file @
bb146a01
...
@@ -1696,3 +1696,7 @@ input:focus {
...
@@ -1696,3 +1696,7 @@ input:focus {
cursor: pointer;
cursor: pointer;
}
}
}
}
.ant-tag-blue{
background: transparent !important;
}
\ No newline at end of file
src/modules/teach-tool/examination-manager/AddExam.tsx
View file @
bb146a01
...
@@ -267,7 +267,7 @@ function AddExam(props: any) {
...
@@ -267,7 +267,7 @@ function AddExam(props: any) {
<
div
className=
"item"
>
多选题
</
div
>
<
div
className=
"item"
>
多选题
</
div
>
<
div
className=
"item"
>
判断题
</
div
>
<
div
className=
"item"
>
判断题
</
div
>
<
div
className=
"item"
>
填空题
</
div
>
<
div
className=
"item"
>
填空题
</
div
>
<
div
className=
"item"
>
不定项选择题
</
div
>
<
div
className=
"item
long
"
>
不定项选择题
</
div
>
<
div
className=
"item"
>
合计
</
div
>
<
div
className=
"item"
>
合计
</
div
>
</
div
>
</
div
>
<
div
className=
"body-list"
>
<
div
className=
"body-list"
>
...
...
src/modules/teach-tool/examination-manager/Index.tsx
View file @
bb146a01
...
@@ -89,7 +89,7 @@ function ExaminationManager(props: any) {
...
@@ -89,7 +89,7 @@ function ExaminationManager(props: any) {
return
<
div
style=
{
{
width
:
320
}
}
>
return
<
div
style=
{
{
width
:
320
}
}
>
<
div
className=
'oneLineText'
style=
{
{
width
:
320
,
color
:
'#333'
,
fontWeight
:
'bold'
}
}
>
{
text
}
</
div
>
<
div
className=
'oneLineText'
style=
{
{
width
:
320
,
color
:
'#333'
,
fontWeight
:
'bold'
}
}
>
{
text
}
</
div
>
<
div
>
<
span
>
{
moment
(
record
.
examStartTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
~
{
moment
(
record
.
examEndTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
</
span
>
<
div
className=
"status"
style=
{
{
border
:
`1px solid ${_color}`
,
color
:
_color
}
}
>
{
_text
}
</
div
></
div
>
<
div
>
<
span
>
{
moment
(
record
.
examStartTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
~
{
moment
(
record
.
examEndTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
</
span
>
<
div
className=
"status"
style=
{
{
border
:
`1px solid ${_color}`
,
borderRadius
:
2
,
color
:
_color
}
}
>
{
_text
}
</
div
></
div
>
<
div
>
创建人:
{
record
.
examCreator
}
</
div
>
<
div
>
创建人:
{
record
.
examCreator
}
</
div
>
</
div
>
</
div
>
},
},
...
...
src/modules/teach-tool/examination-manager/PreviewModal.less
View file @
bb146a01
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
.rule{
.rule{
background: #F4F6FA;
background: #F4F6FA;
border-radius: 4px;
border-radius: 4px;
padding: 1
6
px;
padding: 1
4
px;
padding-bottom: 8px;
padding-bottom: 8px;
.item{
.item{
margin-bottom: 8px;
margin-bottom: 8px;
...
...
src/modules/teach-tool/examination-manager/PreviewModal.tsx
View file @
bb146a01
...
@@ -33,7 +33,7 @@ function PreviewModal(props: any) {
...
@@ -33,7 +33,7 @@ function PreviewModal(props: any) {
<
div
className=
"phone"
>
<
div
className=
"phone"
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"topContent"
>
<
div
className=
"topContent"
>
<
div
className=
"title"
style=
{
{
fontSize
:
props
.
info
.
examName
.
length
>
24
?
13
:
22
}
}
>
{
props
.
info
.
examName
||
' '
}
</
div
>
<
div
className=
"title"
style=
{
{
fontSize
:
props
.
info
.
examName
.
length
>
24
?
13
:
22
,
marginTop
:
props
.
info
.
examName
.
length
>
24
?
44
:
20
}
}
>
{
props
.
info
.
examName
||
' '
}
</
div
>
{
{
props
.
info
.
examStartTime
&&
<
div
className=
"time"
>
{
moment
(
props
.
info
.
examStartTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
~
{
moment
(
props
.
info
.
examEndTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
</
div
>
props
.
info
.
examStartTime
&&
<
div
className=
"time"
>
{
moment
(
props
.
info
.
examStartTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
~
{
moment
(
props
.
info
.
examEndTime
).
format
(
"YYYY-MM-DD HH:mm"
)
}
</
div
>
}
}
...
@@ -41,19 +41,19 @@ function PreviewModal(props: any) {
...
@@ -41,19 +41,19 @@ function PreviewModal(props: any) {
<
div
className=
"rule"
>
<
div
className=
"rule"
>
<
div
className=
"item"
>
<
div
className=
"item"
>
<
div
className=
"num"
>
{
props
.
info
.
totalScore
||
0
}
</
div
>
<
div
className=
"num"
>
{
props
.
info
.
totalScore
||
0
}
</
div
>
<
div
className=
"text"
>
总分
<
span
className=
"dw"
>
(分)
</
span
></
div
>
<
div
className=
"text"
>
总分
<
span
className=
"dw"
style=
{
{
color
:
'#999'
}
}
>
(分)
</
span
></
div
>
</
div
>
</
div
>
<
div
className=
"item"
>
<
div
className=
"item"
>
<
div
className=
"num"
>
{
props
.
info
.
examTotal
||
0
}
</
div
>
<
div
className=
"num"
>
{
props
.
info
.
examTotal
||
0
}
</
div
>
<
div
className=
"text"
>
总题数
<
span
className=
"dw"
>
(道)
</
span
></
div
>
<
div
className=
"text"
>
总题数
<
span
className=
"dw"
style=
{
{
color
:
'#999'
}
}
>
(道)
</
span
></
div
>
</
div
>
</
div
>
<
div
className=
"item"
>
<
div
className=
"item"
>
<
div
className=
"num"
>
{
props
.
info
.
passScore
||
0
}
</
div
>
<
div
className=
"num"
>
{
props
.
info
.
passScore
||
0
}
</
div
>
<
div
className=
"text"
>
及格分
<
span
className=
"dw"
>
(分)
</
span
></
div
>
<
div
className=
"text"
>
及格分
<
span
className=
"dw"
style=
{
{
color
:
'#999'
}
}
>
(分)
</
span
></
div
>
</
div
>
</
div
>
<
div
className=
"item"
>
<
div
className=
"item"
>
<
div
className=
"num"
>
{
props
.
info
.
examDuration
||
60
}
</
div
>
<
div
className=
"num"
>
{
props
.
info
.
examDuration
||
60
}
</
div
>
<
div
className=
"text"
>
时长
<
span
className=
"dw"
>
(分钟)
</
span
></
div
>
<
div
className=
"text"
>
时长
<
span
className=
"dw"
style=
{
{
color
:
'#999'
}
}
>
(分钟)
</
span
></
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -61,7 +61,7 @@ function PreviewModal(props: any) {
...
@@ -61,7 +61,7 @@ function PreviewModal(props: any) {
<
div
className=
"fg"
>
<
div
className=
"fg"
>
<
img
src=
"https://image.xiaomaiketang.com/xm/8ASbb6TQ6Q.png"
alt=
""
/>
<
img
src=
"https://image.xiaomaiketang.com/xm/8ASbb6TQ6Q.png"
alt=
""
/>
</
div
>
</
div
>
<
div
className=
"examDesc"
dangerouslySetInnerHTML=
{
{
__html
:
props
.
info
.
examDesc
}
}
></
div
>
<
div
className=
"examDesc"
style=
{
{
color
:
'#666'
}
}
dangerouslySetInnerHTML=
{
{
__html
:
props
.
info
.
examDesc
}
}
></
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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