| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- 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: {
- closable: true,
- margin: 16
- },
- plugins: [new Ext.ux.TabCloseMenu({
- closeTabText: '关闭当前页',
- closeAllTabsText: '关闭全部页',
- closeOthersTabsText: '关闭其他页'
- })],
- items: [{
- xtype: 'core-tab-panel',
- iconCls: 'x-sa sa-home',
- title: '首页',
- closable: false,
- items: [{
- xtype: 'home',
- }]
- }]
- }
- ],
- });
|