commit
This commit is contained in:
95
figma_html_page/phone-login.html
Normal file
95
figma_html_page/phone-login.html
Normal file
@@ -0,0 +1,95 @@
|
||||
<!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/phone-login.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="login-form">
|
||||
<h1 class="page-title">登录万花筒</h1>
|
||||
|
||||
<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="green-btn" id="loginBtn" onclick="doLogin()">登录</button>
|
||||
</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>
|
||||
|
||||
<script src="js/phone-login.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user