<!DOCTYPE html>
<html>
<head>
<link href="./ext-6.0.0/build/classic/theme-classic/resources/theme-classic-all.css" rel="stylesheet">
<script src="./ext-6.0.0/build/ext-all.js"></script>
<script type="text/javascript">
Ext.onReady(function () {
var component1 = Ext.create("Ext.Component", { //组件1
html: "First Component",
});
var component2 = Ext.create("Ext.Component", {//组件2
html: "Second Component",
});
var component3 = Ext.create("Ext.Component", {//组件3
html: "Third Component",
});
Ext.create("Ext.container.Container", {
renderTo: Ext.getBody(),
title: "Container",
border: 1,
width: "50%",
style: { borderStyle: "solid", borderWidth: "2px" },
items: [component1, component2, component3], //将组件名写在 items中
});
});
</script>
</head>
<body></body>
</html>
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。