123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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: '关闭其他页'
- })],
- items: [{
- iconCls: 'x-sa sa-home',
- title: '首页',
- closable: false,
- items: [{
- xtype: 'home'
- }]
- }]
- }
- ],
- });
|