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
799e15a4
Commit
799e15a4
authored
Apr 15, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:样式调整
parent
0b9cb284
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
16 deletions
+26
-16
src/modules/teach-tool/paper-manage/OperatePaper.jsx
+10
-11
src/modules/teach-tool/paper-manage/OperatePaper.less
+10
-2
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.jsx
+2
-2
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.less
+4
-1
No files found.
src/modules/teach-tool/paper-manage/OperatePaper.jsx
View file @
799e15a4
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-03-27 16:15:13
* @LastEditors: yuananting
* @LastEditTime: 2021-04-15 1
2:07:20
* @LastEditTime: 2021-04-15 1
4:50:02
* @Description: 助学工具-新建/复制/编辑试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -223,7 +223,9 @@ class OperatePaper extends Component {
currentQuestionList
=
sortedTableData
.
reverse
();
break
;
case
"default"
:
currentQuestionList
=
_selectQuestionList
.
sort
((
a
,
b
)
=>
b
.
updateTime
-
a
.
updateTime
);
currentQuestionList
=
_selectQuestionList
.
sort
(
(
a
,
b
)
=>
b
.
updateTime
-
a
.
updateTime
);
break
;
default
:
currentQuestionList
=
_selectQuestionList
;
...
...
@@ -545,8 +547,9 @@ class OperatePaper extends Component {
},
{
title
:
(
<
Tooltip
title=
"多选题和填空题的漏选/半对得分不能高于题目本身分值"
>
<
span
>
分值
{
" "
}
<
Tooltip
title=
"多选题和填空题的漏选/半对得分不能高于题目本身分值"
>
<
span
className=
"icon iconfont"
style=
{
{
color
:
"#BFBFBF"
,
fontSize
:
14
}
}
...
...
@@ -554,6 +557,7 @@ class OperatePaper extends Component {

</
span
>
</
Tooltip
>
</
span
>
),
dataIndex
:
"score"
,
key
:
"score"
,
...
...
@@ -708,9 +712,7 @@ class OperatePaper extends Component {
name=
"paperName"
label=
"试卷名称:"
required
validateStatus=
{
this
.
validatePaperName
(
paperName
)
?
"error"
:
""
}
validateStatus=
{
this
.
validatePaperName
(
paperName
)
?
"error"
:
""
}
help=
{
this
.
validatePaperName
(
paperName
)
}
>
<
Input
...
...
@@ -773,10 +775,7 @@ class OperatePaper extends Component {
自选题目
</
Button
>
{
questionCnt
>
0
&&
(
<
div
className=
"paper-info-tip"
style=
{
{
margin
:
"0 auto 12px"
}
}
>
<
div
className=
"paper-info-tip"
style=
{
{
margin
:
"0 auto 12px"
}
}
>
总计
<
span
>
{
totalScore
}
</
span
>
分,共
<
span
>
{
questionCnt
}
</
span
>
题。
{
" "
}
{
singleChoiceCnt
>
0
&&
...
...
@@ -793,10 +792,10 @@ class OperatePaper extends Component {
<
ConfigProvider
renderEmpty=
{
this
.
customizeRenderEmpty
}
>
<
Table
className=
"table-style"
scroll=
{
{
y
:
350
}
}
columns=
{
this
.
parseColumns
()
}
dataSource=
{
selectQuestionList
}
bordered
pagination=
{
false
}
onChange=
{
this
.
sortByQuestionType
}
/>
...
...
src/modules/teach-tool/paper-manage/OperatePaper.less
View file @
799e15a4
.operate-paper-page {
.box {
margin-bottom: 66px !important;
.table-style {
border: 1px solid #f0f0f0 !important;
}
.ant-tabs {
color: #666666;
}
...
...
@@ -17,7 +20,7 @@
color: #999999;
line-height: 20px;
span {
color: #
FFB
714;
color: #
ffb
714;
}
}
.record-operate {
...
...
@@ -33,7 +36,7 @@
}
}
&__ban {
color: #
CCCCCC
;
color: #
cccccc
;
pointer-events: none;
}
}
...
...
@@ -62,3 +65,7 @@
max-width: 700px !important;
}
}
.ant-dropdown-menu-item-selected > span {
color: #333333;
}
\ No newline at end of file
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.jsx
View file @
799e15a4
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-03-27 11:15:03
* @LastEditors: yuananting
* @LastEditTime: 2021-04-
09 16:55:39
* @LastEditTime: 2021-04-
15 13:22:10
* @Description: 助学工具-试卷-预览试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -284,7 +284,7 @@ class PreviewPaperModal extends Component {
footer=
{
null
}
onCancel=
{
this
.
props
.
close
}
>
<
div
className=
"paper-title"
>
{
paperName
}
</
div
>
{
paperName
&&
<
div
className=
"paper-title"
>
{
paperName
}
</
div
>
}
{
questionList
&&
questionList
.
length
>
0
?
(
<
div
className=
"question-list-box"
>
{
_
.
map
(
questionList
,
(
questionItem
,
questionIndex
)
=>
{
...
...
src/modules/teach-tool/paper-manage/modal/PreviewPaperModal.less
View file @
799e15a4
...
...
@@ -42,13 +42,16 @@
}
}
}
.question-info-item:last-child {
border-bottom: none;
}
.text {
margin-bottom: 8px;
color: #666666;
.question-tip {
margin-bottom: 8px;
}
.input-box {
color: #333333;
line-height: 20px;
* {
display: inline;
...
...
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