123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>单仓管理系统</title>
- <script type="text/javascript" src="js/jquery.js"></script>
- <script type="text/javascript" src="/js/cloud.js" ></script>
- <script type="text/javascript" src="/src/lib/jquery.cookie.js" ></script>
- <script language="javascript">
- var ip='';
- var url=
- {
- check:ip+'/sys/checkstate',
- login:ip+'/sys/login',
- mainPage:'/index2.html'
- };
- // $.ajaxSetup({
- // xhrFields: {withCredentials: true }
- // });
- // $.getJSON(url.check,function(data)
- // {
- // if(data.code == 0)
- // {
- // //go to main page
- // location.href=url.mainPage;
- // }
- // });
- $(function() {
- $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
- $(window).resize(function()
- {
- $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
- });
- });
- </script>
- <script type="text/javascript" src="/src/base.js"></script>
- <script type="text/javascript" src="/src/sub/regist.js"></script>
- <script type="text/javascript" src="/src/config.js"></script>
- <style>
- * {
- font-size: 9pt;
- border: 0;
- margin: 0;
- padding: 0;
- }
- body {
- font-family: '微软雅黑';
- margin: 0 auto;
- min-width: 980px;
- background-color: #1c77ac;
- background-image: url(/img/light.png);
- background-repeat: no-repeat;
- background-position: center top;
- overflow: hidden;
- }
- ul {
- display: block;
- margin: 0;
- padding: 0;
- list-style: none;
- }
- li {
- display: block;
- margin: 0;
- padding: 0;
- list-style: none;
- }
- img {
- border: 0;
- }
- dl, dt, dd, span {
- margin: 0;
- padding: 0;
- display: block;
- }
- a, a:focus {
- text-decoration: none;
- color: #000;
- outline: none;
- blr: expression(this.onFocus=this.blur());
- }
- a:hover {
- color: #00a4ac;
- text-decoration: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- cite {
- font-style: normal;
- }
- h2 {
- font-weight: normal;
- }
- /*cloud*/
- #mainBody {
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: -1;
- }
- .cloud {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- background: url(/img/cloud.png) no-repeat;
- z-index: 1;
- opacity: 0.5;
- }
- #cloud2 {
- z-index: 2;
- }
- /*login*/
- .logintop {
- height: 47px;
- position: absolute;
- top: 0;
- background: url(/img/loginbg1.png) repeat-x;
- z-index: 100;
- width: 100%;
- }
- .logintop span {
- color: #fff;
- line-height: 47px;
- background: url(/img/loginsj.png) no-repeat 21px 18px;
- text-indent: 44px;
- color: #afc5d2;
- float: left;
- }
- .logintop ul {
- float: right;
- padding-right: 30px;
- }
- .logintop ul li {
- float: left;
- margin-left: 20px;
- line-height: 47px;
- }
- .logintop ul li a {
- color: #afc5d2;
- }
- .logintop ul li a:hover {
- color: #fff;
- }
- .loginbody {
- background: url(/img/loginbg3.png) no-repeat center center;
- width: 100%;
- height: 585px;
- overflow: hidden;
- position: absolute;
- top: 47px;
- }
- .systemlogo {
- background: url(/img/loginlogo.png) no-repeat center;
- width: 100%;
- height: 86px;
- margin-top: 60px;
- }
- .loginbox {
- width: 692px;
- margin-left: -6%;
- height: 336px;
- background: url(/img/regist/registinfo.png) no-repeat;
- margin-top: 30px;
- }
- .loginbox ul {
- margin-top: 88px;
- margin-left: 451px;
- }
- .loginbox ul li { margin-bottom: 10px;}
- .loginbox ul li label {
- color: #687f92;
- padding-left: 25px;
- }
- .loginbox ul li label a {
- color: #687f92;
- }
- .loginbox ul li label a:hover {
- color: #3d96c9;
- }
- .loginbox ul li label input {
- margin-right: 5px;
- }
- .regist-input1{ width: 327px; height: 48px; background:#ecf5fa; border: 1px solid #bac7d2; border-radius:3px; box-shadow:inset 0 0 2px #ccc; line-height: 48px; padding-left: 14px; font-size: 14px; font-weight: bold;}
- .regist-input2{ width: 90px; height: 38px; background:#ecf5fa; border: 1px solid #bac7d2; border-radius:3px; box-shadow:inset 0 0 2px #ccc; line-height: 38px; padding-left: 14px; font-size: 14px; font-weight: bold;}
- .registbtn1{ width:160px; margin-right:19px; height: 35px; background:#3f97c9; font-size: 14px; font-weight: bold; border-radius:3px; color: #fff; cursor: pointer; line-height: 35px;}
- .registbtn2{ width:344px; height: 35px; background:#3f97c9; font-size: 14px; font-weight: bold; border-radius:3px; color: #fff; cursor: pointer; line-height: 35px;}
- .loginbm {
- height: 50px;
- line-height: 50px;
- text-align: center;
- background: url(/img/loginbg2.png) repeat-x;
- position: absolute;
- bottom: 0;
- width: 100%;
- color: #0b3a58;
- }
- .loginbm a {
- font-weight: bold;
- color: #0b3a58;
- }
- .loginbm a:hover {
- color: #fff;
- }
- </style>
- </head>
- <body>
- <div id="mainBody">
- <div id="cloud1" class="cloud"></div>
- <div id="cloud2" class="cloud"></div>
- </div>
- <div class="logintop">
- <!-- <span>中储粮单仓档案管理系统</span>-->
- <span>单仓档案管理系统</span>
- </div>
- <div class="loginbody">
- <span class="systemlogo"></span>
- <div class="loginbox" style="width:1000px;left:20%;">
- <ul>
- <form action="/admin/sys/login" method="post">
- <li><input type="text" readonly="readonly" class="regist-input1" value="" placeholder="机器码" id="codeNo"/></li>
- <li>
- <input type="button" class="registbtn2" value="获取机器码" id="getRobotCode" />
- <!-- <input type="button" class="registbtn1" value="复制机器码" id="getCopyCode" />-->
- </li>
- <li>
- <input type="text" class="regist-input2" placeholder="注册码" id="mMo0"/> -
- <input type="text" class="regist-input2" id="mMo1"/> -
- <input type="text" class="regist-input2" id="mMo2"/>
- </li>
- <li>
- <input name="sub" type="button" class="registbtn2" value="注册" id="getKeyFile" />
- </li>
- </form>
- </ul>
- </div>
- </div>
- <div class="loginbm">版权所有 2017 <a href="javascript:void(0)">单仓管理系统</a> </div>
- <script type="text/javascript">
- registData.init();
- </script>
- </body>
- </html>
|