diff --git a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css index c88c407..16e7d54 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.css +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.css @@ -10,9 +10,18 @@ background-color: #f7f8fa; } .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; @@ -68,4 +77,20 @@ box-shadow: inset 0 0 0 2px #aee1e3, /* 外边框颜色 */ inset 0 0 0 6px #aee1e3; +} +.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 0d2ba7a..dc84068 100644 --- a/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx +++ b/app-dm/src/TeacherPages/Questionmanage/questionmanage.jsx @@ -188,7 +188,7 @@ function Questionmange(){ {type==='选择题'&&data&&
- {isTrue&&} + {isTrue&&} {Object.keys(data).map((key)=>( @@ -239,46 +239,47 @@ function Questionmange(){ {isTrue&&} } {append&&
- 请选择题目类型 - - 请选择填入章节 - - {Newtype==='选择题'&&
题目ID题目选项A选项B选项C选项D正确选项选择要删除的题目题目ID题目选项A选项B选项C选项D正确答案选择要删除的题目
+

+ {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 = []