通过CSS样式来修改ExtJS:TreePanel的小图标

网站建设 2023-01-28 21:39www.1681989.com免费网站
写在html<head>标签里面,

复制代码
代码如下:

<style type="text/css">
.x-tree-node-collapsed .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/1.gif);
}
.x-tree-node-expanded .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/drop-no.gif);
}
.x-tree-node-leaf .x-tree-node-icon{
background:transparent url(web/css/images/default/tree/2.gif);
}
</style>

Copyright © 2016-2025 www.1681989.com 推火网 版权所有 Power by