AndroidCode / code /10177 /10177_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
13.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>My Library UI</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: #2f343a; color: #f2f4f6;
}
.status-bar {
height: 120px; padding: 0 40px;
display: flex; align-items: center; justify-content: space-between;
color: #e8ecef; font-weight: 600; letter-spacing: 1px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 22px; }
.header {
padding: 10px 56px 24px 56px;
}
.header h1 {
margin: 10px 0 30px 0;
font-size: 72px; font-weight: 700; color: #ffffff;
}
.settings-btn {
position: absolute; right: 42px; top: 220px;
width: 72px; height: 72px; border-radius: 36px;
background: rgba(255,255,255,0.06); color: #d7dbe0;
display: flex; align-items: center; justify-content: center;
font-size: 42px; line-height: 1;
}
.profile {
display: flex; align-items: center; gap: 26px;
padding: 0 56px 24px;
}
.avatar {
width: 96px; height: 96px; border-radius: 48px;
background: #58606a; display: flex; align-items: center; justify-content: center;
font-weight: 700; color: #dce3ea;
}
.profile-name { font-size: 42px; font-weight: 600; color: #e9edf1; }
.edit-link {
margin-left: auto; font-size: 40px; color: #6ad5c7; font-weight: 600;
}
.list {
margin-top: 14px;
border-top: 1px solid #3a4047;
border-bottom: 1px solid #3a4047;
}
.list-item {
display: flex; align-items: center;
padding: 28px 56px; gap: 28px;
border-top: 1px solid #3a4047;
}
.list-item:first-child { border-top: none; }
.icon {
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
}
.label { font-size: 44px; color: #e7ebef; }
.right {
margin-left: auto; display: flex; align-items: center; gap: 22px; color: #c4ccd3;
}
.count { font-size: 42px; color: #cbd2d9; }
.chev svg { stroke: #b6bec6; }
.pro-pill {
background: #87e9dc; color: #0b2a29; font-weight: 700;
padding: 14px 28px; border-radius: 999px; font-size: 36px;
}
.shuffle-wrap {
padding: 48px 56px;
border-top: 1px solid #3a4047;
}
.shuffle-btn {
width: 720px; height: 120px; border-radius: 60px;
background: #6bd7c9; color: #0b2a29;
display: flex; align-items: center; justify-content: center; gap: 24px;
font-size: 48px; font-weight: 800; margin: 28px auto;
box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}
.section-title {
font-size: 44px; font-weight: 700; color: #e7ebef; padding: 10px 56px; display: flex; align-items: center;
}
.section-title .right-action { margin-left: auto; color: #6ad5c7; font-weight: 700; }
.history-item {
padding: 26px 56px; display: flex; align-items: center; gap: 28px;
}
.img-ph {
width: 140px; height: 140px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center; color: #757575; font-size: 28px;
border-radius: 12px;
}
.hist-text { flex: 1; }
.hist-title { font-size: 44px; color: #eef2f5; font-weight: 700; }
.hist-sub { font-size: 36px; color: #aeb6bd; margin-top: 6px; }
.hist-more {
font-size: 60px; color: #b8c0c8; padding: 0 10px;
}
.more-history {
padding: 16px 56px; display: flex; align-items: center; border-top: 1px solid #3a4047; margin-top: 10px;
}
.more-label { font-size: 42px; color: #e7ebef; }
.mini-chevron { margin-left: auto; }
.mini-player {
position: absolute; left: 0; right: 0; bottom: 220px;
height: 180px; background: #2b3035; border-top: 1px solid #3a4047;
display: flex; align-items: center; padding: 0 36px; gap: 26px;
}
.mini-player .album-ph {
width: 140px; height: 140px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 28px; border-radius: 12px;
}
.track-area { flex: 1; }
.track-title { font-size: 40px; color: #eef2f5; font-weight: 700; }
.track-artist { font-size: 34px; color: #aeb6bd; margin-top: 6px; }
.play-btn {
width: 96px; height: 96px; border-radius: 48px; background: rgba(255,255,255,0.08);
display: flex; align-items: center; justify-content: center;
}
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
background: #2f343a; border-top: 1px solid #3a4047;
display: flex; align-items: center; justify-content: space-around;
padding: 14px 0 30px;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #cbd2d9; }
.nav-item .label { font-size: 32px; color: #cbd2d9; }
.nav-item.active .label { color: #e7ebef; }
.nav-item.active .underline {
width: 80px; height: 6px; background: #e7ebef; border-radius: 3px; margin-top: -6px;
}
.pro-dot {
position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; background: #ff4d4f; border-radius: 9px;
}
.gesture {
position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
width: 300px; height: 10px; background: #e6e6e6; border-radius: 5px; opacity: 0.7;
}
/* SVG helpers */
svg { width: 56px; height: 56px; }
.stroke { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-size:42px;">12:20</div>
<svg viewBox="0 0 24 24" class="stroke" style="color:#e8ecef;">
<path d="M4 10l8-6 8 6v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8z"/>
<path d="M9 22v-6h6v6"/>
</svg>
<svg viewBox="0 0 24 24" class="stroke" style="color:#e8ecef;">
<circle cx="12" cy="12" r="3"/>
<path d="M5 12a7 7 0 0 1 14 0"/>
<path d="M2 12a10 10 0 0 1 20 0"/>
</svg>
</div>
<div class="status-right">
<svg viewBox="0 0 24 24" class="stroke" style="color:#e8ecef;">
<path d="M3 11c4-6 14-6 18 0"/>
<path d="M6 11c2-3 10-3 12 0"/>
<circle cx="12" cy="16" r="1.5" />
</svg>
<svg viewBox="0 0 24 24" class="stroke" style="color:#e8ecef;">
<rect x="3" y="6" width="16" height="12" rx="2"/>
<path d="M21 10v4"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<h1>My Library</h1>
</div>
<div class="settings-btn" aria-label="Settings"></div>
<!-- Profile -->
<div class="profile">
<div class="avatar">C</div>
<div class="profile-name">Cerebra Research</div>
<div class="edit-link">Edit</div>
</div>
<!-- List -->
<div class="list">
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<path d="M9 4v10a3 3 0 1 1-2-2h2"/>
<path d="M15 4h5v4h-5z"/>
</svg>
</div>
<div class="label">Songs</div>
<div class="right">
<div class="count">1</div>
<div class="chev">
<svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg>
</div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<circle cx="12" cy="12" r="7"/>
<circle cx="12" cy="12" r="2"/>
</svg>
</div>
<div class="label">Albums</div>
<div class="right">
<div class="count">1</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<path d="M12 3v8"/>
<circle cx="12" cy="14" r="3"/>
<path d="M8 22h8"/>
</svg>
</div>
<div class="label">Artists</div>
<div class="right">
<div class="count">7</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<circle cx="12" cy="8" r="3"/>
<path d="M6 21a9 9 0 0 1 12 0"/>
<path d="M3 21a12 12 0 0 1 18 0"/>
</svg>
</div>
<div class="label">Shows</div>
<div class="right">
<div class="count">0</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<path d="M12 5v10"/>
<path d="M7 10l5 5 5-5"/>
<path d="M5 19h14"/>
</svg>
</div>
<div class="label">Downloads</div>
<div class="right">
<div class="pro-pill">Go Pro</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<path d="M4 6h12"/>
<path d="M4 12h10"/>
<path d="M4 18h8"/>
<path d="M16 16l4 2-4 2z"/>
</svg>
</div>
<div class="label">Playlists</div>
<div class="right">
<div class="count">1</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
<div class="list-item">
<div class="icon" style="color:#cbd2d9;">
<svg viewBox="0 0 24 24" class="stroke">
<rect x="3" y="6" width="16" height="12" rx="2"/>
<path d="M16 12l-6 3V9z"/>
</svg>
</div>
<div class="label">Videos</div>
<div class="right">
<div class="count">0</div>
<div class="chev"><svg viewBox="0 0 24 24" class="stroke"><path d="M9 6l6 6-6 6"/></svg></div>
</div>
</div>
</div>
<!-- Shuffle -->
<div class="shuffle-wrap">
<div class="shuffle-btn">
<svg viewBox="0 0 24 24" class="stroke" style="color:#0b2a29;">
<path d="M3 4h4l10 12h4"/>
<path d="M17 4l4 4-4 4"/>
<path d="M3 20h4l6-7"/>
</svg>
<div>Shuffle All</div>
</div>
</div>
<!-- History -->
<div class="section-title">
<div>History</div>
<div class="right-action">Clear</div>
</div>
<div class="history-item">
<div class="img-ph">[IMG: Weekly Jukebox]</div>
<div class="hist-text">
<div class="hist-title">Chill - Weekly Jukebox</div>
<div class="hist-sub">JioSaavn • 3 Hours Ago</div>
</div>
<div class="hist-more" aria-label="More"></div>
</div>
<div class="more-history">
<div class="more-label">More History</div>
<div class="mini-chevron">
<svg viewBox="0 0 24 24" class="stroke" style="color:#b6bec6;"><path d="M9 6l6 6-6 6"/></svg>
</div>
</div>
<!-- Mini Player -->
<div class="mini-player">
<div class="album-ph">[IMG: Album Cover]</div>
<div class="track-area">
<div class="track-title">L-O-V-E (2003 Digital Remaster)</div>
<div class="track-artist">Nat King Cole — L-O-V-E</div>
</div>
<div class="play-btn">
<svg viewBox="0 0 24 24" class="stroke" style="color:#e7ebef;">
<path d="M8 5l12 7-12 7z"/>
</svg>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 24 24" class="stroke" style="color:#cbd2d9;">
<path d="M3 11l9-7 9 7v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
<path d="M9 22v-6h6v6"/>
</svg>
<div class="label">Home</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" class="stroke" style="color:#cbd2d9;">
<circle cx="11" cy="11" r="7"/>
<path d="M21 21l-4.3-4.3"/>
</svg>
<div class="label">Search</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" class="stroke" style="color:#cbd2d9;">
<path d="M12 2l3 6 6 1-4 4 1 6-6-3-6 3 1-6-4-4 6-1z"/>
</svg>
<div class="label">For You</div>
</div>
<div class="nav-item active" style="position:relative;">
<div class="avatar" style="width:72px;height:72px;font-size:32px;background:#5c6670;color:#eaf0f6;">C</div>
<div class="label">My Library</div>
<div class="underline"></div>
</div>
<div class="nav-item" style="position:relative;">
<svg viewBox="0 0 24 24" class="stroke" style="color:#cbd2d9;">
<path d="M12 22c4-3 6-6 6-9a6 6 0 0 0-12 0c0 3 2 6 6 9z"/>
</svg>
<div class="label">Pro</div>
<span class="pro-dot"></span>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>