案例: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.form.Panel', {
9
            id: 'newForm',
10
            renderTo: 'formId',
11
            border: true,
12
            width: 600,
13
            items: [{
14
               xtype: 'textfield',
15
               fieldLabel: 'Text Field'
16
            },{
17
               xtype: 'displayfield',
18
               fieldLabel: 'Display Field'
19
            },{
20
               xtype: 'textarea',
21
               fieldLabel: 'Text Area'
22
            },{
23
               xtype: 'datefield',
24
               fieldLabel: 'Date picker'

 运行结果 
 北美留学生论坛