wzp
2021-09-16 b65806043f0f2f411f1c02501e92ba8e2f86fcf2
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html lang="en">
<head>
<!--[if lte IE 10]>系统检测到你的浏览器版本过低,无法正常登录本平台,<a href="http://down.360safe.com/se/sedh.exe">点击下载新版本浏览器</a><![endif]-->
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>掌骏云管理后台</title>
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/jquery.numberedtextarea.css" rel="stylesheet">
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/json.js"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="js/jquery-loading.js"></script>
    <script type="text/javascript" src="js/jquery-form.js"></script>
    <style type="text/css">
        /*旧的*/
        .top-content .text
        {
            color: #fff;
            margin-top: 70px;
        }
        .top-content .text h1
        {
            color: #fff;
        }
        .top-content .description
        {
            margin: 20px 0 10px 0;
        }
        .top-content .description p
        {
            opacity: 0.8;
        }
        .top-content .description a
        {
            color: #fff;
        }
        .top-content .description a:hover, .top-content .description a:focus
        {
            border-bottom: 1px dotted #fff;
        }
        .form-box
        {
            margin-top: 35px;
        }
        .form-top
        .form-content{  position:absolute; width:500px;height:200px; border:solid 1px red; left:200px;top:400px;}{
            overflow: hidden;
            padding: 0 25px 15px 25px;
            background: #fff;
            -moz-border-radius: 4px 4px 0 0;
            -webkit-border-radius: 4px 4px 0 0;
            border-radius: 4px 4px 0 0;
            text-align: left;
        }
        .form-top-left
        {
            float: left;
            width: 75%;
            padding-top: 45px;
        }
        .form-top-left h3
        {
            margin-top: 0;
        }
        .form-top-right
        {
            float: left;
            width: 25%;
            padding-top: 5px;
            font-size: 66px;
            color: #ddd;
            line-height: 100px;
            text-align: right;
        }
        .form-bottom
        {
            padding: 25px 25px 30px 25px;
            background: #eee;
            -moz-border-radius: 0 0 4px 4px;
            -webkit-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
            text-align: left;
        }
        .form-bottom form textarea
        {
            height: 100px;
        }
        .form-bottom form button.btn
        {
            width: 100%;
        }
        .form-bottom form .input-error
        {
            border-color: #4aaf51;
        }
        .social-login
        {
            margin-top: 35px;
        }
        .social-login h3
        {
            color: #fff;
        }
        .social-login-buttons
        {
            margin-top: 25px;
        }
        /*.obtain-hidden { display: none; }*/.countdown-hidden
        {
            display: none;
        }
        .again-hidden
        {
            display: none;
        }
        /*旧的*//*重写css*//*新的CSS*/
        body
        {
            background: url(img/zjun_bg.jpg) no-repeat center center fixed;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }
 
        .top
        {
         
         width:500px;
         height:500px;
         margin-top:200px;
         margin-left:480px;    
        }
        
        .loginbg
        {
            width: 300px;
            height: 380px;
            border: solid 1px transparent;
            margin-left: 870px;
            margin-top: 210px;
        }
        
    </style>
    <script>
        $(function() {
 
            $(".code-image").on("click", function() {
                $(this).attr("src", "code.aspx?r=" + Math.random());
            });
 
            $(".login-form").ajaxForm({ success: function(r) {
                //0不需要验证
                if (r.OK) {
                    //1 IP验证  2不需要验证
                    //mytek.alert(r.Message.Content, r.OK, function () {
                    window.location.replace("index.aspx");
                    //});
                } else {
                    if (r.Message.Tstatus == 1) {
                        mytek.alert(r.Message.Content, false, function() {
                            $("#userDialog").modal("show");
                        });
                    } else {
                        mytek.alert(r.Message.Content, false, function() {
                            $(".code-image").attr("src", "code.aspx?r=" + Math.random());
                        });
                    }
                }
            }
            });
 
            //点击确定
            $(document).on("click", ".action-save", function() {
                var mobile = $("#mobile").val();
                var smscode = $("#smscode").val();
                $.ajax({
                    url: "session.ashx",
                    type: "POST",
                    data: { action: "mobileLogin", mobile: mobile, smscode: smscode },
                    success: function(result) {
                        if (result.OK) {
                            //mytek.alert(result.Message, result.OK, function () {
                            window.location.replace("index.aspx");
                            //});
                        } else {
                            mytek.alert(result.Message, false);
                        }
                    }
                });
            })
 
            var countdown = 60;
            function settime(times) {
                if (times == 0) {
                    $("#countdown").addClass("countdown-hidden ");
                    $("#again").removeClass("again-hidden");
                    $("#again").html("重新获取验证码");
                } else {
                    $("#countdown").removeClass("countdown-hidden ");
                    $("#countdown").html(times + "秒后重新获取");
                    times--;
                    setTimeout(function() {
                        settime(times)
                    }, 1000)
                }
            }
 
            $(document).on("click", "#obtain", function() {
                var mobile = $("#mobile").val();
                $.ajax({
                    url: "session.ashx",
                    type: "POST",
                    data: { action: "mobileCode", mobile: mobile },
                    success: function(result) {
                        if (result.OK) {
                            $("#obtain").hide();
                            settime(countdown);
                            mytek.alert(result.Message, result.OK);
                        } else {
                            mytek.alert(result.Message, result.False);
                        }
                    }
                });
            });
 
            //倒计时完后出现再次获取验证码
            $(document).on("click", "#again", function() {
                var mobile = $("#mobile").val();
                $.ajax({
                    url: "session.ashx",
                    type: "POST",
                    data: { action: "mobileCode", mobile: mobile },
                    success: function(result) {
                        if (result.OK) {
                            $("#again").addClass("again-hidden");
                            settime(countdown);
                            mytek.alert(result.Message, result.OK);
                        } else {
                            mytek.alert(result.Message, result.False);
                        }
                    }
                });
            })
 
            $(document).on("click", ".close", function() {
                $("#mobile").val("");
                $("#smscode").val("");
            })
        });
    </script>
