Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r28058 -r28061 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28058) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 28061) @@ -3831,8 +3831,18 @@ var endCase = openModalWindowForExt(WWWROOT+"/disinfectsystem/recyclingApplication/selectEndCause.jsp", '','请选择终止原因', "760", "400"); var htmlHeight = $('html').height(); var htmlWidth = $('html').width(); - var left = parseInt((htmlWidth-$('#extWindow').width())/2); - var top = parseInt((htmlHeight-$('#extWindow').height())/2); + var left = 0; + var top = 0; + + if(isIE()){ + left = parseInt((htmlWidth-$('#extWindow').width())/2); + top = parseInt((htmlHeight-$('#extWindow').height())/2); + }else { + var body_height = parseInt(htmlHeight/getZoom(1920,1080)); + var body_width = parseInt(htmlWidth/getZoom(1920,1080)); + left = parseInt((body_width-$('#extWindow').width())/2); + top = parseInt((body_height-$('#extWindow').height())/2); + } $('.ext-el-mask').css({'width':'100%','height':'100%'}); $('#extWindow').css({'left':left+'px','top':top+'px'});