diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css index 16e7d54..7914b85 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: 1400px; @@ -25,8 +31,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{ @@ -34,13 +43,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; @@ -72,8 +90,8 @@ } .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; @@ -86,6 +104,22 @@ margin-left: 1110px; margin-top: 150px; } +.appenddel{ + width:80px; + height: 40px; + background-color: #aee1e3; + border: none; + margin-left: 25px; + margin-top: 150px; +} +.appendbtn{ + width:80px; + height: 40px; + background-color: #aee1e3; + border: none; + margin-left: 1110px; + margin-top: 150px; +} .appenddel{ width:80px; height: 40px; diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx b/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx index dc84068..400a577 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&&

请选择题目类型