From 803a7d44e14c502268e03f258a2bc6029cf4b407 Mon Sep 17 00:00:00 2001
From: jack_rabbit <376168706@qq.com>
Date: Tue, 17 Dec 2019 13:41:45 +0800
Subject: [PATCH] 1.增加数字题
---
WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp | 50 ++++++++++++++++++++++++++++++++++++++++++++------
WebRoot/static/js/control-604.js | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 101 insertions(+), 9 deletions(-)
diff --git a/WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp b/WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp
index b2dd878..2818672 100644
--- a/WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp
+++ b/WebRoot/WEB-INF/jsp/sunvote/teacher/creat_question.jsp
@@ -19,6 +19,9 @@
+
@@ -201,8 +239,8 @@
$("title").html(title);
}
$(document).ready(function(){
- var _height = $(".page-header").height();
- $(".content").css("padding-top",_height);
+ var _height = $(".page-header").outerHeight();
+ $(".content").css("padding-top",_height+80);
});
@@ -211,8 +249,8 @@
//var testData={"title":"TEST1","exam_time":46,"paper_type":"1","subject_id":"1","grade_id":"1","user_id":"1","score":5,"questions":[{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"单选","option_num":"","option_content":"","answer":"","difficulty":"","analysis":"","question_from":"","score":1,"part_score":"","remark":"","rank":"1","no_name":"一、","questions":[{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"","option_num":4,"option_content":"","answer":"A","difficulty":"0","analysis":"","question_from":"1","score":1,"part_score":"0","remark":"","rank":"2","no_name":"1.1"},{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"","option_num":4,"option_content":"","answer":"B","difficulty":"0","analysis":"","question_from":"1","score":1,"part_score":"0","remark":"","rank":"2","no_name":"1.2"},{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"","option_num":4,"option_content":"","answer":"C","difficulty":"0","analysis":"","question_from":"1","score":1,"part_score":"0","remark":"","rank":"2","no_name":"1.3"},{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"","option_num":4,"option_content":"","answer":"D","difficulty":"0","analysis":"","question_from":"1","score":1,"part_score":"0","remark":"","rank":"2","no_name":"1.4"},{"chapter_id":"0","problem_type_id":"0","knowledge_id":"0","content":"","option_num":4,"option_content":"","answer":"A","difficulty":"0","analysis":"","question_from":"1","score":1,"part_score":"0","remark":"","rank":"2","no_name":"1.5"}]}]};
//var testData={"title":"TEST1","exam_time":46,"paper_type":"1","subject_id":"1","grade_id":"1","user_id":"1","score":5,"questions":[]};
-
+