AndroidCode / code /10004 /10004_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Render</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #F6F7F9;
border-radius: 0;
}
/* Status bar */
.status-bar {
height: 120px;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
color: #2E2E2E;
font-weight: 600;
font-size: 36px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 28px; }
.dot { width: 12px; height: 12px; background:#4a4a4a; border-radius:50%; }
.wifi, .battery, .location {
width: 38px; height: 38px;
}
.wifi svg, .battery svg, .location svg { width: 100%; height: 100%; }
/* App header */
.app-header {
padding: 10px 40px 0 40px;
}
.top-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.flag {
display: flex;
align-items: center;
gap: 22px;
}
.flag-badge {
width: 78px; height: 78px; border-radius: 50%;
background: #2FB344;
display:flex; align-items:center; justify-content:center;
box-shadow: 0 2px 0 rgba(0,0,0,0.08) inset;
}
.flag-badge span {
width: 52px; height: 52px; border-radius: 50%;
background: radial-gradient(circle at 30% 30%, #FFD54F 0, #FFD54F 50%, #1E88E5 50%, #1E88E5 100%);
display:block;
border: 3px solid #0F6B2C;
}
.header-icons { display:flex; align-items:center; gap: 28px; }
.shield {
width: 68px; height: 68px; border-radius: 18px; background:#1E5DFF;
display:flex; align-items:center; justify-content:center;
box-shadow: 0 10px 20px rgba(30,93,255,0.25);
}
.bell {
width: 68px; height: 68px; border-radius: 20px; border:2px solid #7EA7FF; display:flex; align-items:center; justify-content:center;
color:#1E5DFF;
}
.bell svg { width: 40px; height: 40px; }
.course-title {
margin-top: 18px;
display:flex; align-items:center; gap: 14px;
font-size: 46px; font-weight: 800; color:#1F2937;
}
.dropdown {
width: 26px; height: 26px;
}
.progress-wrap {
margin-top: 16px;
display:flex; align-items:center; gap: 20px;
}
.progress-label {
background: #E6F7EC;
color: #2FB344;
font-weight: 700;
font-size: 32px;
padding: 12px 20px;
border-radius: 28px;
}
.progress-bar {
flex: 1;
height: 26px; background:#D9DDE6; border-radius: 20px; overflow:hidden;
}
.progress-bar .fill { width: 9%; height: 100%; background:#9EA6B8; }
/* Premium banner */
.premium-banner {
margin: 22px 0;
height: 120px;
background:#4B2CF0;
border-radius: 28px;
display:flex; align-items:center; gap: 18px;
padding: 0 34px;
color:#fff; font-weight: 800; font-size: 42px;
}
.cart-icon {
width: 68px; height: 68px; border-radius: 16px; background: rgba(255,255,255,0.15);
display:flex; align-items:center; justify-content:center;
}
.cart-icon svg { width: 40px; height: 40px; fill:#fff; }
/* Chapter section */
.chapter {
padding: 0 40px;
}
.chapter h2 {
margin: 6px 0 10px 0;
font-size: 64px; font-weight: 900; color:#1F2937;
}
.chapter .summary {
font-size: 34px; color:#485062; margin-bottom: 28px;
}
/* Lessons list */
.lessons {
position: relative;
margin-left: 20px;
padding-left: 24px;
}
.lesson {
display:flex; align-items:center; justify-content:space-between;
margin-bottom: 60px;
}
.lesson-left { display:flex; align-items:center; gap: 28px; }
.ring {
width: 180px; height: 180px; border-radius: 50%;
border: 20px solid #23C45E;
display:flex; align-items:center; justify-content:center;
position: relative;
background:#fff;
}
.avatar {
width: 130px; height: 130px; background:#E0E0E0; border:1px solid #BDBDBD;
border-radius: 50%; color:#757575; font-size: 26px;
display:flex; align-items:center; justify-content:center; text-align:center; padding:8px;
}
.check {
position: absolute; right:-6px; bottom:-6px; width: 64px; height:64px; background:#23C45E; border-radius:50%;
display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.check svg { width:36px; height:36px; fill:#fff; }
.lesson-title {
font-size: 50px; font-weight: 800; color:#1F2937;
}
.cloud-btn { width: 70px; height: 70px; display:flex; align-items:center; justify-content:center; }
.cloud-btn svg { width: 58px; height: 58px; stroke:#1E5DFF; fill:none; stroke-width: 6px; }
.connector {
position: absolute;
left: 102px;
top: 190px;
width: 12px; height: 180px; background:#23C45E; border-radius: 6px;
}
/* Bottom sheet modal */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 200px;
margin: 0 auto;
width: 100%;
height: 700px;
background:#fff;
border-top-left-radius: 40px;
border-top-right-radius: 40px;
box-shadow: 0 -20px 40px rgba(0,0,0,0.08);
padding: 60px 50px;
}
.sheet .illustration {
width: 180px; height: 180px; border-radius: 40px; background:#EAF1FF; border: 2px dashed #BBD0FF;
display:flex; align-items:center; justify-content:center; margin: 0 auto 40px auto;
}
.sheet .illustration svg { width: 120px; height: 120px; stroke:#1E5DFF; stroke-width: 10px; fill:none; }
.sheet h3 {
text-align:center; font-size: 60px; font-weight: 900; margin: 0 0 24px 0; color:#1F2937;
}
.sheet p {
text-align:center; font-size: 36px; color:#546070; margin: 0 60px 40px 60px; line-height: 1.35;
}
.sheet .actions {
display:flex; flex-direction:column; gap: 26px; padding: 0 20px;
}
.primary-btn {
height: 120px; border-radius: 64px; background:#2E67FF; color:#fff; font-size: 44px; font-weight: 800; border:none;
box-shadow: 0 12px 24px rgba(46,103,255,0.35);
}
.ghost-btn {
height: 120px; border-radius: 64px; border: 3px solid #CBD5E1; background:#fff; color:#1F2937; font-size: 44px; font-weight: 800;
}
/* Bottom nav */
.bottom-nav {
position: absolute;
bottom: 0; left: 0; right: 0;
height: 220px;
background:#FFFFFF;
border-top-left-radius: 28px; border-top-right-radius: 28px;
box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
padding-top: 26px;
}
.nav-items {
display:flex; justify-content: space-around; align-items: center;
padding: 0 40px;
}
.nav-item {
display:flex; flex-direction: column; align-items:center; gap: 12px; color:#1F2937;
}
.nav-item.active { color:#1E5DFF; }
.nav-item svg { width: 64px; height: 64px; }
.nav-label { font-size: 28px; font-weight: 700; }
.home-pill {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 20px; width: 420px; height: 16px; background:#C9CDD6; border-radius: 16px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<span>6:11</span>
<svg class="location" viewBox="0 0 24 24"><path d="M12 2l6 6-6 14-6-14 6-6z" fill="#4a4a4a"/></svg>
<div class="dot"></div>
<svg class="wifi" viewBox="0 0 24 24"><path d="M2 8c5-4 15-4 20 0M5 12c3-3 11-3 14 0M8 16c2-2 6-2 8 0M12 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4" stroke="#4a4a4a" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
<svg class="battery" viewBox="0 0 24 24"><rect x="1" y="6" width="18" height="12" rx="2" ry="2" stroke="#4a4a4a" stroke-width="2" fill="none"/><rect x="3" y="8" width="10" height="8" fill="#4a4a4a"/><rect x="20" y="10" width="3" height="6" rx="1" fill="#4a4a4a"/></svg>
<span style="font-weight:700;">100%</span>
</div>
<div class="status-right"></div>
</div>
<!-- App Header -->
<div class="app-header">
<div class="top-row">
<div class="flag">
<div class="flag-badge"><span></span></div>
</div>
<div class="header-icons">
<div class="shield">
<svg viewBox="0 0 24 24"><path d="M12 2l8 4v6c0 5-4 8-8 10-4-2-8-5-8-10V6l8-4z" fill="#fff" opacity="0.8"/></svg>
</div>
<div class="bell">
<svg viewBox="0 0 24 24"><path d="M12 22a2 2 0 0 0 2-2H10a2 2 0 0 0 2 2zm8-6V11a8 8 0 1 0-16 0v5l-2 2h20l-2-2z" fill="#1E5DFF"/></svg>
</div>
</div>
</div>
<div class="course-title">
<span>Beginner A1</span>
<svg class="dropdown" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="#64748B" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="progress-wrap">
<div class="progress-label">3%</div>
<div class="progress-bar"><div class="fill"></div></div>
</div>
<div class="premium-banner">
<div class="cart-icon">
<svg viewBox="0 0 24 24"><path d="M3 3h2l3 12h10l2-8H7" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div>Try Premium for free</div>
</div>
</div>
<!-- Chapter -->
<div class="chapter">
<h2>Chapter 1</h2>
<div class="summary">2/6 lessons completed</div>
<div class="lessons">
<div class="lesson">
<div class="lesson-left">
<div class="ring">
<div class="avatar">[IMG: Lesson avatar]</div>
<div class="check"><svg viewBox="0 0 24 24"><path d="M20 6l-11 11-5-5" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
</div>
<div class="lesson-title">Olá!</div>
</div>
<div class="cloud-btn">
<svg viewBox="0 0 24 24">
<path d="M7 16c-3 0-4-4-1-5 1-3 6-4 8-1 3-1 6 2 5 5-1 3-4 3-7 3" stroke="#1E5DFF" fill="none" stroke-width="2" stroke-linecap="round"/>
<path d="M12 10v6m0 0l-3-3m3 3l3-3" stroke="#1E5DFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="connector"></div>
<div class="lesson">
<div class="lesson-left">
<div class="ring">
<div class="avatar">[IMG: Lesson avatar]</div>
<div class="check"><svg viewBox="0 0 24 24"><path d="M20 6l-11 11-5-5" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
</div>
<div class="lesson-title">Saying your name</div>
</div>
<div class="cloud-btn">
<svg viewBox="0 0 24 24">
<path d="M7 16c-3 0-4-4-1-5 1-3 6-4 8-1 3-1 6 2 5 5-1 3-4 3-7 3" stroke="#1E5DFF" fill="none" stroke-width="2" stroke-linecap="round"/>
<path d="M12 10v6m0 0l-3-3m3 3l3-3" stroke="#1E5DFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Bottom Sheet Modal -->
<div class="sheet">
<div class="illustration">
<svg viewBox="0 0 24 24">
<rect x="6" y="2" width="12" height="20" rx="2"></rect>
<path d="M12 7v8m0 0l-3-3m3 3l3-3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<h3>Unlock Offline Mode</h3>
<p>Upgrade to Premium to download chapters and learn anywhere, anytime</p>
<div class="actions">
<button class="primary-btn">Upgrade now</button>
<button class="ghost-btn">Not now</button>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-items">
<div class="nav-item active">
<svg viewBox="0 0 24 24"><path d="M4 20V8l8-5 8 5v12H4z" fill="#1E5DFF"/></svg>
<div class="nav-label">Learn</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M4 20h4V10H4v10zm6 0h4V6h-4v14zm6 0h4V14h-4v6z" fill="#64748B"/></svg>
<div class="nav-label">Progress</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 2l3 7h7l-5.5 4 2 7-6.5-4.5L6 20l2-7L2 9h7l3-7z" fill="#64748B"/></svg>
<div class="nav-label">Crown</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M3 20h18v-2a8 8 0 0 0-18 0v2zM12 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8z" fill="#64748B"/></svg>
<div class="nav-label">Profile</div>
</div>
</div>
<div class="home-pill"></div>
</div>
</div>
</body>
</html>