js里获取html真实舞台宽高
var winSize = {width:document.documentElement.clientWidth,height:document.documentElement.clientHeight};
var winWidth = 0; var winHeight = 0; window.onload = function(){ console.log("onload..."); winWidth = document.documentElement.clientWidth; winHeight = document.documentElement.clientHeight; }