12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!--#include file="/inc/header.html"-->
- <script type="text/javascript">
- window.renderHeader=function(e)
- {
- var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleType}}\">{{moduleName}}</li>{{/childenList}}";
- var views = Mustache.render(template, e);
- $("#bif-nav-ul").html(views);
- $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
- $("#bif-nav-ul li:first-child").addClass("active");
- tabSelect.equipmentDeviceNewTree(e.childenList);
- };
- $(function(){
- var modules=JSON.parse(window.sessionStorage.getItem("modules"));
- if(window.treemap){
- renderHeader(window.treemap[10]);
- }else if(modules){
- renderHeader(modules.treemap[10]);
- }
- })
- </script>
- <style type="text/css">.hide{display: none;}</style>
- <div class="con-wrap">
- <div class="tree-breadcrumb">
- <span class="nav-prov">首页</span>>
- <span class="nav-prov"><a href="/pages/equipmentDevice/index.html">智能器材库</a></span>
- >
- <span class="nav-item"><a href="javascript:;" id="nav-item-a"></a></span>
- </div>
- <div class="bif-nav">
- <ul id="bif-nav-ul">
- </ul>
- </div>
- <div id="con-main">
- <div id="con-map" class="main3">
- </div>
- </div>
- </div>
- <!--#include file="/inc/footer.html"-->
- <style>
- #con-map{
- height:400px;
- min-height: 400px;
- }
- #con-main{
- min-height:420px;
- }
- .bif-nav-item{
- width: 150px;
- text-align: center;
- }
- </style>
- <script type="text/javascript">
- $(function() {
- tabSelect.superviseTree();
- });
- </script>
- </body>
- </html>
|