| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- Ext.define('saas.view.main.MainContainerWrap', {
- extend: 'Ext.container.Container',
- xtype: 'maincontainerwrap',
- requires: [
- 'Ext.tab.Panel'
- ],
- id: 'main-view-detail-wrap',
- flex: 1,
- layout: 'border',
- items: [
- {
- xtype: 'main-navigation',
- region: 'west',
- bind: {
- width: '{navWidth}'
- }
- },
- {
- xtype: 'tabpanel',
- region: 'center',
- flex: 1,
- id:'main-tab-panel',
- reference: 'mainTabPanel',
- cls: 'main-right-tabpanel',
- itemId: 'contentPanel',
- defaults: {
- xtype: 'core-tab-panel',
- },
- plugins: [new Ext.ux.TabCloseMenu({
- closeTabText: '关闭当前页',
- closeAllTabsText: '关闭全部页',
- closeOthersTabsText: '关闭其他页'
- }), new Ext.ux.TabReorderer()],
- items: [{
- iconCls: 'x-sa sa-home',
- title: '首页',
- closable: false,
- reorderable: false,
- // margin: '16 0 16 16',
- // scrollable: true,
- // bodyPadding: '0 16 0 0',
- items: [{
- xtype: 'home',
- }]
- }]
- }
- ],
- });
|