From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 二月 2023 13:25:09 +0800
Subject: [PATCH] 工资绩效改版

---
 zhengcaioa/zhengcaioa/Views/Home/login.cshtml |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/Home/login.cshtml b/zhengcaioa/zhengcaioa/Views/Home/login.cshtml
index 01919e4..76a2d94 100644
--- a/zhengcaioa/zhengcaioa/Views/Home/login.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/Home/login.cshtml
@@ -41,7 +41,7 @@
         }
 
         .login-body {
-            background: #005599 url(/img/3.jpg) center bottom no-repeat fixed;
+            background: #005599 url(/img/3.jpg?v=2) center bottom no-repeat fixed;
             background-size: cover;
             width: 100%;
             height: 100%;
@@ -67,12 +67,12 @@
         }
 
         .login-body .login-wrap {
-            background: url(/img/images/loginbg.png) no-repeat;
+          /*  background: url(/img/images/loginbg.png) no-repeat;*/
             background-size: 100%;
             width: 450px;
             height: 338px;
-            margin-left: 180px;
-            margin-bottom:20px;
+            margin-left: 70%;
+            margin-bottom:100px;
             padding: 40px 70px 30px;
         }
 
@@ -232,11 +232,11 @@
     <div class="container">
         <form class="form-signin" action="/Home/Login" method="post">
             <div class="form-signin-heading text-center">
-                <img src="~/img/images/logo.png?v=3" alt="" style="height:100px;" />
+                <img src="~/img/images/logo.png?v=4" alt="" style="height:100px;margin-left:85%;margin-bottom:10%;" />
             </div>
             <div class="login-wrap">
                 <div class="form-group has-feedback">
-                    <input name="txtID" type="text" class="form-control" placeholder="鐧诲綍璐﹀彿" autofocus value="">
+                    <input name="txtID" type="text" class="form-control" placeholder="鐧诲綍璐﹀彿" autofocus value="" >
                     <span class="glyphicon glyphicon-user form-control-feedback"></span>
                 </div>
                 <div class="form-group has-feedback">
@@ -257,7 +257,7 @@
                         &nbsp;<input name="hidIp" id="hidIp" type="hidden" class="form-control">
                     </div>
                 </div>
-                <button class="btn btn-lg btn-login btn-block" type="submit">
+                <button class="btn btn-lg btn-login btn-block" id="login" type="submit">
                     鐧� 褰�
                 </button>
                 <div class="row">
@@ -345,6 +345,16 @@
         else {
             console.log("璇蜂娇鐢ㄤ富娴佹祻瑙堝櫒锛歝hrome,firefox,opera,safari");
         }
+
+
+        //鍥炶溅浜嬩欢
+        document.onkeydown = function (event) {
+            var e = event || window.event;
+            if (e && e.keyCode == 13) { //鍥炶溅閿殑閿�间负13
+                $("#login").click(); //璋冪敤鐧诲綍鎸夐挳鐨勭櫥褰曚簨浠�
+            }
+        }; 
+
     </script>
 </body>
 </html>

--
Gitblit v1.9.1