</head>
<body>
<!--
    
    <div class="top-content">
        <div class="inner-bg">
            <div class="container">
                <div class="row">
                    <div class="text-center text">
                        <h1>
                            <strong>掌骏云 v3.3</strong></h1>
                      
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3 form-box">
                        <div class="form-top">
                            <div class="form-top-left">
                                <h3>
                                    登录到掌骏云后台管理系统</h3>
                         
                            </div>
                            <div class="form-top-right">
                                <i class="fa fa-key"></i>
                            </div>
                        </div>
                        <div class="form-bottom">
                            <form role="form" action="session.ashx?action=login" method="post" class="login-form">
                            <div class="form-group">
                                <label class="sr-only" for="form-username">
                                    账号</label>
                                <input name="account" placeholder="账号..." class="form-username form-control" id="form-username"
                                    type="text">
                            </div>
                            <div class="form-group">
                                <label class="sr-only" for="form-password">
                                    密码</label>
                                <input name="password" placeholder="密码..." class="form-password form-control" id="form-password"
                                    type="password">
                            </div>
                            <div class="form-group">
                                <label class="sr-only" for="form-code">
                                    验证码</label>
                                <div class="input-group m-b">
                                    <input name="code" placeholder="验证码" class="form-code form-control  col-md-6" id="code"
                                        type="text"><span class="input-group-addon"><img src="code.aspx" class="code-image" /></span></div>
                            </div>
                            <button type="submit" class="btn">
                                登录</button>
                            </form>
                        </div>
                    </div>
                    <div class="modal inmodal fade" id="userDialog" style="top: 200px;" tabindex="-1"
                        role="dialog" aria-hidden="true">
                        <div class="modal-dialog form-horizontal">
                            <div class="modal-content ">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal">
                                        <span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                    <h4 class="modal-title">
                                        短信验证</h4>
                                </div>
                                <div class="modal-body">
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">
                                            账号预留手机</label>
                                        <div class="col-sm-9">
                                            <input type="text" name="mobile" id="mobile" value="" class="form-control" />
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">
                                            验证码</label>
                                        <div class="col-sm-7">
                                            <div class="input-group">
                                                <input type="text" class="form-control" name="smscode" id="smscode" value="" maxlength="6" />
                                                <span class="input-group-addon obtain-hidden" id="obtain">获取验证码</span> <span class="input-group-addon countdown-hidden"
                                                    id="countdown">500秒 </span><span class="input-group-addon again-hidden" id="again">重新获取
                                                    </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="modal-footer">
                                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">
                                        取消</button>&nbsp;&nbsp;
                                    <button class="btn btn-primary action-save">
                                        确定</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px; height: 900px;
        width: 1903px; z-index: -999999; position: fixed;" class="backstretch">
        <img src="img/bg.jpg" style="position: absolute; margin: 0px; padding: 0px; border: medium none;
            width: 1903px; height: 280px; 
            left: 0px;">
    </div>
    -->
 
    <div class="background" style="width: 100%; height: 100%;">
        <div style="margin:0 auto; width:100%;height:100%;display: flex;justify-content: center; ">
            <div class="top">
                <div style=" margin-top:90px; text-align:center;">
                   <span style=" font-size:xx-large; color:White">掌骏云管理后台&nbsp;&nbsp;v4.0</span>
                </div>
                <form role="form" action="session.ashx?action=login" method="post" class="login-form">
                   <div style="text-align:center; margin-top:40px;">
                        <input type="text" name="account" placeholder="账号..." style="width:370px; height:50px; border-radius:4px; font-size:20px; border: 0px; padding:0 0 0 20px;"  />
                   </div>
                   <div style=" text-align:center; margin-top:18px;">
                        <input type="password" name="password" placeholder="登录密码" style="width:370px; height:50px; border-radius:4px; font-size:20px;border: 0px;padding:0 0 0 20px;"  />
                   </div>
                   <div style="text-align:center; margin-top:18px;">
                        <input type="text" name="code" placeholder="验证码" style="width:180px; height:50px; border-radius:4px; font-size:20px;border: 0px;padding:0 0 0 20px;"  />
                        <img src="code.aspx" class="code-image" style="height:50px;border-radius:6px; margin-top:-8px;" />
                   </div>
                   
                   <div style=" text-align:center; margin-top:25px;">
                        <button type="submit" style="width:370px; height:60px; border-radius:6px; font-size:25px; color:White;border: 0px; background-color:#1989f9">登录</button>
                   </div>
                   
                </form>
            </div>
        </div>
    </div>
    
</body>
</html>