190 lines
6.4 KiB
HTML
190 lines
6.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>可乐 - 活力橙红登录</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Outfit:wght@400;600;700;800&display=swap" rel="stylesheet">
|
|
<style>
|
|
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
|
|
|
|
body{
|
|
font-family:'Noto Sans SC','Outfit',system-ui,sans-serif;
|
|
min-height:100vh;display:flex;
|
|
background:#fff8f5;color:#2d1b12;
|
|
}
|
|
|
|
/* ===== 左侧大图区 ===== */
|
|
.visual-panel{
|
|
flex:1;display:none;position:relative;
|
|
background:linear-gradient(160deg,#ff6b35 0%,#f7931e 30%,#ff4757 70%,#c44569 100%);
|
|
overflow:hidden;
|
|
flex-direction:column;justify-content:flex-end;padding:48px;
|
|
}
|
|
@media(min-width:900px){.visual-panel{display:flex}}
|
|
|
|
/* 装饰圆 */
|
|
.visual-panel .deco{
|
|
position:absolute;border-radius:50%;
|
|
}
|
|
.visual-panel .deco-1{
|
|
width:500px;height:500px;top:-15%;right:-10%;
|
|
background:rgba(255,255,255,0.08);
|
|
}
|
|
.visual-panel .deco-2{
|
|
width:300px;height:300px;bottom:10%;left:-5%;
|
|
background:rgba(255,255,255,0.06);
|
|
}
|
|
.visual-panel .deco-3{
|
|
width:200px;height:200px;top:30%;right:20%;
|
|
background:rgba(255,255,255,0.05);
|
|
}
|
|
|
|
/* 大图标 */
|
|
.hero-icon{
|
|
position:absolute;top:50%;left:50%;transform:translate(-50%,-55%);
|
|
font-size:120px;opacity:.15;
|
|
filter:drop-shadow(0 0 40px rgba(0,0,0,0.1));
|
|
}
|
|
|
|
.visual-content{position:relative;z-index:1}
|
|
.visual-content h2{
|
|
font-family:'Outfit','Noto Sans SC',sans-serif;
|
|
font-size:36px;font-weight:800;color:#fff;line-height:1.2;
|
|
margin-bottom:12px;
|
|
}
|
|
.visual-content p{font-size:15px;color:rgba(255,255,255,0.7);line-height:1.6;max-width:380px}
|
|
|
|
/* 统计条 */
|
|
.stats{
|
|
position:relative;z-index:1;
|
|
display:flex;gap:32px;margin-top:36px;
|
|
padding-top:24px;border-top:1px solid rgba(255,255,255,0.15);
|
|
}
|
|
.stat-num{font-family:'Outfit',sans-serif;font-size:28px;font-weight:700;color:#fff}
|
|
.stat-label{font-size:12px;color:rgba(255,255,255,0.5);margin-top:2px}
|
|
|
|
/* ===== 右侧表单 ===== */
|
|
.form-panel{
|
|
flex:0 0 auto;width:min(480px,100%);
|
|
display:flex;flex-direction:column;
|
|
align-items:center;justify-content:center;
|
|
padding:48px 40px;
|
|
background:#fff8f5;
|
|
min-height:100vh;
|
|
}
|
|
@media(max-width:899px){
|
|
.form-panel{width:100%;padding:28px 24px}
|
|
}
|
|
|
|
/* 移动端品牌 */
|
|
.mobile-brand{display:none;text-align:center;margin-bottom:28px}
|
|
@media(max-width:899px){.mobile-brand{display:block}}
|
|
.mobile-brand .icon{
|
|
width:52px;height:52px;margin:0 auto 10px;
|
|
background:linear-gradient(135deg,#ff6b35,#ff4757);
|
|
border-radius:16px;display:flex;align-items:center;justify-content:center;
|
|
font-size:26px;box-shadow:0 8px 24px rgba(255,107,53,0.3);
|
|
}
|
|
.mobile-brand h1{font-size:22px;font-weight:700;color:#2d1b12}
|
|
.mobile-brand p{font-size:13px;color:#b89080;margin-top:2px}
|
|
|
|
.form-wrapper{width:100%;max-width:360px}
|
|
|
|
/* 欢迎语 */
|
|
.welcome{margin-bottom:28px}
|
|
.welcome h2{font-size:24px;font-weight:700;color:#2d1b12;margin-bottom:4px}
|
|
.welcome p{font-size:13px;color:#b89080}
|
|
|
|
/* Tabs - 胶囊风格 */
|
|
.tabs{
|
|
display:inline-flex;margin-bottom:24px;
|
|
background:#f5ece7;border-radius:12px;padding:4px;
|
|
}
|
|
.tab{
|
|
padding:10px 24px;text-align:center;font-size:13px;font-weight:500;
|
|
color:#b89080;background:none;border:none;cursor:pointer;
|
|
border-radius:10px;transition:all .2s;font-family:inherit;
|
|
}
|
|
.tab.active{
|
|
background:#fff;color:#ff6b35;font-weight:600;
|
|
box-shadow:0 2px 8px rgba(255,107,53,0.1);
|
|
}
|
|
.tab:hover:not(.active){color:#8b7060}
|
|
|
|
/* 表单 */
|
|
.form{display:none}
|
|
.form.active{display:block;animation:popIn .3s cubic-bezier(.22,1,.36,1)}
|
|
@keyframes popIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
|
|
|
|
.input-group{margin-bottom:16px}
|
|
.input-group label{
|
|
display:block;font-size:13px;font-weight:600;color:#8b7060;
|
|
margin-bottom:6px;
|
|
}
|
|
.field{position:relative;display:flex;align-items:center}
|
|
.field input{
|
|
width:100%;padding:13px 16px;font-size:14px;
|
|
border:2px solid #f0e4db;border-radius:12px;
|
|
background:#fff;color:#2d1b12;font-family:inherit;
|
|
outline:none;transition:all .2s;
|
|
}
|
|
.field input:hover{border-color:#e0d0c4}
|
|
.field input:focus{border-color:#ff6b35;box-shadow:0 0 0 4px rgba(255,107,53,0.1)}
|
|
.field input::placeholder{color:#cbb8a8}
|
|
|
|
.field .toggle-pwd{
|
|
position:absolute;right:14px;background:none;border:none;
|
|
color:#cbb8a8;cursor:pointer;font-size:16px;padding:4px;
|
|
}
|
|
.field .toggle-pwd:hover{color:#8b7060}
|
|
|
|
.code-btn{
|
|
position:absolute;right:8px;
|
|
padding:8px 16px;border-radius:10px;border:none;
|
|
background:linear-gradient(135deg,#ff6b35,#ff4757);color:#fff;
|
|
font-size:12px;font-weight:600;cursor:pointer;
|
|
white-space:nowrap;transition:all .2s;font-family:inherit;
|
|
}
|
|
.code-btn:hover{opacity:.85;transform:scale(1.02)}
|
|
.code-btn:disabled{opacity:.35;cursor:not-allowed;transform:none}
|
|
|
|
.forgot{display:flex;justify-content:flex-end;margin:6px 0 20px}
|
|
.forgot a{font-size:12px;color:#ff6b35;text-decoration:none;font-weight:500}
|
|
.forgot a:hover{text-decoration:underline}
|
|
|
|
.btn-primary{
|
|
width:100%;padding:14px;border:none;border-radius:12px;
|
|
background:linear-gradient(135deg,#ff6b35 0%,#ff4757 100%);
|
|
color:#fff;font-size:15px;font-weight:700;cursor:pointer;
|
|
font-family:inherit;letter-spacing:.3px;
|
|
box-shadow:0 8px 24px rgba(255,107,53,0.3);
|
|
transition:all .25s;position:relative;overflow:hidden;
|
|
}
|
|
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(255,107,53,0.4)}
|
|
.btn-primary:active{transform:translateY(0)}
|
|
.btn-primary::after{
|
|
content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
|
|
background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
|
|
transition:left .5s;
|
|
}
|
|
.btn-primary:hover::after{left:100%}
|
|
|
|
.divider{display:flex;align-items:center;gap:14px;margin:24px 0}
|
|
.divider::before,.divider::after{content:'';flex:1;height:1px;background:#f0e4db}
|
|
.divider span{font-size:12px;color:#cbb8a8;white-space:nowrap}
|
|
|
|
.social{display:flex;justify-content:center;gap:12px}
|
|
.social-btn{
|
|
width:48px;height:48px;border-radius:14px;border:2px solid #f0e4db;
|
|
background:#fff;display:flex;align-items:center;justify-content:center;
|
|
cursor:pointer;transition:all .25s;font-size:20px;
|
|
}
|
|
.social-btn:hover{
|
|
border-color:#ff6b35;
|
|
box-shadow:0 4px 16px rgba(255,107,53,0.15);
|
|
transform:translateY(-2px);
|
|
}
|
|
|
|
.footer{text-align:center;margin-top:24px;font-size: |