diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css index c88c407..5fafb3f 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css @@ -8,6 +8,12 @@ border-radius: 10px; float: right; background-color: #f7f8fa; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} +.question-allbox{ + display: flex; + justify-content: center; /* 水平居中 */ + align-items: center; /* 垂直居中 */ } .appendBox{ width: 1200px; @@ -16,8 +22,11 @@ } .select-box2{ font-size: 18px; - margin-left: 50px; - margin-top: 20px; + /* margin-left: 50px; + margin-top: 20px; */ + position: absolute; + left: 50px; + top: 20px; padding-bottom: 20px; } .select-box2 select{ @@ -25,13 +34,22 @@ height: 28px; margin: 0 10px; } +.link-box-question{ + height: 500px; + box-shadow: + inset 0 0 0 2px #aee1e3, /* 外边框颜色 */ + inset 0 0 0 6px #aee1e3; + margin-top: 80px; +} .title-link1{ + height: 60px; font-size: 18px; line-height: 60px; background-color: #aee1e3; } .title-link1 th{ - padding: 0 65px; + padding: 0 29px; + min-width: 92.5px; } .question-box{ text-align: center; @@ -63,9 +81,10 @@ } .smaller-box{ - margin: 0 300px; - height: 400px; + margin: 0 200px; + height: 500px; box-shadow: inset 0 0 0 2px #aee1e3, /* 外边框颜色 */ inset 0 0 0 6px #aee1e3; + margin-top: 80px; } \ No newline at end of file diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx b/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx index 0d2ba7a..f82bc10 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx @@ -169,6 +169,7 @@ function Questionmange(){ return (
+
{!append&&
题目类型 @@ -186,9 +187,16 @@ function Questionmange(){
{type==='选择题'&&data&& -
+
- {isTrue&&} + + + + + + + + {isTrue&&} {Object.keys(data).map((key)=>( @@ -235,9 +243,10 @@ function Questionmange(){
题目ID题目选项A选项B选项C选项D正确选项选择要删除的题目题目ID题目选项A选项B选项C选项D正确选项选择要删除的题目
} {!isTrue&&} {!isTrue&&} - {isTrue&&} - {isTrue&&} + {isTrue&&} + {isTrue&&}
} +
{append&&
请选择题目类型