Authored by dongjunjie

店铺装修弹框自适应高度bug

@@ -1013,7 +1013,7 @@ function untilEditorEvent(id){ @@ -1013,7 +1013,7 @@ function untilEditorEvent(id){
1013 }); 1013 });
1014 $("#"+id+" nav").hide(); 1014 $("#"+id+" nav").hide();
1015 $(".modal-dialog").css("width","900px"); 1015 $(".modal-dialog").css("width","900px");
1016 - $(".modal-dialog .modal-body .editor-dialog").css("max-height","650px"); 1016 + $(".modal-dialog .modal-body .editor-dialog").css("max-height",($(window).height()-300) + "px");
1017 $(".modal-dialog .modal-body .editor-dialog").css("overflow-y","auto"); 1017 $(".modal-dialog .modal-body .editor-dialog").css("overflow-y","auto");
1018 $(".modal-dialog .modal-body .editor-dialog").css("overflow-x","hidden"); 1018 $(".modal-dialog .modal-body .editor-dialog").css("overflow-x","hidden");
1019 } 1019 }