|
@@ -96,6 +96,7 @@ function dragBox(dragWrap,dragTop,type,addDom,img) {
|
|
let lenHeight = wrap.height()
|
|
let lenHeight = wrap.height()
|
|
if(img){
|
|
if(img){
|
|
$("#preImg").css("height",(lenHeight)+'px')
|
|
$("#preImg").css("height",(lenHeight)+'px')
|
|
|
|
+ $("#dragModalWrap").css("height",(lenHeight)+'px')
|
|
}
|
|
}
|
|
let page = getPageCoordinate(event, '0');
|
|
let page = getPageCoordinate(event, '0');
|
|
mouseX = page.boxLeft - wrap.offset().left; //鼠标到拖拽元素的左边界的距离
|
|
mouseX = page.boxLeft - wrap.offset().left; //鼠标到拖拽元素的左边界的距离
|