From 60b141c5ca0ef341dd0bf21bf18ddd79612d15e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 6 Mar 2020 18:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/question/Question.js | 30 +++++++++---------- .../question/questioncss/questioncom.css | 8 ++++- public/react/src/modules/tpm/TPMIndex.css | 2 +- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/public/react/src/modules/question/Question.js b/public/react/src/modules/question/Question.js index f4d859ed7..9613a4cc3 100644 --- a/public/react/src/modules/question/Question.js +++ b/public/react/src/modules/question/Question.js @@ -1086,7 +1086,7 @@ class Question extends Component { { ` .ant-drawer-content-wrapper{ - width: 200px !important; + width: 160px !important; overflow:hidden; margin-top: 62px; } @@ -1134,8 +1134,8 @@ class Question extends Component { "" :

单选题{'('}{single_questions_count}{')'}

-

单选题{'('}{single_questions_count}{')'}

+

this.showQuestionModals("SINGLE")}>

} @@ -1145,8 +1145,8 @@ class Question extends Component { :

多选题{'('}{multiple_questions_count}{')'}

-

多选题{'('}{multiple_questions_count}{')'}

+

this.showQuestionModals("MULTIPLE")}>

} @@ -1156,8 +1156,8 @@ class Question extends Component { :

判断题{'('}{judgement_questions_count}{')'}

-

判断题{'('}{judgement_questions_count}{')'}

+

this.showQuestionModals("JUDGMENT")}>

} @@ -1167,8 +1167,8 @@ class Question extends Component { :

填空题{'('}{completion_questions_count}{')'}

-

填空题{'('}{completion_questions_count}{')'}

+

this.showQuestionModals("COMPLETION")}>

} @@ -1178,8 +1178,8 @@ class Question extends Component { :

简答题{'('}{subjective_questions_count}{')'}

-

简答题{'('}{subjective_questions_count}{')'}

+

this.showQuestionModals("SUBJECTIVE")}>

} @@ -1189,8 +1189,8 @@ class Question extends Component { :

实训题{'('}{practical_questions_count}{')'}

-

实训题{'('}{practical_questions_count}{')'}

+

} @@ -1200,8 +1200,8 @@ class Question extends Component { :

编程题{'('}{program_questions_count}{')'}

-

编程题{'('}{program_questions_count}{')'}

+

this.showQuestionModals("PROGRAM")}>

} diff --git a/public/react/src/modules/question/questioncss/questioncom.css b/public/react/src/modules/question/questioncss/questioncom.css index f2aeacef4..096b30007 100644 --- a/public/react/src/modules/question/questioncss/questioncom.css +++ b/public/react/src/modules/question/questioncss/questioncom.css @@ -271,6 +271,12 @@ width:30%; } +.w80s{ + width:80%; +} +.w20s{ + width:20%; +} .w50s{ width: 50%; @@ -913,7 +919,7 @@ width: 40px !important; position: absolute; border-radius: 4px; - top: -95%; + top: -79%; } .shitikussmys{ width:29px !important; diff --git a/public/react/src/modules/tpm/TPMIndex.css b/public/react/src/modules/tpm/TPMIndex.css index 4f19260aa..2ec090e7d 100644 --- a/public/react/src/modules/tpm/TPMIndex.css +++ b/public/react/src/modules/tpm/TPMIndex.css @@ -268,7 +268,7 @@ body>.-task-title { background: #EEEEEE; } .mystask-sidebar{ - right: 220px !important; + right: 181px !important; } .mystask-sidebars{ right: 20px !important;