Extjs iconCls 的用法

如何在按钮中加icon:

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

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

记录点滴,迭代精进,追求新生。Email: 942298768@qq.com
原文地址:https://www.cnblogs.com/chaoyong/p/8098096.html