easyui easyui-layout 调整布局大小

来源:互联网 发布:用ps淘宝详情页怎么做 编辑:程序博客网 时间:2024/04/20 03:42

<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');

原创粉丝点击