easyUI Layout自适应窗口大小

</pre><p>关于页面自适应     效果</p><p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApgAAAEdCAYAAACopBc/AAAgAElEQVR4Ae3dC3RV5Z338V9mQgv4Asq1KpeXgIRZJI7YhjUFIbTgjAXGV4Q1xoVxDEHE0lEMl5BgpVgJlwhop1ouJiBJqp0VxHFQZ4YECQizJmmNi4RlSCFOoAUCxDfAGNLCkFl7n0vOyTkJUPNgkufLWu257fM/+/n89z77d559TowoKytrlKS77rpLjY2NioiI4BIHtgOD+8Fvf/tbxcTEOLsd/xBA4CYKlJeXc6wz+N5GhiBDBWbISN++7WwYzj8ucWA7ML8f+PY759I56PEPAQTMCDT/MMcxjmOcs6WxHZjfDvwB08yuTVUEELgegeHDhzNrzMwKZ4/a+OyRc7aAfwgg8PUI+AOmL81/PavBqyJgt0DgaQVnX+Q2X9VhO/jq+0G4dxWOdeFUuA+Bthf4s7YvSUUEELhRAd9Bj0vzp22c3uBsh/ON7ocsjwACbSfgD5i84drxhkuf20ef224XphICCNyIAO+B7eM9kD50/j74T5E7OygN7/wNp89f/3Ye7mDo2/fCPcZ9CCDQtgK+/Y1LjnnOlsV2YGY7aH0GsyJLs2cv8P9ve4W3EeeKtH7BIr30UU3rjbl8QV9+eV715/5Lnx36jT5+/029sT5Dixdk6t/PegZ09qMMzZ6dpc9a+BX7tR5nwzCzYeBq1rVtD5dUQwCB6xVo/b2tTG86x7ztZd5jW40+einwdnAYqa/4pV5asFGf1Dfdf/bf12rBmiz958k/uqvke73P3lyg2S8V6GwLx7prPe6rw6XZ92Z8287XP4PZ0o8KpFgtTu+qn2dUqCxrgZJrA3bjnFVKzvHcnrjkFSX2fEdLnt+nwEU8j0aqZ5/eGhw9XKPH/Z2mPDVYd9zi/RK/ZxdUxJFszV5b5i3eX4lr0zWxT6MifI/zC1P3Da+lPnF/x/lRiHcjD7pw3tToYcfpIf3qGNtr0E7mvRG6n53RRy+tUk5VwNJ7s5S8N+B2VcDticn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rlK7dp1X+uTAB1tZXsHrfO1aQUuEuVGs9QmjNC+3MnRmr2G/8itTtHV+4LqFKRHurrDjalqwNevzZyrVq1evpoUHDNDgsj+o+bcImhbwXmv+mndP1urzyzUvNVfFNXUq/ni/Zs2/3zOLHPJkzx3XO4Ppe3rgDKbvvvCnyJse7cjXCJgduXusOwIIIIDATRFoKM7W+soVSvZMlf3Jr1lzvFK6NU7zN36iYxcvak9yg1Ln5cl/cv3QfuXFxal5TPOcck/Q7rvTNS3wwRaWd1awpXVusdY1RzVGKRt36r6Pp2vcvNzg74J2vV8vbpzWaiALV76ldXFOK1/0zXaGe6L3vhFxs1SZvcP/fcm66pqgWcdwdcK+ZtcRGj8tVr1Uqbx54zRpd6xm3Rf81YWg1RgzQ1tnzdJbR72nvY9u1dRms7XNv/oQfgYzqGrTjev4EZH/R0NNz2pX1wiY7aodrAwCCCCAQLsTqM7XvKRD+uHWFN3dwmntG1rnEYP9p8cHTJulWSW7dcj7i/HqQ7sUNzlWzV/Gc8p9j9K/uV5jX9jvn6FraXm1ss4t1bquMdw6Qo9t/I123vexpk95Vru8v3pyQ1vIr84nafn7SRre/H7fqW9JX2ldnInj8enaOeuQ5n3b80OsBTsqpdhvhvgFji3cazbsz9D0sse0cc2LenXnYR1N+YNSH85qCv6BBVSt/HlTlJSXp0eHe3+4MzxJ74eMNfgvAYTOYNboeEkLp8jHpAR81SD8D34CflsVtHbt5cb/Ap4i8eY++XHGAAAAAElFTkSuQmCC" alt="" /></p><p><pre name="code" class="javascript">//监听窗口大小变化
	window.onresize = function(){
		setTimeout(redraw,300);
	};
	//改变表格宽高
	//自动调整
		function redraw(){
			var win_width = $("#content").width();
			$('#content').layout('panel', 'west').panel('resize',{width:win_width/3});
			$('#content').layout('panel', 'center').panel('resize',{width:win_width/3});
			$('#content').layout('panel', 'east').panel('resize',{width:win_width/3});
			$('#content').layout('resize');
		}


你可能感兴趣的:(easyUI Layout自适应窗口大小)