@@ -131,7 +131,7 @@
background-color: #fff;
overflow: hidden;
width: 900px;
- padding-top: 20px;
+ // padding-top: 20px;
box-sizing: border-box;
margin-left: -450px;
// margin-top: -415px;
@@ -145,6 +145,7 @@
width: 100%;
max-height: 800px;
position: relative;
+ top:10px;
float: left;
// position: absolute;
// left: 50%;
@@ -96,6 +96,7 @@ function dragBox(dragWrap,dragTop,type,addDom,img) {
let lenHeight = wrap.height()
if(img){
$("#preImg").css("height",(lenHeight)+'px')
+ $("#dragModalWrap").css("height",(lenHeight)+'px')
}
let page = getPageCoordinate(event, '0');
mouseX = page.boxLeft - wrap.offset().left; //鼠标到拖拽元素的左边界的距离