加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UpdateUser.aspx 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
sxt 提交于 2024-04-26 18:25 . first
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateUser.aspx.cs" Inherits="HelloASPX.UpdateUser" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>修改密码</title>
<link rel="stylesheet" href="./libs/particles/css/style.css" />
<link rel="stylesheet" href="./css/base.css" />
<link rel="stylesheet" href="./css/login.css" />
</head>
<body>
<form id="form1" runat="server">
<div id="particles-js"></div>
<div id="wrapper">
<div>
<a href="ProductList.aspx"><img src="./img/logo.png" style="width:300px;" /></a>
<h2>更改密码</h2>
</div>
<nav class="switch_nav">
<a href="register.aspx" id="switch_signup" class="switch_btn">注册</a>
<a href="Login.aspx" id="switch_login" class="switch_btn">登陆</a>
<div class="switch_bottom" id="switch_bottom"></div>
</nav>
<div id="login">
<ul class="group_input">
<li>
<asp:TextBox ID="username" runat="server" type="text" class="mobile required" placeholder="用户名" name="username" OnTextChanged="username_TextChanged" AutoPostBack="True"></asp:TextBox>
<asp:Label ID="usernameLabel" runat="server" Font-Bold="True" Font-Size="12px" ForeColor="Red"></asp:Label>
</li>
<li>
<asp:TextBox ID="oldPassword" runat="server" class="psd required" placeholder="旧密码" name="mima"></asp:TextBox>
</li>
<asp:Panel ID="Panel1" runat="server" Visible="False">
<li>
<asp:TextBox ID="passwordQuestion" runat="server" class="mobile required" placeholder="密保问题" readonly="true" OnTextChanged="passwordQuestion_TextChanged"></asp:TextBox>
</li>
<li>
<asp:TextBox ID="answer" runat="server" class="psd required" placeholder="答案" name="answer" OnTextChanged="answer_TextChanged" AutoPostBack="True"></asp:TextBox>
<asp:Label ID="answerLabel" runat="server" Font-Bold="True" Font-Size="12px" ForeColor="Red"></asp:Label>
</li>
<asp:Panel ID="Panel2" runat="server" Visible="False">
<li>
<asp:TextBox ID="newPassword" runat="server" class="psd required" placeholder="新密码"></asp:TextBox>
</li>
<li>
<asp:TextBox ID="newPassword2" runat="server" class="psd required" placeholder="确认新密码"></asp:TextBox>
</li>
</asp:Panel>
</asp:Panel>
</ul>
<asp:Button ID="Button1" runat="server" Text="确认修改" type="submit" class="submit_btn" OnClick="Button1_Click" />
</div>
</div>
</form>
<script src="./libs/jquery-1.12.4/jquery.min.js"></script>
<script src="./libs/particles/particles.min.js"></script>
<script src="./libs/particles/js/app.js"></script>
<script>
var count_particles, stats, update;
stats = new Stats;
stats.setMode(0);
stats.domElement.style.position = 'absolute';
stats.domElement.style.left = '0px';
stats.domElement.style.top = '0px';
document.body.appendChild(stats.domElement);
count_particles = document.querySelector('.js-count-particles');
update = function () {
stats.begin();
stats.end();
if (window.pJSDom[0].pJS.particles && window.pJSDom[0].pJS.particles.array) {
count_particles.innerText = window.pJSDom[0].pJS.particles.array.length;
}
requestAnimationFrame(update);
};
requestAnimationFrame(update);
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化