| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh" xmlns:th="http://www.thymeleaf.org"> |
| | | <html lang="zh-cn" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | |
| | | } |
| | | </style> |
| | | <script> |
| | | if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location}; |
| | | if (window.top !== window.self) { |
| | | alert('未登录或登录超时。请重新登录'); |
| | | window.top.location = window.location |
| | | } |
| | | ; |
| | | </script> |
| | | </head> |
| | | <body class="login-body login2-body"> |
| | |
| | | </div> |
| | | |
| | | <!--手机APP--> |
| | | <div class="login2-ewm css-hand"> |
| | | <div class="login2-ewm css-hand" onClick="showCode()"> |
| | | <h3> |
| | | <i class="i-icon"><img th:src="@{/login/images/login-app-code.png}"/></i>下载APP |
| | | <i class="i-icon"><img th:src="@{/login/images/login-app.png}"/></i>下载APP |
| | | </h3> |
| | | </div> |
| | | |
| | | <div class="login2-ewm-img dis-none" id="ewm"> |
| | | <img th:src="@{/login/images/login-app-code.png}"/> |
| | | <img th:src="@{/login/images/login-app.png}" style="width: 100%;height: 100%"/> |
| | | </div> |
| | | |
| | | <h1 class="login-tit"> |
| | |
| | | lay-verify="required" placeholder="请在此输入验证码" |
| | | autocomplete="off" class="layui-input" style="width: 60%;"> |
| | | <a href="javascript:void(0);" title="点击更换验证码" class="login-yzm-btn"> |
| | | <img class="imgcode" th:src="@{/captcha/captchaImage(type=${captchaType})}"/> |
| | | <img class="imgcode" |
| | | th:src="@{/captcha/captchaImage(type=${captchaType})}"/> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | <div style="display: none" class="checkbox-custom" th:if="${isRemembered}" th:classappend="${captchaEnabled==false} ? 'm-t'"> |
| | | <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label> |
| | | <div style="display: none" class="checkbox-custom" th:if="${isRemembered}" |
| | | th:classappend="${captchaEnabled==false} ? 'm-t'"> |
| | | <input type="checkbox" id="rememberme" name="rememberme"> <label |
| | | for="rememberme">记住我</label> |
| | | </div> |
| | | <div class="layui-input-block login-btnbox"> |
| | | <button class="layui-btn login-btn" id="btnSubmit" data-loading="正在验证登录,请稍候...">登录 |
| | | <button class="layui-btn login-btn" id="btnSubmit" data-loading="正在验证登录,请稍候..."> |
| | | 登录 |
| | | </button> |
| | | </div> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <div class="login-copy"> |
| | | <p>Copyright © 2019-2026 智慧粮库综合管理平台 | 风正致远信息技术股份有限公司</p> |
| | | <p>新ICP备2024007717号-2 智慧粮库监管系统 | 伊犁恒硕投资发展有限责任公司</p> |
| | | </div> |
| | | </div> |
| | | |
| | | <script th:inline="javascript"> |
| | | var ctx = [[@{/}]] ; |
| | | var captchaType = [[${captchaType}]]; |
| | | |
| | | function showCode() { |
| | | $("#ewm").css("display", "block"); |
| | | } |
| | | </script> |
| | | <script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script> |
| | | <script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script> |
| | | <script src="../static/ajax/libs/validate/jquery.validate.min.js" |
| | | th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script> |
| | | <script src="../static/ajax/libs/layer-ruoyi/layer.min.js" th:src="@{/ajax/libs/layer-ruoyi/layer.min.js}"></script> |
| | | <script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script> |
| | | <script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.7.8}"></script> |