|
|
@@ -471,14 +471,14 @@ var app = new Vue({
|
|
|
// $("#cropImg").remove();
|
|
|
$(".crop-img").html('<img id="cropImg" src="" alt="" off="">');
|
|
|
var iWidth = $("body").outerWidth();
|
|
|
- var iHeight = $(".crop-img").outerHeight();
|
|
|
- iHeight = iHeight? iHeight : $("body").outerHeight()-130;
|
|
|
+ var iHeight = $("body").outerHeight()-130;
|
|
|
if(id>=0){
|
|
|
$("#cropImg").attr('src', _this.cropParams.old_url);
|
|
|
}else{
|
|
|
$("#cropImg").attr('src', _this.cropParams.url);
|
|
|
}
|
|
|
$image = $("#cropImg");
|
|
|
+ alert(iWidth+'++'+iHeight);
|
|
|
console.log(iWidth+'++'+iHeight);
|
|
|
var cropWidth = $('body').width();
|
|
|
$("#cropBox").popup();
|