565d819a5898c0b2db70e711f9e447ba.php
4.0 KB
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
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:57:"D:\WWW\sos\public/../application/web\view\index\login.php";i:1620464009;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>SOS信息综合管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="renderer" content="webkit"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta name="apple-mobile-web-app-title" content="永保保险云数据平台"/>
<meta name="robots" content="all" />
<link href="/assets/web/css/bootstrap.min.css" rel="stylesheet" />
<link href="/assets/web/css/login.min.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/assets/common/css/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="/assets/common/css/themes/icon.css" />
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/assets/common/js/jquery.min.1.9.4.js"></script>
<script type="text/javascript" src="/assets/common/js/jquery.easyui.min.1.9.4.js"></script>
<script type="text/javascript" src="/assets/web/js/src/easyui.base.js"></script>
<script type="text/javascript" src="/assets/web/js/src/operation.login.js"></script>
<script type="text/javascript">
if (window.top !== window.self) {
window.top.location = window.location
};
</script>
<style type="text/css">
.browser-happy {position:fixed;left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:999;background:#24a6fa}
.browser-happy .content {text-align:center;color:#fff;font-size:24px;padding-top:100px}
.browser-happy .content a {display:inline-block;padding:10px 20px;border:2px solid #fff;text-decoration:none;color:#fff}
#login_form {background: #FFFFFF;}
#fm h4{color: #333333;}
#fm input{background: #FFFFFF;border-color: #DCDFE6;color: #333333;}
#fm .btn {background-color:#337ab7;outline: none;border-color:#2e6da4}
/* #aaa111{border-radius:8px;background:url("images/searchicon.png")no-repeat 00;background-size:15px15px;} */
body {font-family:Microsoft YaHei;}
</style>
</head>
<body onkeydown="if(window.event.keyCode == 13){
$.h.login.onLogin()
}" class="signin tianjinsignin" style="background-image: url(/assets/web/img/img_bg.jpg);">
<div class="signinpanel tianjinsigninpanel1" style="position: relative;padding: 10%;padding-bottom: 0;">
<img draggable="false" style="position: absolute;left: 0;top: 50px;left: 175px;" src="/assets/web/img/Logo222.png" alt="">
<div class="rowBox" style="justify-content: center;margin: 0 auto;">
<div>
<form id="fm" class="login_form" method="post">
<h4 class="no-margins" style="padding-left: 100px">用户登录</h4>
<p class="m-t-md"></p>
<input type="text" class="form-control" name="name" maxlength="20" placeholder="用户名" />
<input type="password" class="form-control m-b" name="pwd" maxlength="20" placeholder="密码" />
<button type="button" class="btn btn-primary btn-block" onclick="submitForm()">登录</button>
</form>
</div>
</div>
</div>
<div class="foot_text_login1" style="color: #FFFFFF;">© 2020 永保保险代理有限公司 All Rights Reserved</div>
</body>
<script>
function submitForm(){
$('#fm').form('submit', {
url:'/web/index/tologin',
onSubmit: function(){
console.log($(this))
},
success:function(data){
var arr = JSON.parse(data);
if(arr.code == 100){
$.messager.alert("提示", arr.msg);
}else{
$.messager.alert("提示", arr.msg);
window.location.href="/";
}
console.log(arr);
}
});
}
</script>
</html>