案例:Extjs案例     状态:可编辑再运行    进入竖版
 运行结果 
AخA
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
   <link href="//cdn.bootcss.com/extjs/6.2.0/classic/theme-classic/resources/theme-classic-all.css" rel="stylesheet" />
5
   <script type="text/javascript" src="//cdn.bootcss.com/extjs/6.2.0/ext-all.js"></script>
6
   <script type="text/javascript">
7
      Ext.onReady(function() {
8
         Ext.create('Ext.container.Container', {
9
            renderTo : Ext.getBody(),
10
            layout : 'auto',
11
            width : 600,
12
            items : [{
13
               title: 'First Component',
14
               html : 'This is First Component'
15
            },{ 
16
               title: 'Second Component',
17
               html : 'This is Second Component'
18
            },{ 
19
               title: 'Third Component',
20
               html : 'This is Third Component' 
21
            },{ 
22
               title: 'Fourth Component',
23
               html : 'This is Fourth Component'
24
            }]
25
         });
26
      });
27
   </script>
28
</head>
29
<body>
30
</body>
31
</html>