diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css index 726379f..926cfb1 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css @@ -16,9 +16,18 @@ align-items: center; /* 垂直居中 */ } .appendBox{ - width: 1200px; + width: 1400px; height: 300px; - background-color: aqua; + border: 1ch solid #aee1e3; + margin-top: 25px; +} +.appendBox p{ + all: unset; + position: absolute; + width: 1400px; + padding-top: 10px; + padding-bottom: 10px; + background-color: #aee1e3; } .select-box2{ font-size: 18px; @@ -86,5 +95,36 @@ box-shadow: inset 0 0 0 2px #aee1e3, /* 外边框颜色 */ inset 0 0 0 6px #aee1e3; - margin-top: 80px; +} +.appendbtn{ + width:80px; + height: 40px; + background-color: #aee1e3; + border: none; + 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; + background-color: #aee1e3; + border: none; + margin-left: 25px; + margin-top: 150px; } \ 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 f82bc10..400a577 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx @@ -248,46 +248,47 @@ function Questionmange(){ } {append&&
- 请选择题目类型 - - 请选择填入章节 - - {Newtype==='选择题'&& +

+ {Newtype==='选择题'&&
- - - - - - + + + + + +
} - {Newtype==='填空题'&& + {Newtype==='填空题'&&
- - + +
} - {Newtype==='判断题'&& + {Newtype==='判断题'&&
- + - - + +
} - - + +
} ) diff --git a/python/app.py b/python/app.py index fa459f2..0fee7da 100644 --- a/python/app.py +++ b/python/app.py @@ -216,10 +216,6 @@ def detaileddata(): ClassID=data['selectedValue'] testID=data['testID'] return jsonify({'data':detailed_class(testID,ClassID)}) - -@app.route('/api/teacher/', methods=['POST']) -def find_test(): - return @app.route('/api/teacher/find_student', methods=['POST']) def find_student(): # 获取班级学生的具体信息 student_list = []