Ext.onReady(function() {
alert(123);
Ext.namespace("Pengtu.IndexPage");
Pengtu.IndexPage = Ext.extend(Ext.Viewport,{
frame:true,
north : new Ext.Panel({
title:'123',
region : "north",
border : false,
height : 78
}),
center : null,
west :new Ext.Panel({
title:'222',
region : "north",
border : false,
width : 180,
}),
constructor : function () {
Pengtu.IndexPage.superclass.constructor.call(this, {
border : false,
layout : "border",
items : [this.north, this.center, this.west]
});
this.afterPropertySet();
}
});
});我想弹出一个面板,可是没有实现,也不知道是不是这样写的那里有问题,求大家指导下谢谢
alert(123);
Ext.namespace("Pengtu.IndexPage");
Pengtu.IndexPage = Ext.extend(Ext.Viewport,{
frame:true,
north : new Ext.Panel({
title:'123',
region : "north",
border : false,
height : 78
}),
center : null,
west :new Ext.Panel({
title:'222',
region : "north",
border : false,
width : 180,
}),
constructor : function () {
Pengtu.IndexPage.superclass.constructor.call(this, {
border : false,
layout : "border",
items : [this.north, this.center, this.west]
});
this.afterPropertySet();
}
});
});我想弹出一个面板,可是没有实现,也不知道是不是这样写的那里有问题,求大家指导下谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货