tree_view.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>H+ 后台主题UI框架 - 树形视图</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  10. <link href="../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
  11. <link href="../css/animate.min.css" rel="stylesheet">
  12. <link href="../css/style.min.css?v=4.1.0" rel="stylesheet">
  13. <link href="../css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
  14. </head>
  15. <body class="gray-bg">
  16. <div class="row wrapper wrapper-content animated fadeInRight">
  17. <div class="col-sm-12">
  18. <div class="ibox float-e-margins">
  19. <div class="ibox-title">
  20. <h5>Bootstrap Tree View 简介</h5>
  21. <div class="ibox-tools">
  22. <a class="collapse-link">
  23. <i class="fa fa-chevron-up"></i>
  24. </a>
  25. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  26. <i class="fa fa-wrench"></i>
  27. </a>
  28. <ul class="dropdown-menu dropdown-user">
  29. <li><a href="buttons.html#">选项1</a>
  30. </li>
  31. <li><a href="buttons.html#">选项2</a>
  32. </li>
  33. </ul>
  34. <a class="close-link">
  35. <i class="fa fa-times"></i>
  36. </a>
  37. </div>
  38. </div>
  39. <div class="ibox-content">
  40. <p>Bootstrap Tree View 是一个简单而优雅的Bootstrap树形视图解决方案。
  41. <br>您可以访问作者的
  42. <a href="https://github.com/jonmiles/bootstrap-treeview" target="_blank">GitHub页面</a> 了解其用法及更多信息。</p>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="col-sm-4">
  47. <div class="ibox float-e-margins">
  48. <div class="ibox-title">
  49. <h5>默认</h5>
  50. <div class="ibox-tools">
  51. <a class="collapse-link">
  52. <i class="fa fa-chevron-up"></i>
  53. </a>
  54. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  55. <i class="fa fa-wrench"></i>
  56. </a>
  57. <ul class="dropdown-menu dropdown-user">
  58. <li><a href="buttons.html#">选项1</a>
  59. </li>
  60. <li><a href="buttons.html#">选项2</a>
  61. </li>
  62. </ul>
  63. <a class="close-link">
  64. <i class="fa fa-times"></i>
  65. </a>
  66. </div>
  67. </div>
  68. <div class="ibox-content">
  69. <div id="treeview1" class="test"></div>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="col-sm-4">
  74. <div class="ibox float-e-margins">
  75. <div class="ibox-title">
  76. <h5>收起</h5>
  77. <div class="ibox-tools">
  78. <a class="collapse-link">
  79. <i class="fa fa-chevron-up"></i>
  80. </a>
  81. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  82. <i class="fa fa-wrench"></i>
  83. </a>
  84. <ul class="dropdown-menu dropdown-user">
  85. <li><a href="buttons.html#">选项1</a>
  86. </li>
  87. <li><a href="buttons.html#">选项2</a>
  88. </li>
  89. </ul>
  90. <a class="close-link">
  91. <i class="fa fa-times"></i>
  92. </a>
  93. </div>
  94. </div>
  95. <div class="ibox-content">
  96. <div id="treeview2" class="test"></div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="col-sm-4">
  101. <div class="ibox float-e-margins">
  102. <div class="ibox-title">
  103. <h5>展开</h5>
  104. <div class="ibox-tools">
  105. <a class="collapse-link">
  106. <i class="fa fa-chevron-up"></i>
  107. </a>
  108. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  109. <i class="fa fa-wrench"></i>
  110. </a>
  111. <ul class="dropdown-menu dropdown-user">
  112. <li><a href="buttons.html#">选项1</a>
  113. </li>
  114. <li><a href="buttons.html#">选项2</a>
  115. </li>
  116. </ul>
  117. <a class="close-link">
  118. <i class="fa fa-times"></i>
  119. </a>
  120. </div>
  121. </div>
  122. <div class="ibox-content">
  123. <div id="treeview3" class="test"></div>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="col-sm-4">
  128. <div class="ibox float-e-margins">
  129. <div class="ibox-title">
  130. <h5>蓝色主题</h5>
  131. <div class="ibox-tools">
  132. <a class="collapse-link">
  133. <i class="fa fa-chevron-up"></i>
  134. </a>
  135. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  136. <i class="fa fa-wrench"></i>
  137. </a>
  138. <ul class="dropdown-menu dropdown-user">
  139. <li><a href="buttons.html#">选项1</a>
  140. </li>
  141. <li><a href="buttons.html#">选项2</a>
  142. </li>
  143. </ul>
  144. <a class="close-link">
  145. <i class="fa fa-times"></i>
  146. </a>
  147. </div>
  148. </div>
  149. <div class="ibox-content">
  150. <div id="treeview4" class="test"></div>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="col-sm-4">
  155. <div class="ibox float-e-margins">
  156. <div class="ibox-title">
  157. <h5>自定义图标</h5>
  158. <div class="ibox-tools">
  159. <a class="collapse-link">
  160. <i class="fa fa-chevron-up"></i>
  161. </a>
  162. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  163. <i class="fa fa-wrench"></i>
  164. </a>
  165. <ul class="dropdown-menu dropdown-user">
  166. <li><a href="buttons.html#">选项1</a>
  167. </li>
  168. <li><a href="buttons.html#">选项2</a>
  169. </li>
  170. </ul>
  171. <a class="close-link">
  172. <i class="fa fa-times"></i>
  173. </a>
  174. </div>
  175. </div>
  176. <div class="ibox-content">
  177. <div id="treeview5" class="test"></div>
  178. </div>
  179. </div>
  180. </div>
  181. <div class="col-sm-4">
  182. <div class="ibox float-e-margins">
  183. <div class="ibox-title">
  184. <h5>使用徽章作为标签</h5>
  185. <div class="ibox-tools">
  186. <a class="collapse-link">
  187. <i class="fa fa-chevron-up"></i>
  188. </a>
  189. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  190. <i class="fa fa-wrench"></i>
  191. </a>
  192. <ul class="dropdown-menu dropdown-user">
  193. <li><a href="buttons.html#">选项1</a>
  194. </li>
  195. <li><a href="buttons.html#">选项2</a>
  196. </li>
  197. </ul>
  198. <a class="close-link">
  199. <i class="fa fa-times"></i>
  200. </a>
  201. </div>
  202. </div>
  203. <div class="ibox-content">
  204. <div id="treeview6" class="test"></div>
  205. </div>
  206. </div>
  207. </div>
  208. <div class="col-sm-4">
  209. <div class="ibox float-e-margins">
  210. <div class="ibox-title">
  211. <h5>无边框</h5>
  212. <div class="ibox-tools">
  213. <a class="collapse-link">
  214. <i class="fa fa-chevron-up"></i>
  215. </a>
  216. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  217. <i class="fa fa-wrench"></i>
  218. </a>
  219. <ul class="dropdown-menu dropdown-user">
  220. <li><a href="buttons.html#">选项1</a>
  221. </li>
  222. <li><a href="buttons.html#">选项2</a>
  223. </li>
  224. </ul>
  225. <a class="close-link">
  226. <i class="fa fa-times"></i>
  227. </a>
  228. </div>
  229. </div>
  230. <div class="ibox-content">
  231. <div id="treeview7" class="test"></div>
  232. </div>
  233. </div>
  234. </div>
  235. <div class="col-sm-4">
  236. <div class="ibox float-e-margins">
  237. <div class="ibox-title">
  238. <h5>多彩</h5>
  239. <div class="ibox-tools">
  240. <a class="collapse-link">
  241. <i class="fa fa-chevron-up"></i>
  242. </a>
  243. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  244. <i class="fa fa-wrench"></i>
  245. </a>
  246. <ul class="dropdown-menu dropdown-user">
  247. <li><a href="buttons.html#">选项1</a>
  248. </li>
  249. <li><a href="buttons.html#">选项2</a>
  250. </li>
  251. </ul>
  252. <a class="close-link">
  253. <i class="fa fa-times"></i>
  254. </a>
  255. </div>
  256. </div>
  257. <div class="ibox-content">
  258. <div id="treeview8" class="test"></div>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="col-sm-4">
  263. <div class="ibox float-e-margins">
  264. <div class="ibox-title">
  265. <h5>节点覆盖</h5>
  266. <div class="ibox-tools">
  267. <a class="collapse-link">
  268. <i class="fa fa-chevron-up"></i>
  269. </a>
  270. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  271. <i class="fa fa-wrench"></i>
  272. </a>
  273. <ul class="dropdown-menu dropdown-user">
  274. <li><a href="buttons.html#">选项1</a>
  275. </li>
  276. <li><a href="buttons.html#">选项2</a>
  277. </li>
  278. </ul>
  279. <a class="close-link">
  280. <i class="fa fa-times"></i>
  281. </a>
  282. </div>
  283. </div>
  284. <div class="ibox-content">
  285. <div id="treeview9" class="test"></div>
  286. </div>
  287. </div>
  288. </div>
  289. <div class="col-sm-4">
  290. <div class="ibox float-e-margins">
  291. <div class="ibox-title">
  292. <h5>使用链接</h5>
  293. <div class="ibox-tools">
  294. <a class="collapse-link">
  295. <i class="fa fa-chevron-up"></i>
  296. </a>
  297. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  298. <i class="fa fa-wrench"></i>
  299. </a>
  300. <ul class="dropdown-menu dropdown-user">
  301. <li><a href="buttons.html#">选项1</a>
  302. </li>
  303. <li><a href="buttons.html#">选项2</a>
  304. </li>
  305. </ul>
  306. <a class="close-link">
  307. <i class="fa fa-times"></i>
  308. </a>
  309. </div>
  310. </div>
  311. <div class="ibox-content">
  312. <div id="treeview10" class="test"></div>
  313. </div>
  314. </div>
  315. </div>
  316. <div class="col-sm-8">
  317. <div class="ibox float-e-margins">
  318. <div class="ibox-title">
  319. <h5>事件</h5>
  320. <div class="ibox-tools">
  321. <a class="collapse-link">
  322. <i class="fa fa-chevron-up"></i>
  323. </a>
  324. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  325. <i class="fa fa-wrench"></i>
  326. </a>
  327. <ul class="dropdown-menu dropdown-user">
  328. <li><a href="buttons.html#">选项1</a>
  329. </li>
  330. <li><a href="buttons.html#">选项2</a>
  331. </li>
  332. </ul>
  333. <a class="close-link">
  334. <i class="fa fa-times"></i>
  335. </a>
  336. </div>
  337. </div>
  338. <div class="ibox-content">
  339. <div class="col-sm-6">
  340. <div id="treeview11" class="test"></div>
  341. </div>
  342. <div class="col-sm-6">
  343. <h5>事件输出:</h5>
  344. <hr>
  345. <div id="event_output"></div>
  346. </div>
  347. <div class="clearfix"></div>
  348. </div>
  349. </div>
  350. </div>
  351. <div class="col-sm-4">
  352. <div class="ibox float-e-margins">
  353. <div class="ibox-title">
  354. <h5>JSON数据</h5>
  355. <div class="ibox-tools">
  356. <a class="collapse-link">
  357. <i class="fa fa-chevron-up"></i>
  358. </a>
  359. <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
  360. <i class="fa fa-wrench"></i>
  361. </a>
  362. <ul class="dropdown-menu dropdown-user">
  363. <li><a href="buttons.html#">选项1</a>
  364. </li>
  365. <li><a href="buttons.html#">选项2</a>
  366. </li>
  367. </ul>
  368. <a class="close-link">
  369. <i class="fa fa-times"></i>
  370. </a>
  371. </div>
  372. </div>
  373. <div class="ibox-content">
  374. <div id="treeview12" class="test"></div>
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. <script src="../js/jquery.min.js?v=2.1.4"></script>
  380. <script src="../js/bootstrap.min.js?v=3.3.6"></script>
  381. <script src="../js/content.min.js?v=1.0.0"></script>
  382. <script src="../js/plugins/treeview/bootstrap-treeview.js"></script>
  383. <script src="../js/demo/treeview-demo.min.js"></script>
  384. </body>
  385. </html>