AndroidCode / code /10177 /10177_12.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Recreation</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: linear-gradient(#0c0d10, #1f242a 35%, #262b31 100%);
border-radius: 36px;
box-shadow: 0 20px 60px rgba(0,0,0,0.45);
color: #e8edf2;
}
/* Status bar */
.status-bar {
position: absolute; top: 18px; left: 24px; right: 24px; height: 48px; color: #e9eaed; font-size: 34px; display: flex; align-items: center; justify-content: space-between; opacity: 0.9;
}
.status-icons { display: flex; align-items: center; gap: 22px; }
.status-icons svg { width: 36px; height: 36px; stroke: #e9eaed; fill: none; }
/* Top controls */
.back-btn {
position: absolute; top: 140px; left: 28px; width: 88px; height: 88px; border-radius: 44px;
background: rgba(12,13,16,0.6); display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 40px; height: 40px; stroke: #ffffff; fill: none; stroke-width: 5; }
.menu-bubble {
position: absolute; top: 280px; right: 36px; width: 110px; height: 110px; border-radius: 55px;
background: #0f1216; box-shadow: 0 6px 18px rgba(0,0,0,0.45);
display: flex; align-items: center; justify-content: center;
}
.menu-bubble .dots { display: flex; flex-direction: column; gap: 10px; }
.menu-bubble .dot {
width: 12px; height: 12px; border-radius: 50%; background: #e8edf2;
}
/* Album/playlist cover */
.cover {
position: absolute; top: 260px; left: 120px; width: 720px; height: 720px;
background: #3a3e47; border: 1px solid #2f333a; border-radius: 30px;
display: flex; align-items: center; justify-content: center; color: #c9cfd6; font-size: 34px;
}
/* Action bubbles (edit/play) */
.action-bubbles { position: absolute; top: 600px; left: 870px; display: flex; flex-direction: column; gap: 36px; }
.bubble {
width: 120px; height: 120px; border-radius: 60px; display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.bubble.edit { background: #ffffff; }
.bubble.play { background: #57c9b6; }
.bubble svg { width: 50px; height: 50px; stroke-width: 4; }
.bubble.edit svg { stroke: #2a2f36; fill: none; }
.bubble.play svg { stroke: none; fill: #ffffff; }
/* Titles and description */
.title {
position: absolute; top: 1040px; left: 70px; font-size: 74px; font-weight: 700; letter-spacing: 0.2px;
}
.subtitle {
position: absolute; top: 1142px; left: 70px; font-size: 36px; color: #b9c0c8;
}
/* Small actions row */
.meta-row {
position: absolute; top: 1240px; left: 70px; display: flex; align-items: center; gap: 28px;
}
.circle-btn {
width: 88px; height: 88px; border-radius: 44px; border: 2px solid #3b4149; color: #e8edf2;
display: flex; align-items: center; justify-content: center; opacity: 0.95;
}
.circle-btn svg { width: 40px; height: 40px; stroke: #e8edf2; fill: none; stroke-width: 4; }
.meta-text { font-size: 32px; color: #c3c9d0; margin-left: 18px; }
/* Track item */
.track {
position: absolute; top: 1420px; left: 70px; right: 70px; display: flex; align-items: center; justify-content: space-between;
}
.track .left { display: flex; flex-direction: column; }
.track .title { position: static; font-size: 46px; font-weight: 600; color: #eef2f6; }
.track .artist { font-size: 32px; color: #b8bec6; margin-top: 8px; }
.track .right { display: flex; align-items: center; gap: 34px; }
.track .icon { width: 46px; height: 46px; }
.track .icon svg { width: 46px; height: 46px; stroke: #cfd5dc; fill: none; stroke-width: 4; }
.vertical-dots { display: flex; flex-direction: column; gap: 8px; }
.vertical-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #cfd5dc; }
/* Add buttons */
.add-more {
position: absolute; top: 1660px; left: 70px; width: 940px; height: 126px; border-radius: 22px;
background: #2a3037; display: flex; align-items: center; justify-content: center; gap: 22px; color: #7ad0c1; font-size: 42px; font-weight: 600;
}
.add-more .plus, .add-videos .plus { width: 44px; height: 44px; border-radius: 22px; border: 3px solid currentColor; display: flex; align-items: center; justify-content: center; }
.add-videos {
position: absolute; top: 1860px; left: 70px; width: 940px; height: 140px; border-radius: 26px;
background: #61d1bf; color: #ffffff; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 46px; font-weight: 700;
box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.badge {
font-size: 26px; padding: 6px 12px; border-radius: 16px; background: rgba(255,255,255,0.25); color: #ffffff; letter-spacing: 0.4px;
}
/* Ad banner placeholder */
.ad-banner {
position: absolute; top: 1940px; left: 0; width: 1080px; height: 150px;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center; font-size: 32px;
}
/* Mini player */
.mini-player {
position: absolute; top: 2100px; left: 0; width: 1080px; height: 130px; background: #2a2f36; display: flex; align-items: center; padding: 0 24px; box-sizing: border-box;
}
.mini-cover {
width: 96px; height: 96px; margin-right: 22px; background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mini-info { flex: 1; }
.mini-info .t { font-size: 36px; color: #eef2f6; }
.mini-info .s { font-size: 28px; color: #b8bec6; margin-top: 6px; }
.mini-play { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.mini-play svg { width: 50px; height: 50px; fill: none; stroke: #e8edf2; stroke-width: 5; }
/* Home indicator */
.home-indicator {
position: absolute; top: 2242px; left: 50%; transform: translateX(-50%);
width: 260px; height: 10px; border-radius: 6px; background: #bfc5cc; opacity: 0.65;
}
/* Bottom navigation */
.bottom-nav {
position: absolute; bottom: 0; left: 0; width: 1080px; height: 140px; background: #242a30; display: flex; align-items: center; justify-content: space-around; padding-bottom: 6px;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #c7cdd4; }
.nav-item svg { width: 44px; height: 44px; stroke: #c7cdd4; fill: none; stroke-width: 4; }
.nav-item span { font-size: 30px; }
.active span { color: #e8edf2; position: relative; }
.active span::after {
content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
width: 60px; height: 6px; border-radius: 3px; background: #e8edf2;
}
.nav-item .round {
width: 44px; height: 44px; border-radius: 22px; background: #5f7f8f; color: #e8edf2; font-weight: 700; font-size: 28px;
display: flex; align-items: center; justify-content: center;
}
.pro-dot {
position: absolute; top: 6px; right: -4px; width: 16px; height: 16px; border-radius: 8px; background: #ff4d4d;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>12:28</div>
<div class="status-icons">
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M2 8s5-4 10-4 10 4 10 4"/><path d="M5 12s4-3 7-3 7 3 7 3"/><path d="M8 16s3-2 4-2 4 2 4 2"/><circle cx="12" cy="19" r="1.5" fill="#e9eaed"/></svg>
<!-- battery -->
<svg viewBox="0 0 28 24">
<rect x="2" y="5" width="20" height="14" rx="2" ry="2" stroke="#e9eaed"></rect>
<rect x="4" y="7" width="14" height="10" fill="#e9eaed" stroke="none"></rect>
<rect x="23" y="9" width="3" height="6" rx="1" ry="1" stroke="#e9eaed"></rect>
</svg>
</div>
</div>
<!-- Back button -->
<div class="back-btn">
<svg viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7"/></svg>
</div>
<!-- Vertical dots menu bubble -->
<div class="menu-bubble">
<div class="dots">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<!-- Cover placeholder -->
<div class="cover">[IMG: Playlist Cover]</div>
<!-- Edit and Play bubbles -->
<div class="action-bubbles">
<div class="bubble edit">
<svg viewBox="0 0 24 24"><path d="M3 17l2.5 2.5L17.5 8.5l-2.5-2.5L3 17z"/><path d="M19 5l0 0"/></svg>
</div>
<div class="bubble play">
<svg viewBox="0 0 24 24"><path d="M8 5l12 7-12 7z"/></svg>
</div>
</div>
<!-- Title and subtitle -->
<div class="title">Chill List</div>
<div class="subtitle">1 song with music from artists like Joe Pass.</div>
<!-- Meta / small actions -->
<div class="meta-row">
<div class="circle-btn">
<svg viewBox="0 0 24 24"><path d="M7 17l5 5 5-5"/><path d="M12 3v19"/></svg>
</div>
<div class="circle-btn">
<svg viewBox="0 0 24 24"><path d="M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"/><path d="M16 6l-4-4-4 4"/><path d="M12 2v14"/></svg>
</div>
<div class="meta-text">3m 32s • 1 Songs</div>
</div>
<!-- Track item -->
<div class="track">
<div class="left">
<div class="title">Night And Day (Album Version)</div>
<div class="artist">Joe Pass - Virtuoso</div>
</div>
<div class="right">
<div class="icon">
<svg viewBox="0 0 24 24"><path d="M7 17l5 5 5-5"/><path d="M12 3v19"/></svg>
</div>
<div class="vertical-dots">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
</div>
<!-- Add buttons -->
<div class="add-more">
<div class="plus">+</div>
Add More
</div>
<div class="add-videos">
<div class="plus">+</div>
Add Videos <span class="badge">PRO</span>
</div>
<!-- Ad banner -->
<div class="ad-banner">[IMG: Ad Banner - Facebook]</div>
<!-- Mini player -->
<div class="mini-player">
<div class="mini-cover">[IMG: Album Art]</div>
<div class="mini-info">
<div class="t">L-O-V-E (2003 Digital Remaster)</div>
<div class="s">Nat King Cole — L-O-V-E</div>
</div>
<div class="mini-play">
<svg viewBox="0 0 24 24"><path d="M8 5l12 7-12 7z"/></svg>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M3 11l9-8 9 8"/><path d="M5 12v8h14v-8"/></svg>
<span>Home</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="6"/><path d="M20 20l-3.5-3.5"/></svg>
<span>Search</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M13 3l-2 8 8-2-5 12"/></svg>
<span>For You</span>
</div>
<div class="nav-item active" style="position: relative;">
<div class="round">C</div>
<span>My Library</span>
</div>
<div class="nav-item" style="position: relative;">
<svg viewBox="0 0 24 24"><path d="M6 19c6-4 9-10 9-14"/><path d="M15 5c0 4 3 8 3 8"/></svg>
<span>Pro</span>
<div class="pro-dot"></div>
</div>
</div>
</div>
</body>
</html>