From 1243f9cdb1ce367af05caabbb71ce81e38d5a1af Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 16 四月 2025 16:16:43 +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 bd6afe5..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?v=1) 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 @@
<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