新建试卷时调整题目顺序,点击上下移动后tip不消失
This commit is contained in:
parent
5b0cabb42c
commit
f9a36285fe
|
|
@ -1,7 +1,7 @@
|
|||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_MC();"><i class="fa fa-plus-circle color-light-green mr5"></i>单选题</a>
|
||||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_MCQ();"><i class="fa fa-plus-circle color-light-green mr5"></i>多选题</a>
|
||||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_single();"><i class="fa fa-plus-circle color-light-green mr5"></i>填空题</a>
|
||||
<a href="javascript:void(0);" class="fl add_item_part" onclick="add_multi();"><i class="fa fa-plus-circle color-light-green mr5"></i>简答题</a>
|
||||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_MC();">+ 单选题</a>
|
||||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_MCQ();">+ 多选题</a>
|
||||
<a href="javascript:void(0);" class="fl mr20 add_item_part" onclick="add_single();">+ 填空题</a>
|
||||
<a href="javascript:void(0);" class="fl add_item_part" onclick="add_multi();">+ 简答题</a>
|
||||
|
||||
<script type="text/javascript">
|
||||
function add_MC(){
|
||||
|
|
|
|||
|
|
@ -29,4 +29,6 @@
|
|||
$("#show_poll_questions_<%= @exercise_question.id %>").html("<%= escape_javascript(render :partial => 'show_single', :locals => {:exercise_question => @exercise_question}) %>");
|
||||
<% elsif @exercise_question.question_type == 4%>
|
||||
$("#show_poll_questions_<%= @exercise_question.id %>").html("<%= escape_javascript(render :partial => 'show_multi', :locals => {:exercise_question => @exercise_question}) %>");
|
||||
<% end%>
|
||||
<% end%>
|
||||
$(".data-tip-down").html("");
|
||||
$(".data-tip-down").hide();
|
||||
|
|
@ -9,7 +9,6 @@ a:hover.link-name-dark{ color:#5faee3;}
|
|||
.mb50{ margin-bottom: 50px;}
|
||||
.mr50{ margin-right: 50px;}
|
||||
.ml35{ margin-left:35px;}
|
||||
input,textarea,select{ border:1px solid #eee; background: #fff; color:#666;}
|
||||
.edu-name-dark{ max-width:100px; display: block; }
|
||||
.edu-info-dark{ max-width:345px; display: block; }
|
||||
.edu-color-grey{ color:#666;}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ a:hover.link-name-dark{ color:#5faee3;}
|
|||
.mb50{ margin-bottom: 50px;}
|
||||
.mr50{ margin-right: 50px;}
|
||||
.ml35{ margin-left:35px;}
|
||||
input,textarea,select{ border:1px solid #eee; background: #fff; color:#666;}
|
||||
.edu-name-dark{ max-width:150px; display: block; }/*添加学生时,列表里面显示姓名的部分宽度过小,由100px改为150px*/
|
||||
.edu-info-dark{ max-width:345px; display: block; }
|
||||
.edu-color-grey{ color:#666;}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ table,tr,td{border:0;}
|
|||
ol,ul,li{ list-style-type:none}
|
||||
a:link,a:visited{text-decoration:none;color:#898989; }
|
||||
a:hover {color:#FF7500;}
|
||||
input,textarea,select{ background: #fff; border:1px solid #eee; color:#666;}
|
||||
input,textarea,select{ background: #fff; border:1px solid #eee;}
|
||||
textarea{resize: none;}
|
||||
/*侧滚动条*/
|
||||
::-webkit-scrollbar { width:10px; height:10px; background-color: #F5F5F5; }
|
||||
|
|
|
|||
|
|
@ -438,7 +438,8 @@ html>body #ajax-indicator-base { position: fixed; }
|
|||
.question_item_con{font-weight: normal!important;border:1px solid #EEEEEE!important;color: #333!important;background: #FFFFff!important;position: relative}
|
||||
.exam_operator{cursor: pointer;position: absolute;right: 15px;top: 11px;}
|
||||
.question_item_con .write_answer{border-top:1px solid #EEEEEE;background:#EFF9FD;padding: 10px 15px;text-align:justify;}
|
||||
.add_item_part{width: auto;padding: 2px 20px;border: 1px solid #CCCCCC;border-radius: 3px;margin-left: 15px;cursor: pointer;}
|
||||
.add_item_part{width: auto;padding: 2px 20px;border: 1px solid #ff7500;border-radius: 3px;margin-left: 15px;cursor: pointer;color: #ff7500!important;}
|
||||
.add_item_part:hover{color:#fff!important;background-color: #ff7500}
|
||||
|
||||
|
||||
/*更新提示*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue