AndroidCode / code /10175 /10175_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
12.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Audio Player Details UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, sans-serif; }
#render-target {
width: 1440px; height: 3120px;
position: relative; overflow: hidden;
background: #1d1f24; color: #eee;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 84px; padding: 0 36px;
display: flex; align-items: center; justify-content: space-between;
color: #fff; font-size: 44px;
}
.status-right { display: flex; align-items: center; gap: 28px; }
.status-icon svg { width: 42px; height: 42px; }
/* Toolbar */
.toolbar {
position: absolute; top: 84px; left: 0; right: 0;
height: 140px; background: #121417;
display: flex; align-items: center; justify-content: space-between;
padding: 0 40px;
border-bottom: 1px solid #2a2d33;
}
.toolbar-left { display: flex; align-items: center; gap: 24px; }
.toolbar-right { display: flex; align-items: center; gap: 48px; }
.toolbar .icon { width: 64px; height: 64px; }
.page-dots {
position: absolute; top: 228px; left: 0; right: 0;
display: flex; justify-content: center; gap: 18px;
}
.dot { width: 24px; height: 24px; border-radius: 50%; background: #486fb7; }
.dot.inactive { background: #6b6f78; }
/* Info card */
.info-card {
position: absolute; top: 280px; left: 40px;
width: 1360px; background: #23262b;
border: 2px solid #3a3e45; border-radius: 18px;
box-sizing: border-box; padding: 0;
}
.info-grid {
display: grid; grid-template-columns: 420px 1fr;
border-collapse: collapse;
}
.row {
min-height: 190px; display: grid; grid-template-columns: inherit;
border-top: 1px solid #3a3e45;
}
.row:first-child { border-top: none; }
.cell {
padding: 40px; display: flex; align-items: center;
border-right: 1px solid #3a3e45;
font-size: 50px; color: #cfd3db;
}
.cell:last-child { border-right: none; color: #fff; }
.value.bold { font-weight: 800; color: #fff; }
/* Player area */
.player-area {
position: absolute; left: 0; right: 0; top: 1500px;
height: 980px; background: #1a1c21;
padding: 80px 80px 40px 80px; box-sizing: border-box;
}
.player-tools {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 80px;
}
.tool-group { display: flex; align-items: center; gap: 120px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #9ec5ff; }
.tool .icon { width: 88px; height: 88px; }
.tool.label-grey { color: #b8bcc3; }
.tool .small { font-size: 40px; }
.stop-btn { width: 100px; height: 100px; }
.timeline {
display: flex; align-items: center; justify-content: space-between;
margin: 40px 0 50px 0;
color: #cfd3db; font-size: 46px;
}
.track {
position: relative; height: 18px; background: #9da2a9;
border-radius: 12px; margin: 0 40px; flex: 1;
}
.track .progress {
position: absolute; left: 0; top: 0; bottom: 0;
width: 160px; background: #6ea2ff; border-radius: 12px;
}
.track .knob {
position: absolute; left: 160px; top: 50%;
width: 38px; height: 38px; background: #6ea2ff;
border-radius: 50%; transform: translate(-50%, -50%);
box-shadow: 0 0 0 6px rgba(110,162,255,0.25);
}
.transport {
display: flex; align-items: center; justify-content: center; gap: 120px;
margin-top: 40px;
}
.transport .icon { width: 128px; height: 128px; }
.big-pause {
width: 240px; height: 240px; background: #ffffff;
border-radius: 50%; display: flex; align-items: center; justify-content: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.big-pause .bars {
display: flex; gap: 26px;
}
.big-pause .bar {
width: 26px; height: 128px; background: #1a1c21; border-radius: 6px;
}
/* Ad banner */
.ad-banner {
position: absolute; left: 0; right: 0; top: 2450px;
height: 200px; background: #23262b; border-top: 1px solid #3a3e45; border-bottom: 1px solid #3a3e45;
display: flex; align-items: center; gap: 30px; padding: 0 40px; box-sizing: border-box;
}
.ad-img {
width: 160px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px;
border-radius: 24px;
}
.ad-text { flex: 1; color: #e7ebf1; }
.ad-title { font-size: 52px; font-weight: 700; margin-bottom: 10px; }
.ad-sub { font-size: 40px; color: #cfd3db; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-open { color: #7fb1ff; font-size: 44px; font-weight: 700; }
/* Bottom filters */
.filters {
position: absolute; left: 0; right: 0; bottom: 140px;
height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
color: #fff;
}
.filter-row { display: flex; gap: 130px; font-size: 60px; margin-bottom: 50px; color: #d8dbe0; }
.bottom-slider {
width: 680px; height: 16px; background: #ffffff; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>3:50</div>
<div class="status-right">
<div class="status-icon">
<!-- simple "ib" badge -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#fff" stroke-width="2"/>
<text x="6" y="16" fill="#fff" font-size="10" font-family="Arial">ib</text>
</svg>
</div>
<div class="status-icon">
<!-- search -->
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M15 15l6 6" stroke="#fff" stroke-width="2" />
</svg>
</div>
<div class="status-icon">
<!-- tiny mic -->
<svg viewBox="0 0 24 24">
<rect x="9" y="4" width="6" height="10" rx="3" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M6 10a6 6 0 0 0 12 0M12 20v-4" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="status-icon">
<!-- dot -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" fill="#fff"/></svg>
</div>
<div class="status-icon">
<!-- wifi -->
<svg 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 0" stroke="#fff" stroke-width="2" fill="none"/>
<circle cx="12" cy="19" r="2" fill="#fff"/>
</svg>
</div>
<div class="status-icon">
<!-- battery -->
<svg viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" fill="none" stroke="#fff" stroke-width="2"/>
<rect x="4" y="8" width="14" height="8" fill="#fff"/>
<rect x="20" y="10" width="2" height="4" fill="#fff"/>
</svg>
</div>
</div>
</div>
<!-- Toolbar with back and actions -->
<div class="toolbar">
<div class="toolbar-left">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 5l-7 7 7 7" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="toolbar-right">
<!-- Scissors -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="6" cy="6" r="3" fill="none" stroke="#fff" stroke-width="2"/>
<circle cx="6" cy="18" r="3" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M20 5L8 12l12 7" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<!-- Trash -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 7h12l-1 13H7L6 7z" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M9 7V4h6v3" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
<!-- Share -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2" fill="#fff"/>
<circle cx="19" cy="5" r="2" fill="#fff"/>
<circle cx="19" cy="19" r="2" fill="#fff"/>
<path d="M7 12l10-7M7 12l10 7" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<!-- page dots -->
<div class="page-dots">
<div class="dot"></div>
<div class="dot inactive"></div>
<div class="dot inactive"></div>
</div>
<!-- Info Card -->
<div class="info-card">
<div class="info-grid">
<div class="row">
<div class="cell">File name</div>
<div class="cell"><span class="value bold">2023_12_08_12_46_58_1_1.mp3</span></div>
</div>
<div class="row">
<div class="cell">File location</div>
<div class="cell">/storage/emulated/0/Music/Recorders/2023_12_08_12_46_58_1_1.mp3</div>
</div>
<div class="row">
<div class="cell">File size:</div>
<div class="cell">234.3 KB</div>
</div>
<div class="row">
<div class="cell">Creation time:</div>
<div class="cell">2023-12-08</div>
</div>
<div class="row">
<div class="cell">Duration:</div>
<div class="cell">00:14</div>
</div>
</div>
</div>
<!-- Player Area -->
<div class="player-area">
<div class="player-tools">
<div class="tool-group">
<div class="tool">
<svg class="icon" viewBox="0 0 24 24">
<path d="M4 14a8 8 0 0 1 16 0" stroke="#9ec5ff" stroke-width="2" fill="none"/>
<path d="M12 14l4-4" stroke="#9ec5ff" stroke-width="2"/>
</svg>
<div class="small">1.0x</div>
</div>
<div class="tool label-grey">
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="2" fill="none" stroke="#cfd3db" stroke-width="2"/>
<path d="M3 5l18 14" stroke="#cfd3db" stroke-width="2"/>
</svg>
</div>
<div class="tool label-grey">
<svg class="icon" viewBox="0 0 24 24">
<path d="M4 12a8 8 0 1 0 8-8" stroke="#cfd3db" stroke-width="2" fill="none"/>
<path d="M4 4v6h6" stroke="#cfd3db" stroke-width="2" fill="none"/>
<path d="M4 4l16 16" stroke="#cfd3db" stroke-width="2"/>
</svg>
</div>
</div>
<div class="tool">
<svg class="stop-btn" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#fff" stroke-width="2" fill="none"/>
<rect x="8" y="8" width="8" height="8" fill="#fff"/>
</svg>
</div>
</div>
<div class="timeline">
<div>00:01</div>
<div class="track">
<div class="progress"></div>
<div class="knob"></div>
</div>
<div>00:14</div>
</div>
<div class="transport">
<!-- Step back -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M18 5l-10 7 10 7" fill="#cfd3db"/>
</svg>
<!-- Previous -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M16 5l-8 7 8 7" fill="#cfd3db"/>
<rect x="3" y="5" width="2" height="14" fill="#cfd3db"/>
</svg>
<!-- Big pause button -->
<div class="big-pause">
<div class="bars">
<div class="bar"></div>
<div class="bar"></div>
</div>
</div>
<!-- Next -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="19" y="5" width="2" height="14" fill="#cfd3db"/>
<path d="M8 5l8 7-8 7" fill="#cfd3db"/>
</svg>
<!-- Forward -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M6 5l10 7-10 7" fill="#cfd3db"/>
</svg>
</div>
</div>
<!-- Advertisement banner -->
<div class="ad-banner">
<div class="ad-img">[IMG: App Icon]</div>
<div class="ad-text">
<div class="ad-title">LoveLocal: Shop Grocery Online AD</div>
<div class="ad-sub">LoveLocal is your go-to online shopping app to...</div>
</div>
<div class="ad-open">OPEN</div>
</div>
<!-- Bottom filters / labels -->
<div class="filters">
<div class="filter-row">
<div>60&lt;</div>
<div>30&lt;</div>
<div>5&lt;</div>
<div>&gt;5</div>
<div>&gt;30</div>
<div>&gt;60</div>
</div>
<div class="bottom-slider"></div>
</div>
</div>
</body>
</html>