var panel = new Ext.Panel({
fullscreen: true, //全屏
id: 'main_panel',
scroll: 'vertical',
layout: {
type: 'vbox',
align: 'stretch'
},
defaults: {
flex: 2
},
//activeItem:
items: [getTabPanel()],
dockedItems: [{
xtype: 'toolbar',
dock: 'top',
title: 'test'
}, getNavigation().show()]
});
目前没什么可写的 以后补上