sencha touch点击实现在页面中弹出面板
var popup = Ext.create('Ext.Panel',{
floating : true,
centered : true,
modal : true,
fullscreen : true,
width : 400px,
height : 700px,
items:[
xtype : 'toolbar',
title : '详细信息',
items : [
{
xtype : 'spacer'
},
{
xtype : 'button',
text : '关闭',
handler : function(){
popup.hide();
}
}
]
]
})
然后在点击的函数中,调用popup.show()方法,就可以了