| | |
| | | <!DOCTYPE html> |
| | | <html lang=""> |
| | | <html lang="zh-CN"> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <title>自动仓库WCS系统</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | | <link rel="stylesheet" type="text/css" href="../static/css/normalize.css"> |
| | | <style> |
| | | /* 统一处理 */ |
| | | *, *::before, *::after { |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | html { |
| | | line-height: 1.5; |
| | | font-size: 15px; |
| | | } |
| | | |
| | | .nav { |
| | | background-color: #fd5830; |
| | | } |
| | | .nav ul li { |
| | | list-style-type: none; |
| | | } |
| | | </style> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <title>自动仓库WCS系统</title> |
| | | <link rel="icon" type="image/x-icon" href="../static/images/favicon.ico"> |
| | | <link rel="stylesheet" href="../static/css/index.css"> |
| | | <link rel="stylesheet" href="../static/css/layx.min.css"> |
| | | <style> |
| | | .layx-window.layx-skin-news .layx-control-bar { |
| | | background-color: #333; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="nav"> |
| | | <ul> |
| | | <li>导航一</li> |
| | | <li>导航二</li> |
| | | <li>导航三</li> |
| | | <li>导航四</li> |
| | | </ul> |
| | | <div class="sidebar"> |
| | | <div class="nav"> |
| | | <ul class="cl-effect-4"> |
| | | <li><a id="pipeline" onclick="nav(this.id)" class="nav-select" href="#">输送设备</a></li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | <!-- 主体内容 --> |
| | | <iframe id="content" src="pipeline.html" frameborder="0"></iframe> |
| | | <footer class="footer"> |
| | | Copyright © 2023 All Rights Reserved. <a href="http://www.zoneyung.com" target="_blank">浙江中扬立库技术有限公司</a> 保留所有权利 |
| | | </footer> |
| | | </body> |
| | | <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script src="../static/js/tools/layx.min.js"></script> |
| | | <script> |
| | | // 导航栏切换函数 |
| | | function nav(id) { |
| | | $('.nav-select').removeClass('nav-select').addClass('nav-unselect'); |
| | | $('#' + id).removeClass('nav-unselect').addClass('nav-select'); |
| | | $('#content').attr('src', id + '.html'); |
| | | } |
| | | |
| | | // 注销函数 |
| | | function logout() { |
| | | localStorage.removeItem('token'); |
| | | window.location.href = (window.baseUrl || '') + '/login'; |
| | | } |
| | | |
| | | // 系统分析报告弹窗 |
| | | function showNewsReport() { |
| | | layx.iframe('wcs-news', '系统分析报告', 'news.html', { |
| | | shadow: false, |
| | | storeStatus: false, |
| | | width: 800, |
| | | height: 600, |
| | | position: 'rb', |
| | | opacity: 0.9, |
| | | border: false, |
| | | icon: '<img src="../static/images/favicon.ico" style="height:22px;display:block;" alt=""/>', |
| | | stickMenu: true, |
| | | maxMenu: false, |
| | | closeMenu: false, |
| | | moveLimit: { |
| | | leftOut: false, |
| | | rightOut: false, |
| | | topOut: false, |
| | | bottomOut: false |
| | | }, |
| | | minWidth: 300, |
| | | minHeight: 300, |
| | | borderRadius: '8px', |
| | | shadeDestroy: true, |
| | | escKey: false, |
| | | event: { |
| | | onmin: { |
| | | after: function() { |
| | | $('.layx-min-statu').css('left', 'inherit').css('right', '10px'); |
| | | } |
| | | }, |
| | | onrestore: { |
| | | after: function() { |
| | | let win = layx.getFrameContext('wcs-news'); |
| | | if (win) { |
| | | win.autoScroll = true; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // 页面加载完成后初始化 |
| | | $(document).ready(function() { |
| | | showNewsReport(); |
| | | layx.min('wcs-news'); |
| | | }); |
| | | </script> |
| | | </html> |
| | | |
| | | |