AndroidCode / code /10177 /10177_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
10.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Playlists UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #2c2f35; /* dark charcoal */
color: #E6E8EA;
}
/* Status bar */
.status-bar {
position: absolute;
top: 24px;
left: 48px;
right: 48px;
height: 96px;
display: flex;
align-items: center;
justify-content: space-between;
color: #F2F3F5;
font-size: 44px;
letter-spacing: 1px;
}
.status-icons {
display: flex;
gap: 26px;
align-items: center;
}
.icon {
width: 44px;
height: 44px;
}
.icon svg {
width: 100%;
height: 100%;
fill: none;
stroke: #F2F3F5;
stroke-width: 3;
}
/* Header */
.page-title {
position: absolute;
top: 180px;
left: 60px;
font-size: 88px;
font-weight: 700;
color: #F4F5F6;
}
.sort-btn {
position: absolute;
top: 216px;
right: 60px;
font-size: 44px;
color: #D9DDE1;
}
/* Search */
.search-bar {
position: absolute;
top: 320px;
left: 60px;
width: 960px;
height: 120px;
background: #1a1d21;
border-radius: 60px;
display: flex;
align-items: center;
padding: 0 36px;
color: #B9BEC4;
}
.search-bar .magnifier {
width: 52px;
height: 52px;
margin-right: 22px;
}
.search-placeholder {
font-size: 44px;
}
/* Create Playlist */
.create-row {
position: absolute;
top: 500px;
left: 60px;
display: flex;
align-items: center;
gap: 28px;
color: #29c7a7;
cursor: default;
}
.create-row .plus {
width: 64px;
height: 64px;
}
.create-row .label {
font-size: 48px;
font-weight: 600;
}
/* Playlist list item */
.playlist-item {
position: absolute;
top: 640px;
left: 60px;
right: 60px;
height: 160px;
display: flex;
align-items: center;
justify-content: space-between;
}
.playlist-left {
display: flex;
align-items: center;
gap: 36px;
}
.cover {
width: 120px;
height: 120px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
}
.playlist-text .title {
font-size: 54px;
font-weight: 600;
color: #EEF0F2;
}
.playlist-text .subtitle {
margin-top: 8px;
font-size: 36px;
color: #AAB0B6;
}
.more-vert {
width: 16px;
height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 16px;
margin-right: 10px;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #B8BDC3;
opacity: 0.9;
}
/* Divider and tagline */
.divider {
position: absolute;
left: 0;
right: 0;
bottom: 520px;
height: 2px;
background: rgba(255,255,255,0.14);
}
.tagline {
position: absolute;
bottom: 450px;
left: 0;
right: 0;
text-align: center;
color: #C2C7CD;
font-size: 40px;
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
}
.tagline .leaf {
width: 44px;
height: 44px;
}
.tagline .leaf svg {
fill: none;
stroke: #C2C7CD;
stroke-width: 3;
}
/* Mini player */
.player {
position: absolute;
left: 0;
right: 0;
bottom: 240px;
height: 180px;
background: #2f3238;
border-top: 1px solid rgba(255,255,255,0.08);
display: flex;
align-items: center;
padding: 0 60px;
gap: 32px;
}
.player .album {
width: 140px;
height: 140px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 26px;
}
.player .meta {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.player .song {
font-size: 42px;
color: #F2F3F5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.player .artist {
margin-top: 8px;
font-size: 32px;
color: #B3B8BE;
}
.player .play-btn {
width: 92px;
height: 92px;
}
.player .play-btn svg {
fill: none;
stroke: #EAECEF;
stroke-width: 3;
}
/* Bottom navigation */
.nav {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 240px;
background: #2c2f35;
border-top: 1px solid rgba(255,255,255,0.08);
display: flex;
align-items: flex-start;
justify-content: space-around;
padding-top: 36px;
}
.nav-item {
width: 180px;
display: flex;
flex-direction: column;
align-items: center;
color: #D8DCE1;
font-size: 30px;
gap: 14px;
position: relative;
}
.nav-item .nav-icon {
width: 76px;
height: 76px;
}
.nav-item .nav-icon svg {
fill: none;
stroke: #D8DCE1;
stroke-width: 3;
}
.nav-item.active .nav-icon svg {
stroke: #DDE1E6;
}
.nav-item.active .label {
color: #DDE1E6;
}
.nav-item.active .underline {
position: absolute;
bottom: 12px;
width: 80px;
height: 10px;
background: #DDE1E6;
border-radius: 8px;
}
.badge {
position: absolute;
right: 24px;
top: 6px;
width: 18px;
height: 18px;
background: #FF4D4D;
border-radius: 50%;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 14px;
background: #E6E6E6;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="time">12:22</div>
<div class="status-icons">
<!-- Simple mail/M icon -->
<div class="icon">
<svg viewBox="0 0 24 24">
<path d="M3 5h18v14H3z"></path>
<path d="M3 7l9 6 9-6"></path>
</svg>
</div>
<!-- Gear icon -->
<div class="icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="4"></circle>
<path d="M4 12h3M17 12h3M12 4v3M12 17v3M6.2 6.2l2 2M15.8 15.8l2 2M6.2 17.8l2-2M15.8 8.2l2-2"></path>
</svg>
</div>
<!-- YouTube triangle -->
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="6" width="18" height="12" rx="3" ry="3"></rect>
<path d="M10 9l6 3-6 3z" fill="#F2F3F5" stroke="none"></path>
</svg>
</div>
<!-- Signal/Wifi -->
<div class="icon">
<svg viewBox="0 0 24 24">
<path d="M2 9c5-5 15-5 20 0"></path>
<path d="M6 13c3-3 9-3 12 0"></path>
<path d="M10 17c1-1 3-1 4 0"></path>
</svg>
</div>
<!-- Battery -->
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="2" y="7" width="18" height="10" rx="2" ry="2"></rect>
<rect x="20" y="10" width="2" height="4"></rect>
<rect x="4" y="9" width="12" height="6" fill="#F2F3F5" stroke="none"></rect>
</svg>
</div>
</div>
</div>
<!-- Header -->
<div class="page-title">Playlists</div>
<div class="sort-btn">Sort</div>
<!-- Search -->
<div class="search-bar">
<div class="magnifier">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#B9BEC4"></circle>
<path d="M14 14l6 6" stroke="#B9BEC4"></path>
</svg>
</div>
<div class="search-placeholder">Search</div>
</div>
<!-- Create Playlist -->
<div class="create-row">
<div class="plus">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#29c7a7" stroke-width="3" fill="none"></path>
</svg>
</div>
<div class="label">Create Playlist</div>
</div>
<!-- Playlist item -->
<div class="playlist-item">
<div class="playlist-left">
<div class="cover">[IMG: Playlist Cover]</div>
<div class="playlist-text">
<div class="title">Chill List</div>
<div class="subtitle">1 Song</div>
</div>
</div>
<div class="more-vert">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<!-- Divider and tagline above player -->
<div class="divider"></div>
<div class="tagline">
<div class="leaf">
<svg viewBox="0 0 24 24">
<path d="M20 4c-7 0-12 5-12 12 5 0 12-5 12-12z"></path>
<path d="M8 16c2-4 6-8 12-10"></path>
</svg>
</div>
<div>No Work, All Play.</div>
</div>
<!-- Mini Player -->
<div class="player">
<div class="album">[IMG: Album Cover]</div>
<div class="meta">
<div class="song">L-O-V-E (2003 Digital Remaster)</div>
<div class="artist">Nat King Cole — L-O-V-E</div>
</div>
<div class="play-btn">
<svg viewBox="0 0 24 24">
<path d="M8 6l10 6-10 6z" fill="#EAECEF" stroke="none"></path>
</svg>
</div>
</div>
<!-- Bottom Navigation -->
<div class="nav">
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M3 11l9-7 9 7"></path>
<path d="M6 11v9h12v-9"></path>
</svg>
</div>
<div class="label">Home</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6"></circle>
<path d="M14 14l6 6"></path>
</svg>
</div>
<div class="label">Search</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M7 3l5 7-6 11 11-9-4-2 4-7z"></path>
</svg>
</div>
<div class="label">For You</div>
</div>
<div class="nav-item active">
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10"></circle>
<path d="M9 12c0-2 1.5-3 3-3" stroke-linecap="round"></path>
</svg>
</div>
<div class="label">My Library</div>
<div class="underline"></div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M20 4c-7 0-12 5-12 12 5 0 12-5 12-12z"></path>
<path d="M8 16c2-4 6-8 12-10"></path>
</svg>
</div>
<div class="label">Pro</div>
<div class="badge"></div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>