<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
<script type="text/javascript" src="ext-all-debug.js"></script>
<script type="text/javascript" src="ext-all.js"></script>
<script type="text/javascript" src="bootstrap.js"></script>
</head>
<body>
<script type="text/javascript">
Ext.onReady(function(){
var box1 = new Ext.Component({
autoEl:{
tag:'div',
style:'background:red;width:300px;height:30px',
html:'box1'
}
});
var box2 = new Ext.Component({
autoEl:{
tag:'div',
style:'background:yellow;width:300px;height:30px',
html:'box2'
}
});
var box3 = new Ext.Component({//生成一些组件,div p image...
autoEl:{
tag:'div',
style:'background:blue;width:300px;height:30px;color:#fff',
html:'box3'
}
}
ExtJS——页面布局汇总
最新推荐文章于 2021-06-30 13:08:30 发布