jiazx0107@163.com
2023-11-06 69cd9f59a0fabf12f8c9147fcba7f69817a870b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="zh-cn" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>智慧粮库管理系统-登录</title>
    <meta name="keywords" content="智慧粮库管理系统,智慧粮库管理平台">
    <meta name="description"
          content="专注于动力环境监控,智慧粮库,能源管理,环保数据采集,物联网网关等产品的研发和生产,提供国产化物联网解决方案">
    <link rel="shortcut icon" th:href="@{/static/favicon.ico}"/>
 
    <link rel="stylesheet" th:href="@{/static/plugins/layui/css/layui.css}"/>
    <link rel="stylesheet" th:href="@{/static/admin/login/login2.css}"/>
 
    <style type="text/css">
        .login-yzm-btn {
            width: 80px;
            height: 38px;
            margin-top: -20px;
        }
 
        .dis-none {
            display: none;
        }
 
        .css-hand {
            cursor: pointer
        }
 
        .compatible {
            height: 25px;
            border-radius: 3px;
            padding: 0 5px;
        }
 
        /** 弹出框CSS**/
        .mask {
            background-color: rgba(0, 0, 0, 0.2);
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 999;
        }
 
        .prompt_box {
            width: 400px;
            height: 200px;
            background: #ffffff;
            border-radius: 6px;
            position: fixed;
            top: 25%;
            left: 50%;
            margin-left: -200px;
            overflow: hidden;
        }
 
        .prompt_box .prompt_title {
            height: 40px;
            line-height: 40px;
            padding-left: 20px;
            border-bottom: 2px solid #53adce;
            background: #e6e6e6;
            position: relative;
        }
 
        .prompt_box .prompt_title h3 {
            font-size: 16px;
            color: #333333;
            margin-top: 0;
        }
 
        .prompt_box .prompt_cont {
            position: relative;
            height: 158px;
        }
 
        .prompt_box .prompt_cont .prompt_text {
            line-height: 140px;
            padding-left: 100px;
            font-size: 16px;
        }
 
        .prompt_box .prompt_cont .prompt_sure {
            position: absolute;
            right: 20px;
            bottom: 34px;
            width: 80px;
            height: 36px;
            background: #53adce;
            border-radius: 5px;
            color: #ffffff;
            font-size: 14px;
            line-height: 36px;
            text-align: center;
            cursor: pointer;
        }
 
        .hide {
            display: none;
        }
 
        .show {
            display: block;
        }
    </style>
</head>
 
<body class="login-body login2-body">
<div class="i-container">
    <!--企业lOGO-->
    <div class="login-logo">
        <img th:src="${logoTitle}"/>
    </div>
 
    <!--手机APP-->
    <div class="login2-ewm css-hand" onClick="showCode()">
        <h3>
            <i class="i-icon"><img
                    th:src="@{/static/images/login-app-code.png}"/></i>下载APP
        </h3>
    </div>
 
    <div class="login2-ewm-img dis-none" id="ewm">
        <img th:src="@{/static/images/login-app-code.png}"/>
    </div>
 
    <h1 class="login-tit">
        <img th:src="@{/static/images/login-titimg2.png}"/>
    </h1>
 
    <div class="layui-row login-con">
        <div class="layui-col-md7 login-left">
            <div class="login-leftbox">
                <img th:src="@{/static/images/login2-left.gif}"
                     class="login-leftimg"/>
                <img
                        th:src="@{/static/images/login2-left-bg.png}" class="login-leftbg"/>
            </div>
        </div>
        <div class="layui-col-md5 login-right">
            <div class="login-box">
 
                <div class="layui-tab">
 
                    <h3 class="login2-box-tit">
                        <img th:src="@{/static/images/login2-box-tit.png}"/>
                    </h3>
 
                    <div class="layui-tab-content">
 
                        <div class="layui-tab-item layui-show">
                            <div class="login-tab-2">
 
                                <form class="layui-form" method="post" th:attr="action=@{/login-check}">
 
                                    <div class="layui-form-item">
                                        <label class="layui-form-label"> <i class="i-icon"><img
                                                th:src="@{/static/images/icon-user.png}"/></i>
                                        </label>
                                        <div class="layui-input-block">
                                            <input type="text" name="username_" id="username_" required
                                                   lay-verify="required" placeholder="请在此输入用户名"
                                                   autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label"> <i class="i-icon"><img
                                                th:src="@{/static/images/icon-pw.png}"/></i>
                                        </label>
                                        <div class="layui-input-block">
                                            <input type="password" name="password_" required
                                                   lay-verify="required" placeholder="请在此输入密码"
                                                   autocomplete="off" class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label"> <i class="i-icon"><img
                                                th:src="@{/static/images/icon-yzm.png}"/></i>
                                        </label>
                                        <div class="layui-input-block">
                                            <input type="text" name="captcha_" value="" required
                                                   lay-verify="required"
                                                   placeholder="请在此输入验证码"
                                                   autocomplete="off" class="layui-input"> <a href="#"
                                                                                              class="login-yzm-btn"><img
                                                class="login-yzm-btn"
                                                th:src="@{generate.captcha.action}"
                                                onclick="javascript:this.src='generate.captcha.action?t='+Math.random()"/></a>
                                        </div>
                                    </div>
 
                                    <div class="layui-input-block login-btnbox">
                                        <button class="layui-btn login-btn" lay-submit
                                                lay-filter="formDemo">登录
                                        </button>
                                    </div>
 
                                </form>
 
                            </div>
                            <!--login-tab-2 end-->
                        </div>
                    </div>
                </div>
 
            </div>
            <!--login-box end-->
        </div>
    </div>
 
    <div class="login-copy">
        <p>Copyright © 2019-2023 智慧粮库管理系统&nbsp;|&nbsp;智慧粮库信息化建设整体解决方案</p>
    </div>
 
    <!--  弹出框 -->
    <div class="mask hide">
        <div class="prompt_box">
            <div class="prompt_title">
                <h3>系统提示</h3>
                <!--                     <span class="prompt_cancel"></span> -->
            </div>
            <div class="prompt_cont">
                <p class="prompt_text">输入有误,请重新输入!</p>
                <span class="prompt_sure">确定</span>
            </div>
        </div>
    </div>
 
</div>
<!--i-container end-->
 
<script th:src="@{/static/js/jquery.min.js}"></script>
 
<script th:inline="javascript">
    //异常信息
    var tag = [[${TAG}]];
    var username = [[${USERNAME}]];
 
    window.onload = function () {
        var boxH = $(".login-left").height();
        $(".login-right").height(boxH);
        $(window).resize(function () {
            var boxH = $(".login-left").height();
            $(".login-right").height(boxH);
        })
        if (tag) {
            showMsg(tag);
            $("#username_").val(username);
        }
    };
 
    function showCode() {
        $("#ewm").css("display", "block");
    }
 
    //弹出框操作
    $('.prompt_sure,.prompt_cancel').click(function () {
        $('.mask').addClass('hide');
    });
 
    function showMsg(msg) {
        $('.prompt_text').text(msg);
        $('.mask').removeClass('hide');
    };
</script>
</body>
 
</html>