Extjs iconCls 的用法

如何在按钮中加icon:

1、在Extjs中
{
xtype:'button',
text:'学生档案',
iconCls:'file',
},
2、在css中写:

.file{
background-image: url(‘./img/book_key.png.png‘)!important;
}

posted @ 2017-12-24 15:00  一轮明月随潮涌  阅读(2127)  评论(0编辑  收藏  举报