easyui easyui-layout 调整布局大小

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/rrrgy236116/article/details/72538814

<body class="easyui-layout" >

<div id="p2" data-options="region:'north',border:false" style="overflow: hidden;padding:0px">

<tr id="trType" style="height:130px;" @*style="display:none;"*@>

<div id="p1" data-options="region:'center',border:false" style="width:100%;height:100%; overflow: hidden;padding: 0px; background: #eee;">     


调整p2高度。

js: $('#trType').hide();$('#p2').panel({height:150});$('body').layout('resize');

猜你喜欢

转载自blog.csdn.net/rrrgy236116/article/details/72538814