index.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!--#include file="/inc/header.html"-->
  2. <script type="text/javascript">
  3. window.renderHeader=function(e) {
  4. var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
  5. var views = Mustache.render(template, e);
  6. $("#bif-nav-ul").html(views);
  7. $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
  8. $("#bif-nav-ul li:first-child").addClass("active");
  9. tabSelect.sitePlatformTree(e.childenList);
  10. };
  11. $(function(){
  12. var modules=JSON.parse(window.sessionStorage.getItem("modules"));
  13. if(window.treemap){
  14. renderHeader(window.treemap[14]);//站点平台管理ID 8
  15. }else if(modules){
  16. renderHeader(modules.treemap[14]);
  17. }
  18. })
  19. </script>
  20. <div class="con-wrap">
  21. <div class="tree-breadcrumb">
  22. <span class="nav-prov"><a href="/index.html">首页</a></span>&gt;
  23. <span class="nav-prov"><a href="">站点平台管理</a></span>&gt;
  24. <span class="nav-item"><a href="javascript:;" id="nav-item-a"></a></span>
  25. </div>
  26. <div class="bif-nav">
  27. <ul id="bif-nav-ul">
  28. </ul>
  29. </div>
  30. <div id="con-main">
  31. <div id="con-map" class="main3">
  32. </div>
  33. </div>
  34. </div>
  35. <!--#include file="/inc/footer.html"-->
  36. <style>
  37. /* .main3{
  38. min-height: 200px!important;
  39. }
  40. .bif-nav-item{
  41. width: 150px;
  42. text-align: center;
  43. }*/
  44. #con-map{
  45. height:400px;
  46. min-height: 400px;
  47. }
  48. #con-main{
  49. min-height:420px;
  50. }
  51. .bif-nav-item{
  52. width: 150px;
  53. text-align: center;
  54. }
  55. </style>
  56. </body>
  57. </html>