<link rel="stylesheet" href="jquery/ztree/css/zTreeStyle/zTreeStyle.css" />
<script src="jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="jquery/ztree/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
<style type="text/css">
.ztree li span.button.pIcon01_ico_open{margin-right:2px; background: url(icon/office/file/FLD302.ICO) no-repeat scroll 0 0 transparent;background-size:contain; vertical-align:top; *vertical-align:middle}
.ztree li span.button.pIcon01_ico_close{margin-right:2px; background: url(icon/office/file/FLD301.ICO) no-repeat scroll 0 0 transparent;background-size:contain; vertical-align:top; *vertical-align:middle}
.ztree li span.button.icon01_ico_docu{margin-right:2px; background: url(icon/office/office/10.ICO) no-repeat scroll 0 0 transparent;background-size:contain; vertical-align:top; *vertical-align:middle}
</style>

json数据       每条数据加iconSkin:"" 属性     对应相应的图片pIcon01   icon01

posted on 2017-03-10 15:33  ..SunXin  阅读(7383)  评论(0编辑  收藏  举报