| New file | 
|  |  |  | 
|---|
|  |  |  | <!DOCTYPE html> | 
|---|
|  |  |  | <html> | 
|---|
|  |  |  | <head> | 
|---|
|  |  |  | <meta charset="utf-8"> | 
|---|
|  |  |  | <title>自动仓库WCS系统</title> | 
|---|
|  |  |  | <link rel="stylesheet" href="../static/css/index.css"> | 
|---|
|  |  |  | <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | <body> | 
|---|
|  |  |  | <!-- 导航栏 --> | 
|---|
|  |  |  | <!--        <div class="nav">--> | 
|---|
|  |  |  | <!--            <li class="right">注销<a id="about" class="nav-unselect" onclick="logout()" href="#"></a></li>--> | 
|---|
|  |  |  | <!--        </div>--> | 
|---|
|  |  |  | <div class="sidebar"> | 
|---|
|  |  |  | <div class="nav"> | 
|---|
|  |  |  | <ul class="cl-effect-4"> | 
|---|
|  |  |  | <li><a id="console" onclick="nav(this.id)" class="nav-select" href="#">主控图</a></li> | 
|---|
|  |  |  | <li><a id="pipeline" onclick="nav(this.id)" class="nav-unselect" href="#">输送设备</a></li> | 
|---|
|  |  |  | <li><a id="crn" onclick="nav(this.id)" class="nav-unselect" href="#">堆垛机</a></li> | 
|---|
|  |  |  | </ul> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--<div style="z-index: 999; position: absolute; top: 250px; left: 900px; width: 200px; height: 200px; opacity: 0.5;background-color: #0000FF">--> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!--</div>--> | 
|---|
|  |  |  | <!-- 主体内容 --> | 
|---|
|  |  |  | <iframe id="content" src="console.html"></iframe> | 
|---|
|  |  |  | <footer class="footer"> | 
|---|
|  |  |  | Copyright © 2015 All Rights Reserved. <a href="http://www.zoneyung.com" target="_blank">浙江中扬立库技术有限公司</a>  保留所有权利 | 
|---|
|  |  |  | </footer> | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | <script> | 
|---|
|  |  |  | // 导航栏 | 
|---|
|  |  |  | function nav(id) { | 
|---|
|  |  |  | $('.nav-select').attr("class", "nav-unselect"); | 
|---|
|  |  |  | $('#'+id).attr("class", "nav-select"); | 
|---|
|  |  |  | $('#content').attr("src", id+".html"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function logout() { | 
|---|
|  |  |  | localStorage.removeItem("token"); | 
|---|
|  |  |  | window.location.href = baseUrl + "/login"; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 系统运行状态 | 
|---|
|  |  |  | var systemRunning = true; | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  | </html> | 
|---|