Files
jiapu/dist/profile-security.html
T

164 lines
8.0 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/css/public.css" />
<link rel="stylesheet" href="public/layui/css/layui.css" />
<link rel="stylesheet" href="public/css/profile-module.css" />
</head>
<body class="page-profile-module" data-security-page>
<header class="site-header">
<div class="container nav">
<a class="brand magnetic" href="index.html"
><img class="brand-logo brand-logo-mark" src="public/images/logo-mark.png" alt="" /><span class="brand-text">个人中心</span></a
>
<nav class="nav-links">
<a href="profile-services.html">帮助与服务</a
><a class="active" href="profile-security.html">安全设置</a>
</nav>
<div class="nav-actions">
<a href="profile-services.html">返回服务中心</a
><button class="btn primary magnetic" type="button" data-security-logout>退出登录</button>
</div>
</div>
</header>
<main>
<section class="module-hero">
<div class="container">
<div class="module-kicker">安全设置</div>
<div class="module-title-row">
<div>
<h1>安全设置</h1>
<p>维护登录密码、手机号与账号注销安全操作。</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container module-layout">
<aside class="module-nav">
<a href="profile-services.html">帮助与服务</a
><a href="profile-data.html">个人资料</a
><a class="active" href="profile-security.html">安全设置</a
><a href="profile-feedback.html">意见反馈</a>
</aside>
<div class="module-main">
<section class="module-panel">
<h2>账号安全</h2>
<!-- 修改密码表单:字段对应 PasswordChangeBody。 -->
<form class="editor-form security-form" data-security-form="password" novalidate>
<div class="editor-two">
<div class="editor-field">
<label for="oldPassword">当前密码 <span class="field-required" aria-hidden="true">*</span></label>
<input id="oldPassword" name="oldPassword" type="password" autocomplete="current-password" required />
</div>
<div class="editor-field">
<label for="newPassword">新密码 <span class="field-required" aria-hidden="true">*</span></label>
<input id="newPassword" name="newPassword" type="password" autocomplete="new-password" required />
</div>
</div>
<div class="editor-field">
<label for="confirmPassword">确认新密码 <span class="field-required" aria-hidden="true">*</span></label>
<input id="confirmPassword" name="confirmPassword" type="password" autocomplete="new-password" required />
</div>
<div class="bottom-actions">
<button class="btn primary magnetic" type="submit" data-security-submit>修改密码</button>
<div class="form-status" data-security-status role="status" aria-live="polite"></div>
</div>
</form>
</section>
<section class="module-panel">
<h2>换绑手机号</h2>
<!-- 换绑手机号表单:字段对应 PhoneChangeBody。 -->
<form class="editor-form security-form" data-security-form="phone" novalidate>
<div class="editor-two">
<div class="editor-field">
<label for="newPhone">新手机号 <span class="field-required" aria-hidden="true">*</span></label>
<input
id="newPhone"
name="phone"
type="tel"
inputmode="numeric"
maxlength="11"
autocomplete="tel"
required
/>
</div>
<div class="editor-field">
<label for="phoneSmsCode">短信验证码 <span class="field-required" aria-hidden="true">*</span></label>
<input
id="phoneSmsCode"
name="smsCode"
type="text"
inputmode="numeric"
maxlength="4"
pattern="\d{4}"
autocomplete="one-time-code"
required
/>
<button class="btn ghost magnetic" type="button" data-security-send-code>获取验证码</button>
</div>
</div>
<input id="phoneValidToken" name="validToken" type="hidden" />
<div class="bottom-actions">
<button class="btn primary magnetic" type="submit" data-security-submit>确认换绑</button>
<div class="form-status" data-security-status role="status" aria-live="polite"></div>
</div>
</form>
</section>
<section class="module-panel security-danger">
<h2>注销账号</h2>
<p>验证已绑定手机号的短信验证码后提交注销申请。</p>
<form class="editor-form security-form" data-security-form="deactivate" novalidate>
<div class="editor-field">
<label for="deactivateSmsCode">短信验证码 <span class="field-required" aria-hidden="true">*</span></label>
<input
id="deactivateSmsCode"
name="smsCode"
type="text"
inputmode="numeric"
maxlength="4"
pattern="\d{4}"
autocomplete="one-time-code"
required
/>
<button class="btn ghost magnetic" type="button" data-security-send-deactivate-code>
获取验证码
</button>
<div class="form-status" data-security-bound-phone role="status" aria-live="polite"><div class="api-state api-state--loading" data-api-state="loading" aria-busy="true">正在读取已绑定手机号…</div></div>
</div>
<div class="editor-field">
<label for="confirmText">确认文本 <span class="field-required" aria-hidden="true">*</span></label>
<input id="confirmText" name="confirmText" type="text" placeholder="请输入:确认注销" required />
</div>
<input name="validToken" type="hidden" />
<div class="bottom-actions">
<button class="btn danger magnetic" type="submit" data-security-submit>提交注销</button>
<div class="form-status" data-security-status role="status" aria-live="polite"></div>
</div>
</form>
</section>
</div>
</div>
</section>
</main>
<script src="public/js/jquery360.js"></script>
<script src="public/layui/layui.js"></script>
<script src="public/js/lay-config.js"></script>
<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/axios.js"></script>
<script src="utils/AxiosRequestUtil.js"></script>
<script src="utils/ApiClient.js"></script>
<script src="public/js/profile-common.js"></script>
<script src="public/tac/js/tac.min.js"></script>
<script src="public/js/captcha-pages.js"></script>
<script src="public/js/security-pages.js"></script>
<script src="public/js/page-effects.js"></script>
</body>
</html>