Files
jiapu/forgot-password.html
T
2026-07-09 17:30:10 +08:00

78 lines
3.1 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>找回密码 - 代代相传</title>
<link rel="stylesheet" href="public/layui/css/layui.css" />
<link rel="stylesheet" href="public/css/public.css" />
<link rel="stylesheet" href="public/tac/css/tac.css" />
<link rel="stylesheet" href="public/css/forgot-password.css" />
</head>
<body class="page-forgot-password">
<main class="auth-layout auth-scenic-layout recover-layout">
<a class="brand auth-page-brand" href="index.html"
><img class="brand-logo" src="public/images/logo.png" alt="我们的家谱,代代相传" /></a
>
<section
class="card form-card auth-card recover-card"
aria-labelledby="recover-title"
>
<div class="eyebrow">Password Recovery</div>
<h1 id="recover-title">找回密码</h1>
<p class="lead">输入注册手机号,获取验证码后重设登录密码。</p>
<form class="form-grid" data-auth-form="password-reset" data-captcha-scene="WEB_H5_FORGOT_PASSWORD" data-success-url="login.html">
<input
class="input"
name="phone"
type="tel"
inputmode="numeric"
autocomplete="tel"
maxlength="11"
placeholder="手机号"
/>
<div class="code-row">
<input
class="input"
name="smsCode"
autocomplete="one-time-code"
placeholder="验证码"
/>
<button class="btn ghost" type="button" data-api-send-code data-scene-code="WEB_H5_FORGOT_PASSWORD">获取验证码</button>
</div>
<input
class="input"
name="newPassword"
type="password"
autocomplete="new-password"
placeholder="新密码"
/>
<input
class="input"
name="confirmPassword"
type="password"
autocomplete="new-password"
placeholder="确认新密码"
/>
<input type="hidden" name="validToken" />
<button class="btn primary" type="submit">重设密码</button>
</form>
</section>
</main>
<!-- 滑动验证弹窗由 captcha-pages.js 按需挂载到页面级容器,避免挤占表单布局 -->
<div class="auth-captcha-modal" data-captcha-box aria-live="polite"></div>
<script src="public/js/md5.js"></script>
<script src="config.js"></script>
<script src="utils/StorageUtil.js"></script>
<script src="utils/FormUtil.js"></script>
<script src="utils/RequestUtil.js"></script>
<script src="utils/MessageUtil.js"></script>
<script src="public/js/api-client.js"></script>
<script src="public/layui/layui.js"></script>
<script src="public/tac/js/tac.min.js"></script>
<script src="public/js/captcha-pages.js"></script>
<script src="public/js/auth-pages.js"></script>
<script src="public/js/page-effects.js"></script>
</body>
</html>