|
|
|
@ -92,8 +92,8 @@
|
|
|
|
|
<div class="resourcesCheckAll">
|
|
|
|
|
<input id="checkboxAll" type="checkbox" value="" onclick="all_select();" class="resourcesCheckbox" />
|
|
|
|
|
</div>
|
|
|
|
|
<a href="javascript:void(0);" class="replyGrey mr15" onclick="all_select();">全选</a>
|
|
|
|
|
<a href="javascript:void(0);" class="replyGrey" onclick="batch_delete();">删除</a>
|
|
|
|
|
<a href="javascript:void(0);" class="replyGrey1 mr15" onclick="all_select();">全选</a>
|
|
|
|
|
<a href="javascript:void(0);" class="replyGrey1" onclick="batch_delete();">删除</a>
|
|
|
|
|
<div class="resourcesSelectSend">
|
|
|
|
|
<div class="fl">选择 <span class="c_red" id="res_count">0</span> 个资源</div>
|
|
|
|
|
<div class="resourcesSelectSendButton" onclick="batch_send();">
|
|
|
|
@ -447,6 +447,54 @@ $(".resourcesList").click(function(e) {
|
|
|
|
|
|
|
|
|
|
lastSendType = sendType;
|
|
|
|
|
}
|
|
|
|
|
// var iWidth = document.documentElement.clientWidth;
|
|
|
|
|
// var iHeight = document.documentElement.clientHeight;
|
|
|
|
|
// var moveX = 0;
|
|
|
|
|
// var moveY = 0;
|
|
|
|
|
// var moveTop = 0;
|
|
|
|
|
// var moveLeft = 0;
|
|
|
|
|
// var moveable = false;
|
|
|
|
|
// var docMouseMoveEvent = document.onmousemove;
|
|
|
|
|
// var docMouseUpEvent = document.onmouseup;
|
|
|
|
|
// $("#upload_box").mousedown(function() {
|
|
|
|
|
// var evt = getEvent();
|
|
|
|
|
// moveable = true;
|
|
|
|
|
// moveX = evt.clientX;
|
|
|
|
|
// moveY = evt.clientY;
|
|
|
|
|
//
|
|
|
|
|
// moveTop = parseInt($("#upload_box").css('top'));
|
|
|
|
|
// moveLeft = parseInt($("#upload_box").css('left'));
|
|
|
|
|
//
|
|
|
|
|
// $(document).mousemove( function() {
|
|
|
|
|
// if (moveable) {
|
|
|
|
|
// var evt = getEvent();
|
|
|
|
|
// var x = moveLeft + evt.clientX - moveX;
|
|
|
|
|
// var y = moveTop + evt.clientY - moveY;
|
|
|
|
|
// if ( x > 0 &&( x + 322 < iWidth) && y > 0 && (y + 257 < iHeight) ) {
|
|
|
|
|
// $("#upload_box").css('left', x + "px");
|
|
|
|
|
// $("#upload_box").css('top', y + "px");
|
|
|
|
|
// console.log( moveX)
|
|
|
|
|
// console.log( moveY)
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// $(document).mouseup (function () {
|
|
|
|
|
// if (moveable) {
|
|
|
|
|
// document.onmousemove = docMouseMoveEvent;
|
|
|
|
|
// document.onmouseup = docMouseUpEvent;
|
|
|
|
|
// moveable = false;
|
|
|
|
|
// moveX = 0;
|
|
|
|
|
// moveY = 0;
|
|
|
|
|
// moveTop = 0;
|
|
|
|
|
// moveLeft = 0;
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// });
|
|
|
|
|
//
|
|
|
|
|
// // 获得事件Event对象,用于兼容IE和FireFox
|
|
|
|
|
// function getEvent() {
|
|
|
|
|
// return window.event || arguments.callee.caller.arguments[0];
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|