easyUI自定义icon
首先我们需要下载好自己需要的标签并且放在一个文件中,然后把这个文件夹复制到easyui所在目录下的themes目录下
如图
usericons:存放自定义icon文件夹
icons.css:配置自定义icon的css文件
/*配置icon的css*/
.icon-home{
background:url('usericons/home.png') no-repeat center center;
}
.icon-item{
background:url('usericons/item.png') no-repeat center center;
}
.icon-writeblog{
background:url('usericons/writeblog.png') no-repeat center center;
}
.icon-bkgl{
background:url('usericons/bkgl.png') no-repeat center center;
}
.icon-bklb{
background:url('usericons/bklb.png') no-repeat center center;
}
.icon-plgl{
background:url('usericons/plgl.png') no-repeat center center;
}
.icon-grxx{
background:url('usericons/grxx.png') no-repeat center center;
}
.icon-grxxxg{
background:url('usericons/grxxxg.png') no-repeat center center;
}
.icon-system{
background: