Files
ai_wht_wechat/figma_html_page/bind-account.html
2026-01-06 19:36:42 +08:00

119 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>绑定小红书账号</title>
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/bind-account.css">
</head>
<body>
<div class="container">
<div class="status-bar">
<span class="time">9:41</span>
<div class="icons">
<svg width="18" height="12" viewBox="0 0 18 12" fill="none">
<path d="M1 4C1 2.89543 1.89543 2 3 2H4C5.10457 2 6 2.89543 6 4V8C6 9.10457 5.10457 10 4 10H3C1.89543 10 1 9.10457 1 8V4Z" stroke="#000" stroke-width="1.5"/>
<path d="M7 3C7 2.44772 7.44772 2 8 2H9C9.55228 2 10 2.44772 10 3V9C10 9.55228 9.55228 10 9 10H8C7.44772 10 7 9.55228 7 9V3Z" stroke="#000" stroke-width="1.5"/>
<path d="M13 1C13 0.447715 13.4477 0 14 0H15C15.5523 0 16 0.447715 16 1V11C16 11.5523 15.5523 12 15 12H14C13.4477 12 13 11.5523 13 11V1Z" stroke="#000" stroke-width="1.5"/>
</svg>
<svg width="16" height="12" viewBox="0 0 16 12" fill="none">
<path d="M8 2.5C4.5 2.5 1.5 5 0 8C1.5 5.5 4.5 4 8 4C11.5 4 14.5 5.5 16 8C14.5 5 11.5 2.5 8 2.5Z" fill="#000"/>
</svg>
<svg width="25" height="12" viewBox="0 0 25 12" fill="none">
<rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#000"/>
<rect x="2" y="2" width="18" height="8" rx="1" fill="#000"/>
<path d="M23 4V8C24.1046 8 25 7.10457 25 6V6C25 4.89543 24.1046 4 23 4Z" fill="#000"/>
</svg>
</div>
</div>
<div class="nav-bar">
<div class="back-btn" onclick="history.back()">
<svg viewBox="0 0 10 18">
<path d="M9 1L1 9L9 17" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="nav-icons">
<div class="nav-icon">
<svg width="20" height="4" viewBox="0 0 20 4" fill="none">
<circle cx="2" cy="2" r="2" fill="#000"/>
<circle cx="10" cy="2" r="2" fill="#000"/>
<circle cx="18" cy="2" r="2" fill="#000"/>
</svg>
</div>
<div class="nav-icon">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none">
<circle cx="10" cy="10" r="9" stroke="#000" stroke-width="1.5"/>
<circle cx="10" cy="10" r="3" stroke="#000" stroke-width="1.5"/>
</svg>
</div>
</div>
</div>
<div class="bind-content">
<div class="xhs-logo">
<svg width="56" height="56" viewBox="0 0 56 56" fill="none">
<rect width="56" height="56" rx="12" fill="#FF2442"/>
<path d="M16 22h6v12h-6zM22 22h6v12h-6zM28 22h6v12h-6zM34 22h6v12h-6z" fill="#fff" opacity="0"/>
<text x="28" y="32" text-anchor="middle" fill="#fff" font-size="12" font-weight="600">小红书</text>
</svg>
</div>
<h1 class="page-title">请绑定小红书账号</h1>
<p class="page-subtitle">手机号未注册小红书会导致绑定失败</p>
<div class="bind-form">
<div class="input-row">
<span class="label">手机号</span>
<span class="prefix">+86</span>
<input type="tel" id="phoneInput" placeholder="输入手机号" maxlength="11" oninput="checkInputs()">
</div>
<div class="input-row">
<span class="label">验证码</span>
<input type="text" id="codeInput" placeholder="请输入验证码" maxlength="6" oninput="checkInputs()">
<button class="get-code" id="getCodeBtn" onclick="getCode()">获取验证码</button>
</div>
<button class="red-btn" id="bindBtn" onclick="doBind()">验证并绑定</button>
</div>
</div>
<div class="bottom-indicator"></div>
</div>
<div class="toast-overlay" id="toastOverlay">
<div class="toast">
<div class="toast-icon">
<svg viewBox="0 0 36 36">
<path d="M8 18L15 25L28 12" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
</svg>
</div>
<div class="toast-text">绑定成功</div>
</div>
</div>
<div class="toast-overlay" id="loadingOverlay">
<div class="toast">
<div class="toast-loading"></div>
<div class="toast-text">获取验证中</div>
</div>
</div>
<div class="toast-overlay" id="failOverlay">
<div class="toast">
<div class="toast-icon info">
<svg viewBox="0 0 32 32">
<circle cx="16" cy="16" r="14" stroke="#fff" stroke-width="2" fill="none"/>
<text x="16" y="21" text-anchor="middle" fill="#fff" font-size="16" font-weight="600">i</text>
</svg>
</div>
<div class="toast-text">绑定失败,手机<br>号未注册账号</div>
</div>
</div>
<script src="js/bind-account.js"></script>
</body>
</html>