合作伙伴-产学联盟

dev_library
caishi 6 years ago
parent 8c57e3363e
commit ab054713bf

@ -3,7 +3,7 @@
<p class="font-16 edu-line padding30-20">合作伙伴</p>
<div class="clearfix">
<p class="font-16 ml20 mb15 mt15"> 产学联盟 </p>
<ul class='edu-cooperation clearfix cooperation-item' id="sortable2">
<ul class='edu-cooperation clearfix cooperation-team' id="sortable2">
<% @alliance_img.each do |alliance_img| %>
<li class="bor-grey-e pr" data-id="<%= alliance_img.id %>" data-position="<%= alliance_img.position %>">
<% if User.current.admin? %>
@ -144,7 +144,7 @@
$( "#sortable1" ).disableSelection();
$( "#sortable2" ).sortable({
containment:".cooperation-school",
containment:".cooperation-team",
sort:function(e, ui){
select_item = ui.item; //当前拖动的元素
pos_2 = $(select_item[0]).prev().attr("data-position");

Loading…
Cancel
Save