增加一些功能,比如 修正重启后,队列消费会报错的问题
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
</td>
|
||||
<td style="width: 30%;">
|
||||
<!--阿宝修改的-->
|
||||
出租后 <select id="DelayTimeId" name="DelayTime">
|
||||
<%: Html.Language("ChuZuHou")%> <select id="DelayTimeId" name="DelayTime">
|
||||
<option value="1">1</option>
|
||||
<option value="5" selected>5</option>
|
||||
<option value="10">10</option>
|
||||
@@ -352,7 +352,7 @@
|
||||
<option value="60">60</option>
|
||||
<option value="90">90</option>
|
||||
<option value="120">120</option>
|
||||
</select> 分钟无人入住
|
||||
</select> <%: Html.Language("ChuZuHou")%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -404,7 +404,7 @@
|
||||
</td>
|
||||
<td style="width: 30%;">
|
||||
<label for="Radio3" style="vertical-align: top;">
|
||||
   无动作</label>
|
||||
   <%: Html.Language("MeiDongZuo")%></label>
|
||||
<input type="radio" id="Radio4" name="guankongtiao" value="without" checked="checked"
|
||||
style="vertical-align: top;" />
|
||||
</td>
|
||||
@@ -459,7 +459,7 @@
|
||||
</td>
|
||||
<td style="width: 30%;">
|
||||
<label for="Radio1" style="vertical-align: top;">
|
||||
   关空调</label>
|
||||
   <%: Html.Language("GuanKongTiao")%></label>
|
||||
<input type="radio" id="Radio1" name="guankongtiao" value="close" style="vertical-align: top;" />
|
||||
</td>
|
||||
</tr>
|
||||
@@ -483,11 +483,11 @@
|
||||
<td>
|
||||
  
|
||||
<label for="Radio2" style="vertical-align: top;">
|
||||
调 温
|
||||
<%: Html.Language("TiaoWen")%>
|
||||
</label>
|
||||
<input type="radio" id="Radio2" name="guankongtiao" value="monitor" style="vertical-align: top;" />
|
||||
<label for="wendu_id" style="vertical-align: top;">
|
||||
温 度</label>
|
||||
<%: Html.Language("Temperature")%></label>
|
||||
<select id="wendu_id">
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
|
||||
156
WebSite/Views/Home/DencyLogin.aspx
Normal file
156
WebSite/Views/Home/DencyLogin.aspx
Normal file
@@ -0,0 +1,156 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
background: white;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
padding: 40px 35px;
|
||||
animation: fadeIn 0.5s ease-out;
|
||||
}
|
||||
|
||||
.login-header {
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.login-header h1 {
|
||||
color: #333;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.login-header p {
|
||||
color: #666;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
position: relative;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.input-group input {
|
||||
width: 100%;
|
||||
padding: 16px 20px;
|
||||
border: 2px solid #e1e5ee;
|
||||
border-radius: 10px;
|
||||
font-size: 16px;
|
||||
transition: all 0.3s ease;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.input-group input:focus {
|
||||
border-color: #4a6fa5;
|
||||
background-color: white;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
|
||||
}
|
||||
|
||||
.input-group input::placeholder {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
background: linear-gradient(to right, #4a6fa5, #3a86ff);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.login-btn:hover {
|
||||
background: linear-gradient(to right, #3a5d8a, #2a76ff);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px rgba(58, 134, 255, 0.2);
|
||||
}
|
||||
|
||||
.login-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.input-icon {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #888;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.username-icon::before {
|
||||
content: "👤";
|
||||
}
|
||||
|
||||
.password-icon::before {
|
||||
content: "🔒";
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.login-container {
|
||||
padding: 30px 25px;
|
||||
}
|
||||
|
||||
.login-header h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="login-container">
|
||||
<div class="login-header">
|
||||
<h1>后台查看功能暂不可用</h1>
|
||||
<p>请输入用户名和密码</p>
|
||||
</div>
|
||||
|
||||
<form id="loginForm" action="/Home/Loo" method="post">
|
||||
<div class="input-group">
|
||||
<input type="text" id="username" name="username" placeholder="用户名" required>
|
||||
<span class="input-icon username-icon"></span>
|
||||
</div>
|
||||
|
||||
<div class="input-group">
|
||||
<input type="password" id="password" name="password" placeholder="密码" required>
|
||||
<span class="input-icon password-icon"></span>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="login-btn">登录</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user