easyUI框架之学习1--框架

时间:2021-12-03 19:48:24

<!DOCTYPE html>
<html>
<head >
<link href="~/Scripts/easyUI/themes/default/easyui.css" rel="stylesheet" />
<link href="~/Scripts/easyUI/themes/icon.css" rel="stylesheet" />
<script src="~/Scripts/easyUI/jquery-1.7.2.min.js"></script>
<script src="~/Scripts/easyUI/jquery.easyui.min.js"></script>
<script src="~/Scripts/easyUI/locale/easyui-lang-zh_CN.js"></script>

</head>

<body class="easyui-layout">

<!--  最上面DIV-->
<div data-options="region:'north',border:false" style="height:60px;background:#B3DFDA;padding:10px">north region</div>

<!--  左边DIV-->
<div data-options="region:'west',split:true,title:'West'" style="width:150px;padding:10px;">west content</div>

<!--  右边DIV-->
<div data-options="region:'east',split:true,collapsed:true,title:'East'" style="width:100px;padding:10px;">east region</div>

<!--  下边DIV-->
<div data-options="region:'south',border:false" style="height:50px;background:#A9FACD;padding:10px;">south region</div>

<!--  中间DIV  如果把Title设置为空,则标题栏不显示-->
<div data-options="region:'center',title:'Main Title'"></div>

</body>

</html>