| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | |
| | | <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"> |
| | | <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" href="../static/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../static/css/admin.css?v=318" media="all"> |
| | | <link rel="stylesheet" href="../static/css/loader.css" media="all"> |
| | |
| | | .layui-logo img { |
| | | width: 25px; |
| | | } |
| | | |
| | | .layui-logo cite { |
| | | font-size: 18px; |
| | | font-weight: 400; |
| | |
| | | |
| | | /* AI助手抽屉动画 */ |
| | | @keyframes slideInRight { |
| | | from { transform: translate3d(100%, 0, 0); opacity: 0; } |
| | | to { transform: translate3d(0, 0, 0); opacity: 1; } |
| | | from { |
| | | transform: translate3d(100%, 0, 0); |
| | | opacity: 0; |
| | | } |
| | | |
| | | to { |
| | | transform: translate3d(0, 0, 0); |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | @keyframes slideOutRight { |
| | | from { transform: translate3d(0, 0, 0); opacity: 1; } |
| | | to { transform: translate3d(100%, 0, 0); opacity: 0; } |
| | | from { |
| | | transform: translate3d(0, 0, 0); |
| | | opacity: 1; |
| | | } |
| | | |
| | | to { |
| | | transform: translate3d(100%, 0, 0); |
| | | opacity: 0; |
| | | } |
| | | } |
| | | |
| | | .ai-drawer-layer { |
| | |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body class="layui-layout-body"> |
| | | <div class="layui-layout layui-layout-admin"> |
| | | <!-- 头部 --> |
| | |
| | | <!-- <li class="layui-nav-item" lay-unselect>--> |
| | | <!-- <a ew-event="note" title="便签"><i class="layui-icon layui-icon-note"></i></a>--> |
| | | <!-- </li>--> |
| | | <li class="layui-nav-item" lay-unselect id="fakeShow" style="display: none;user-select: none;margin-right: 10px;"> |
| | | <li class="layui-nav-item" lay-unselect id="fakeShow" |
| | | style="display: none;user-select: none;margin-right: 10px;"> |
| | | <div style="color: red;" id="fakeShowText">仿真模拟运行中</div> |
| | | </li> |
| | | <li class="layui-nav-item" lay-unselect id="licenseShow" style="display: none;user-select: none;"> |
| | |
| | | <!-- 底部 --> |
| | | <div class="layui-footer layui-text"> |
| | | copyright © 2026 浙江中扬立库技术有限公司 all rights reserved. |
| | | <span class="pull-right">Version 1.0.0</span> |
| | | <span class="pull-right" id="system-version">Version loading...</span> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | <div class="popup-content"> |
| | | <h2 style="font-size: 28px;margin-bottom: 10px;">许可证即将过期</h2> |
| | | <div id="popup-text" style="font-size: 28px;color: red"></div> |
| | | <button style="background-color: #007bff;color: #fff;border: none;padding: 10px 20px;border-radius: 5px;cursor: pointer;font-size: 16px;" onclick="hidePopup()">关闭</button> |
| | | <button |
| | | style="background-color: #007bff;color: #fff;border: none;padding: 10px 20px;border-radius: 5px;cursor: pointer;font-size: 16px;" |
| | | onclick="hidePopup()">关闭</button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <script type="text/javascript" src="../static/js/handlebars/handlebars-v4.5.3.js"></script> |
| | | <script type="text/javascript" src="../static/js/common.js"></script> |
| | | <script> |
| | | console.log('%c 中扬立库平台 %c 1.0.0','background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;','background-color:rgb(25,190,107);color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;'); |
| | | // 版本信息变量 |
| | | var systemVersion = '...'; |
| | | var systemVersionType = ''; |
| | | |
| | | // 加载系统版本信息 |
| | | function loadSystemVersion() { |
| | | $.ajax({ |
| | | url: baseUrl + "/openapi/getSystemVersion", |
| | | headers: { 'token': localStorage.getItem('token') }, |
| | | method: 'GET', |
| | | success: function (res) { |
| | | if (res.code === 200) { |
| | | systemVersion = res.data.version; |
| | | systemVersionType = res.data.versionType; |
| | | var versionTypeLabel = systemVersionType === 'stable' ? '' : ' (' + systemVersionType + ')'; |
| | | var versionTypeColor = systemVersionType === 'stable' ? 'rgb(25,190,107)' : 'rgb(245,166,35)'; |
| | | |
| | | // 更新页脚版本显示 |
| | | $('#system-version').html('Version ' + systemVersion + '<span style="margin-left:5px;padding:1px 6px;font-size:12px;border-radius:3px;background-color:' + versionTypeColor + ';color:#fff;">' + systemVersionType + '</span>'); |
| | | |
| | | // 控制台输出版本信息 |
| | | console.log('%c 中扬立库平台 %c ' + systemVersion + ' %c ' + systemVersionType + ' ', 'background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;', 'background-color:rgb(25,190,107);color: #fff;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;', 'background-color:' + versionTypeColor + ';color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;'); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | $(function () { |
| | | // 注入AI助手图标 |
| | | $('#ai-assistant-btn').html(getAiIconHtml(60, 60)); |
| | |
| | | if ("" === localStorage.getItem('token')) { |
| | | top.location.href = baseUrl + "/login"; |
| | | } |
| | | |
| | | // 加载版本信息 |
| | | loadSystemVersion(); |
| | | }); |
| | | |
| | | // 显示弹窗 |
| | |
| | | {{/each}} |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |
| | | |
| | | |