元素内容拖拽
元素拖动,可以删除已经拖动后的元素
XML/HTML Code
- <div class="select-wrapper">
- <div class="div-group">
- <div class="width-53 clearfix">
- <div class="form-content pink-border-color border-2px clearfix" data-bs="lead" id="leading">
- <div class="form-left">
- <div class="form-title pink-bg-color">部门负责人</div>
- </div>
- <div class="form-right">
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span blue-bg"></span>
- 100 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">2</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span qi-bg"></span>
- 95 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">5</span>
- </div>
- </div>
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span green-bg"></span>
- 90 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span yellow-bg"></span>
- 90以下 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="width-47 clearfix">
- <div class="people-list pink-border-color border-2px ">
- <ul class="list-wrapper clearfix" id="leader-wrapper">
- </ul>
- </div>
- </div>
- </div>
- <div class="div-group">
- <div class="width-53 clearfix">
- <div class="form-content qblue-border-color border-2px clearfix" data-bs="own" id="owner">
- <div class="form-left">
- <div class="form-title qblue-bg-color">本部门人员</div>
- </div>
- <div class="form-right">
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span blue-bg"></span>
- 100 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">2</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span qi-bg"></span>
- 95 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">5</span>
- </div>
- </div>
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span green-bg"></span>
- 90 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span yellow-bg"></span>
- 90以下 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="width-47 clearfix">
- <div class="people-list qblue-border-color border-2px ">
- <ul class="list-wrapper clearfix" id="owner-wrapper">
- </ul>
- </div>
- </div>
- </div>
- <div class="div-group">
- <div class="width-53 clearfix">
- <div class="form-content qyellow-border-color border-2px clearfix" data-bs="other" id="other">
- <div class="form-left" style="margin-top: -70px">
- <div class="form-title qyellow-bg-color">其他部门人员</div>
- </div>
- <div class="form-right">
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span blue-bg"></span>
- 100 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">2</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span qi-bg"></span>
- 95 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz num-xz">
- <span class="numSpan">0</span>/<span class="totalNum">5</span>
- </div>
- </div>
- <div class="score-wrapper clearfix">
- <div class="score-f">
- <span class="score-span green-bg"></span>
- 90 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- <div class="score-wrapper">
- <div class="score-f">
- <span class="score-span yellow-bg"></span>
- 90以下 :
- </div>
- <div class="top-droppable pink-border-color people-group clearfix">
- </div>
- <div class="score-xz">
- <span class="numSpan">0</span>/<span>不限</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="width-47 clearfix">
- <div class="people-list qyellow-border-color border-2px ">
- <ul class="list-wrapper clearfix" id="other-wrapper">
- </ul>
- </div>
- </div>
- </div>
- </div>
原文地址:http://www.freejs.net/article_jquerywenzi_747.html