目錄html
目錄ajax
-----------------------佈局
咱們繼續講佈局
post
<body class="easyui-layout"> <div data-options="region:'north',border:false" style="height:60px;background:#B3DFDA;padding:10px">north region</div> <div data-options="region:'west',split:true,title:'West'" style="width:150px;padding:10px;">west content</div> <div data-options="region:'east',split:true,collapsed:true,title:'East'" style="width:100px;padding:10px;">east region</div> <div data-options="region:'south',border:false" style="height:50px;background:#A9FACD;padding:10px;">south region</div> <div data-options="region:'center',title:'Center'"></div> </body>
整個body 做爲一個佈局容器ui
嵌套佈局spa
<div class="easyui-layout" style="width:700px;height:350px;"> <div data-options="region:'north'" style="height:50px"></div> <div data-options="region:'south',split:true" style="height:50px;"></div> <div data-options="region:'east',split:true" title="East" style="width:180px;"></div> <div data-options="region:'west',split:true" title="West" style="width:100px;"></div> <div data-options="region:'center',iconCls:'icon-ok'" title="Center"> <div class="easyui-layout" data-options="fit:true"> <div data-options="region:'north',split:true,border:false" style="height:50px"></div> <div data-options="region:'west',split:true,border:false" style="width:100px"></div> <div data-options="region:'center',border:false"></div> </div> </div> </div>
這個東西 就是 收縮
collapsed:truecode
視頻下載地址視頻
http://pan.baidu.com/s/1sjEpVTrhtm
源碼blog