日期:2014-05-20  浏览次数:20663 次

extjs bbar iconCls 请问这个图标怎么加载进来呀
extjs bbar代码 iconCls : 'icon-plugin',为什么我的图标显示不出来呢,还有没有其它的加载图标的方法呢
JScript code
bbar : [{
                    text : '开始',
                    iconCls : 'icon-plugin',
                    menu : new Ext.menu.Menu({
                        items : [{
                            text : '关于系统',
                            iconCls : 'icon-info',
                            handler : function() {
                                new Ext.Window({
                                    closeAction : 'close',
                                    resizable : false,
                                    bodyStyle : 'padding: 7',
                                    modal : true,
                                    title : '关于本系统',
                                    html : 'hello',
                                    width : 300,
                                    height : 200
                                }).show();
                            }
                        }, {
                            text : '退出系统',
                            iconCls : 'icon-delete',
                            handler : function() {
                                Ext.Msg.confirm('操作提示', '您确定要退出本系统?', function(btn) {
                                    if ('yes' == btn) {
                                        Ext.Ajax.request({
                                            url : 'logout.action',
                                            success : function() {
                                                location = '/index.jsp';
                                            },
                                            failure : function() {
                                                Ext.Msg.show({
                                                    title : '错误提示',
                                                    msg : '退出系统失败!',
                                                    icon : Ext.Msg.ERROR,
                                                    buttons : Ext.Msg.OK
                                                });
                                            }
                                        });
                                    }
                                });
                            }
                        }]
                    })
                }],


------解决方案--------------------
有,xtype:panel,用panel来加载