zbb20170927 jquery easyui 布局问题,把style="height:100%;" 设置成按分辨的百分比,后不显示为你痛

增加代码  data-options="fit:true" 可解决问题

<div id="cc" class="easyui-layout" data-options="fit:true" style="width: 100%; height: 100%;">
        <div data-options="region:'north',title:'North Title',split:true"
            style="height: 100px;"></div>
        <div data-options="region:'south',title:'South Title',split:true"
            style="height: 100px;"></div>
        <div
            data-options="region:'east',iconCls:'icon-reload',title:'East',split:true"
            style="width: 100px;"></div>
        <div data-options="region:'west',title:'West',split:true"
            style="width: 100px;"></div>
        <div data-options="region:'center',title:'center title'"
            style="padding: 5px; background: #eee;"></div>
    </div>

 

posted @ 2017-09-27 18:23  DaryllD  阅读(319)  评论(0编辑  收藏  举报