1个回答
展开全部
var MyViewport = new Ext.Viewport({
layout: "fit",
items: [{
layout: "border",
border: false,
items: [{
xtype: "panel",
title: "导航栏",
region: "west",
width: 200,
split: true,
layout: "accordion",
collapsible: true,
margins: "0 0 0 5",
hideBorders: true,
items: [{
xtype: "panel",
title: "我的面板"
},
{
xtype: "panel",
title: "系统信息"
}]
},
{
xtype: "panel",
title: "当前位置",
region: "center",
margins: "0 5 0 0"
},
{
xtype: "panel",
title: "后台管理系统",
region: "north",
split: true,
border: false
},
{
xtype: "panel",
region: "south",
split: true,
border: false,
bbar: [{
xtype: "label",
text: "超级管理员"
},
"->", {
text: "安全退出"
},
{
text: "BUG提交"
}]
}]
}]
})
试试吧。
layout: "fit",
items: [{
layout: "border",
border: false,
items: [{
xtype: "panel",
title: "导航栏",
region: "west",
width: 200,
split: true,
layout: "accordion",
collapsible: true,
margins: "0 0 0 5",
hideBorders: true,
items: [{
xtype: "panel",
title: "我的面板"
},
{
xtype: "panel",
title: "系统信息"
}]
},
{
xtype: "panel",
title: "当前位置",
region: "center",
margins: "0 5 0 0"
},
{
xtype: "panel",
title: "后台管理系统",
region: "north",
split: true,
border: false
},
{
xtype: "panel",
region: "south",
split: true,
border: false,
bbar: [{
xtype: "label",
text: "超级管理员"
},
"->", {
text: "安全退出"
},
{
text: "BUG提交"
}]
}]
}]
})
试试吧。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询