登陆页和首页修改

This commit is contained in:
2025-01-15 17:10:51 +08:00
parent 8fea1ef63f
commit 6da4769b47
6 changed files with 270 additions and 43 deletions
+9 -9
View File
@@ -49,7 +49,7 @@
<div
class="bi-single bi-label dec-login-visual-title bi-text"
style="height: 30px; line-height: 30px; text-align: center; white-space: nowrap; text-overflow: ellipsis; position: relative; margin: 5px auto 0px 5px; font-family: 'Microsoft YaHei'; font-size: 26px; letter-spacing: 2px; font-weight: 600;">
数字化施工管理信息平台
<asp:Literal runat="server" Text="<%$ Resources:Lan,Title%>" />
</div>
</div>
<div
@@ -96,7 +96,7 @@
<input
type="text"
id="user"
placeholder="用户名"
placeholder=""
class="bi-single bi-input display-block overflow-dot"
autocomplete="off"
style="left: 0px; right: 0px; top: 0px; bottom: 0px; position: absolute; font-size: 16px;" />
@@ -143,7 +143,7 @@
id="pwd"
autocomplete="off"
type="password"
placeholder="密码"
placeholder="<asp:Literal runat="server" Text="<%$ Resources:Lan,Password%>" />"
class="bi-single bi-input display-block overflow-dot"
style="left: 0px; right: 0px; top: 0px; bottom: 0px; position: absolute; font-size: 16px;" />
</div>
@@ -200,7 +200,7 @@
<div
class="bi-single bi-label list-item-text bi-text"
style="height: 16px; line-height: 16px; text-align: left; white-space: nowrap; text-overflow: ellipsis; position: relative; flex-shrink: 0;">
一周内自动登录
<asp:Literal runat="server" Text="<%$ Resources:Lan,RememberMe%>" />
</div>
</div>
</div>
@@ -213,12 +213,11 @@
id="languageSelect"
class="bi-single bi-input display-block overflow-dot"
style="height: 30px; left: 0px; right: 0px; top: 0px; bottom: 0px; position: relative; font-size: 16px; margin: 8px;">
<option value="zh-CN" style="color: aliceblue">中文
<option value="zh-CN" >中文
</option>
<option value="en-US" style="color: aliceblue">English
</option>
<option value="zh-CN" style="color: aliceblue">中文
<option value="en-US" >English
</option>
</select>
</div>
<div
@@ -292,6 +291,7 @@
$("#pwd").val(pwd);
var currentLanguage = getCookie("Language") || "zh-CN";
$("#languageSelect").val(currentLanguage); // 设置默认选中的值
}); // 为下拉框添加事件监听器
$("#languageSelect").change(function () {
currentLanguage = $(this).val();
@@ -317,7 +317,7 @@
}),
success: function (data) {
if (data.d == "" || data.d == undefined) {
alert("账号密码不正确!");
alert(" <asp:Literal runat="server" Text="<%$ Resources:Lan,LoginError%>" />");
} else {
var $activeWrap = document.getElementById("activewrap");
if ($activeWrap.className.indexOf("active") !== -1) {