From 5185279bbb5de67e2c67d04623e73955d6fe366e Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期五, 26 十月 2018 13:16:38 +0800 Subject: [PATCH] 修改内容 --- gx_tieta/WebRoot/js/popup.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/js/popup.js b/gx_tieta/WebRoot/js/popup.js index 05bc3c8..75df55c 100644 --- a/gx_tieta/WebRoot/js/popup.js +++ b/gx_tieta/WebRoot/js/popup.js @@ -12,6 +12,8 @@ $('.popup-mask').animate({height: winHt+"px"}); this.centerPopup(); this.popup.css('visibility', 'visible'); + + $('body').css('overflow-y', 'hidden'); //console.info('鏄剧ず鎵ц鎴愬姛锛侊紒锛�'); }; @@ -24,6 +26,7 @@ Popup.prototype.hidePopup = function() { this.popup.css('top', -9999+'px'); + $('body').css('overflow-y', 'auto'); $('.popup-mask').animate({height:0},function() { $('.popup-mask').remove(); -- Gitblit v1.9.1