AndroidCode / code /10138 /10138_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Audio Player UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
border-radius: 0;
box-shadow: none;
}
/* Top App Bar / Header */
.app-header {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 360px;
background: #0B79D0;
color: #fff;
}
.status-bar {
height: 90px;
padding: 0 30px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 34px;
opacity: 0.95;
}
.status-right {
display: flex;
align-items: center;
gap: 28px;
}
.header-content {
padding: 20px 36px;
}
.header-title {
font-size: 78px;
font-weight: 600;
margin-top: 20px;
}
.header-actions {
position: absolute;
right: 24px;
top: 160px;
display: flex;
gap: 36px;
}
.icon-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
}
.tabs {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 100px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
color: #e3f2fd;
letter-spacing: 2px;
font-size: 36px;
}
.tab-active {
color: #ffffff;
font-weight: 600;
}
/* Ad carousel */
.ad-strip {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: 160px;
background: #f7f7f7;
border-top: 6px solid rgba(255,255,255,0.9);
display: flex;
align-items: center;
padding: 0 10px;
gap: 14px;
}
.ad-item {
width: 160px;
height: 130px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
border-radius: 10px;
position: relative;
font-size: 26px;
}
.price-tag {
position: absolute;
bottom: -6px;
right: 8px;
background: rgba(0,0,0,0.65);
color: #fff;
font-size: 26px;
padding: 6px 10px;
border-radius: 18px;
}
/* Audio file card */
.file-card {
position: absolute;
top: 520px;
left: 0;
width: 1080px;
height: 260px;
background: #1565D8;
color: #fff;
display: flex;
flex-direction: column;
padding: 26px 34px;
box-sizing: border-box;
}
.file-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.file-title {
font-size: 46px;
font-weight: 600;
line-height: 1.3;
max-width: 760px;
}
.file-meta-right {
text-align: right;
font-size: 34px;
line-height: 1.2;
}
.file-sub {
margin-top: 12px;
font-size: 30px;
opacity: 0.95;
}
.file-actions {
margin-top: 28px;
display: flex;
gap: 34px;
align-items: center;
}
.file-actions .icon-btn {
width: 64px;
height: 64px;
}
/* Main white area */
.content {
position: absolute;
top: 780px;
left: 0;
width: 1080px;
height: 1300px;
background: #ffffff;
}
/* Bottom player */
.player {
position: absolute;
bottom: 60px;
left: 0;
width: 1080px;
height: 320px;
background: #0B79D0;
color: #fff;
box-sizing: border-box;
padding: 24px 36px;
}
.progress-row {
display: flex;
align-items: center;
gap: 24px;
}
.time-pill {
border: 3px solid #ffffff;
border-radius: 14px;
padding: 6px 18px;
font-size: 36px;
font-weight: 600;
}
.progress-track {
position: relative;
height: 10px;
background: rgba(255,255,255,0.5);
flex: 1;
border-radius: 8px;
margin: 0 6px;
}
.progress-fill {
position: absolute;
left: 0;
top: 0;
height: 10px;
width: 12%;
background: #ffffff;
border-radius: 8px;
}
.progress-thumb {
position: absolute;
left: 12%;
top: -6px;
width: 28px;
height: 28px;
background: #ffffff;
border-radius: 50%;
border: 2px solid rgba(255,255,255,0.9);
}
.time-total {
font-size: 36px;
font-weight: 600;
}
.controls {
margin-top: 42px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 60px;
}
.big-play {
width: 160px;
height: 160px;
background: #ffffff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.dimmed {
opacity: 0.6;
}
.speed {
font-size: 44px;
font-weight: 600;
}
/* Bottom navigation handle */
.nav-handle {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 12px;
background: #9e9e9e;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="app-header">
<div class="status-bar">
<div>2:31</div>
<div class="status-right">
<!-- simple status icons -->
<svg width="40" height="32"><rect x="2" y="10" width="36" height="12" fill="#fff"/></svg>
<svg width="42" height="32"><rect x="6" y="6" width="30" height="20" fill="none" stroke="#fff" stroke-width="3"/><rect x="29" y="10" width="8" height="12" fill="#fff"/></svg>
</div>
</div>
<div class="header-content">
<div class="header-title">Playback paused</div>
<div class="header-actions">
<div class="icon-btn">
<!-- search icon -->
<svg width="48" height="48" viewBox="0 0 24 24" fill="none">
<circle cx="10" cy="10" r="6" stroke="#fff" stroke-width="2"></circle>
<line x1="14.5" y1="14.5" x2="20" y2="20" stroke="#fff" stroke-width="2"></line>
</svg>
</div>
<div class="icon-btn">
<!-- list/sort icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<rect x="4" y="6" width="14" height="2" fill="#fff"></rect>
<rect x="4" y="11" width="18" height="2" fill="#fff"></rect>
<rect x="4" y="16" width="10" height="2" fill="#fff"></rect>
</svg>
</div>
</div>
</div>
<div class="tabs">
<div>RECORD</div>
<div class="tab-active">LISTEN</div>
</div>
</div>
<!-- Ad carousel placeholders -->
<div class="ad-strip">
<div class="ad-item">[IMG: App Icon]</div>
<div class="ad-item">[IMG: Microwave]<div class="price-tag">₹436</div></div>
<div class="ad-item">[IMG: Chair]<div class="price-tag">₹108</div></div>
<div class="ad-item">[IMG: Landscape]<div class="price-tag">₹543</div></div>
<div class="ad-item">[IMG: Smart TV]<div class="price-tag">₹1,126</div></div>
<div class="ad-item">[IMG: Cabinet]<div class="price-tag">₹108</div></div>
<div class="ad-item">[IMG: Sofa]<div class="price-tag">₹326</div></div>
</div>
<!-- File card -->
<div class="file-card">
<div class="file-top">
<div class="file-title">renewable energy lecture practice.m4a</div>
<div class="file-meta-right">
<div>01:35</div>
<div style="opacity:0.9; font-size:28px; margin-top:6px;">1.1 MB</div>
</div>
</div>
<div class="file-sub">November 22, 11:28 AM</div>
<div class="file-actions">
<div class="icon-btn">
<!-- share icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="3" fill="#fff"></circle>
<circle cx="18" cy="6" r="3" fill="#fff"></circle>
<circle cx="18" cy="18" r="3" fill="#fff"></circle>
<path d="M9 12 L15 7" stroke="#fff" stroke-width="2" fill="none"></path>
<path d="M9 12 L15 17" stroke="#fff" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="icon-btn">
<!-- delete icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<rect x="7" y="9" width="10" height="10" fill="#fff"></rect>
<rect x="9" y="5" width="6" height="3" fill="#fff"></rect>
<rect x="5" y="7" width="14" height="2" fill="#fff"></rect>
</svg>
</div>
<div class="icon-btn">
<!-- edit icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M4 16 L4 20 L8 20 L18 10 L14 6 Z" fill="#fff"></path>
</svg>
</div>
<div class="icon-btn">
<!-- more/overflow icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<circle cx="12" cy="6" r="2" fill="#fff"></circle>
<circle cx="12" cy="12" r="2" fill="#fff"></circle>
<circle cx="12" cy="18" r="2" fill="#fff"></circle>
</svg>
</div>
</div>
</div>
<!-- Main empty content -->
<div class="content"></div>
<!-- Bottom player -->
<div class="player">
<div class="progress-row">
<div class="time-pill">00:05</div>
<div class="progress-track">
<div class="progress-fill"></div>
<div class="progress-thumb"></div>
</div>
<div class="time-total">01:35</div>
</div>
<div class="controls">
<div class="icon-btn dimmed">
<!-- repeat icon -->
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M7 7 H16 L14 5 M7 17 H16 L18 19" stroke="#fff" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="icon-btn">
<!-- rewind icon -->
<svg width="64" height="64" viewBox="0 0 24 24">
<polygon points="12,6 4,12 12,18" fill="#fff"></polygon>
<polygon points="22,6 14,12 22,18" fill="#fff"></polygon>
</svg>
</div>
<div class="big-play">
<!-- play triangle -->
<svg width="90" height="90" viewBox="0 0 24 24">
<polygon points="8,6 20,12 8,18" fill="#0B79D0"></polygon>
</svg>
</div>
<div class="icon-btn">
<!-- forward icon -->
<svg width="64" height="64" viewBox="0 0 24 24">
<polygon points="12,6 20,12 12,18" fill="#fff"></polygon>
<polygon points="2,6 10,12 2,18" fill="#fff"></polygon>
</svg>
</div>
<div class="speed">1x</div>
</div>
</div>
<div class="nav-handle"></div>
</div>
</body>
</html>