AndroidCode / code /10163 /10163_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
8.83 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #000000;
color: #ffffff;
}
.status-bar {
height: 120px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
font-weight: 500;
letter-spacing: 0.5px;
}
.status-icons { display: flex; gap: 24px; align-items: center; }
.icon { width: 48px; height: 48px; fill: #ffffff; }
.top-bar {
padding: 0 24px 24px 24px;
}
.search-row {
display: flex;
align-items: center;
gap: 24px;
}
.pill {
flex: 1;
height: 96px;
background: #1f1f1f;
border-radius: 48px;
display: flex;
align-items: center;
padding: 0 28px;
gap: 18px;
border: 1px solid #2a2a2a;
}
.pill .query {
flex: 1;
color: #e0e0e0;
font-size: 34px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.kebab { margin-left: 6px; }
/* Feed */
.feed { padding: 0 24px; }
.ad-card {
background: #101010;
border-radius: 24px;
padding: 24px;
border: 1px solid #1f1f1f;
margin-bottom: 24px;
}
.ad-top {
display: flex;
align-items: flex-start;
gap: 20px;
}
.avatar {
width: 96px; height: 96px; border-radius: 50%;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 22px;
}
.ad-text { flex: 1; }
.ad-title {
font-size: 38px;
line-height: 48px;
font-weight: 600;
margin-bottom: 6px;
}
.ad-sub {
font-size: 28px; color: #bbbbbb; margin-bottom: 8px;
}
.ad-meta {
font-size: 26px; color: #888888;
}
.ad-actions {
display: flex; gap: 24px; padding: 24px 4px 4px 4px;
}
.btn {
height: 92px; padding: 0 48px; border-radius: 46px;
display: inline-flex; align-items: center; justify-content: center;
font-size: 34px; font-weight: 600;
border: 1px solid #2a2a2a; background: #0b0b0b; color: #eaeaea;
}
.btn.primary {
background: #3ea6ff; border-color: #3ea6ff; color: #0b0b0b;
}
.video-card { margin-bottom: 36px; }
.thumb {
width: 1032px; height: 580px; margin: 0 auto 16px auto;
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center;
font-size: 28px; position: relative;
}
.thumb.gold { outline: 20px solid #d6b23e; }
.vevo-tag {
position: absolute; left: 24px; bottom: 24px;
background: rgba(0,0,0,0.6); padding: 10px 16px; border-radius: 8px;
font-size: 24px; letter-spacing: 1px;
}
.v-title {
font-size: 36px; font-weight: 600; line-height: 46px;
margin: 0 24px 6px 24px;
}
.v-channel {
font-size: 26px; color: #aaaaaa; margin: 0 24px 0 24px;
}
/* Mini player overlay */
.mini-player {
position: absolute;
left: 190px; top: 1180px;
width: 700px; height: 420px;
background: #0b0b0b;
border: 1px solid #2a2a2a;
border-radius: 40px;
box-shadow: 0 10px 30px rgba(0,0,0,0.6);
overflow: hidden;
display: flex; align-items: center; justify-content: center;
}
.mini-player .thumb { width: 640px; height: 360px; margin: 0; }
/* Bottom navigation */
.bottom-bar {
position: absolute;
bottom: 0; left: 0; right: 0;
height: 200px;
background: #0b0b0b;
border-top: 1px solid #1f1f1f;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #e0e0e0; }
.nav-item .label { font-size: 26px; color: #cfcfcf; }
.nav-icon { width: 60px; height: 60px; fill: #e0e0e0; }
.progress-bar {
position: absolute;
bottom: 200px;
left: 60px;
width: 960px;
height: 12px;
background: #202020;
border-radius: 6px;
overflow: hidden;
}
.progress-bar span {
display: block;
width: 320px;
height: 12px;
background: #ffffff;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">8:25</div>
<div class="status-icons">
<svg class="icon" viewBox="0 0 24 24"><circle cx="6" cy="12" r="2"/></svg>
<svg class="icon" viewBox="0 0 24 24"><rect x="3" y="7" width="18" height="10" rx="2"/><rect x="6" y="9" width="12" height="6" fill="#000"/></svg>
<svg class="icon" viewBox="0 0 24 24"><path d="M4 7h16v10H4z"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/></svg>
</div>
</div>
<!-- Top search bar -->
<div class="top-bar">
<div class="search-row">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="pill">
<div class="query">It's A Man's Man's M...</div>
<svg class="icon" viewBox="0 0 24 24">
<path d="M12 2a4 4 0 0 1 4 4v3a4 4 0 0 1-8 0V6a4 4 0 0 1 4-4zm-3 14h6v6H9z" />
</svg>
</div>
<svg class="icon" viewBox="0 0 24 24" style="opacity:0.9">
<rect x="3" y="6" width="15" height="10" rx="2" ry="2" />
<path d="M19 9c2 0 3 1 4 2" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M19 12c1 0 2 1 3 2" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<svg class="icon kebab" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Feed -->
<div class="feed">
<!-- Ad card -->
<div class="ad-card">
<div class="ad-top">
<div class="avatar">[IMG: Channel Avatar]</div>
<div class="ad-text">
<div class="ad-title">Join me, Boarderella, as we dive into the enchanting world of Late Night Lofi</div>
<div class="ad-sub">LoFi Beats for Late Nights</div>
<div class="ad-meta">Ad · Boarderella</div>
</div>
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
<div class="ad-actions">
<div class="btn">Watch</div>
<div class="btn primary">Subscribe</div>
</div>
</div>
<!-- Video 1 -->
<div class="video-card">
<div class="thumb gold">
[IMG: Video thumbnail — two performers on stage]
<div class="vevo-tag">vevo</div>
</div>
<div class="v-title">Luciano Pavarotti — Man's Man's World</div>
<div class="v-channel">Luciano Pavarotti • 9...</div>
</div>
<!-- Video 2 (animated scene) -->
<div class="video-card">
<div class="thumb">
[IMG: Animated jazz band performance]
</div>
<div class="v-title">Luciano Pavarotti, James Brow...</div>
<div class="v-channel">LucianoPavarottiVEVO</div>
</div>
</div>
<!-- Mini player overlay -->
<div class="mini-player">
<div class="thumb">[IMG: Album art painting]</div>
</div>
<!-- Bottom progress bar -->
<div class="progress-bar"><span></span></div>
<!-- Bottom navigation -->
<div class="bottom-bar">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 10l9-7 9 7v9a1 1 0 0 1-1 1h-6v-6H10v6H4a1 1 0 0 1-1-1z"/>
</svg>
<div class="label">Home</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M8 2l8 4-6 4 6 4-8 4V2z"/>
</svg>
<div class="label">Shorts</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10"/><path d="M8 12h8" stroke="#000" stroke-width="2"/><path d="M12 8v8" stroke="#000" stroke-width="2"/>
</svg>
<div class="label">Create</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="2"/><path d="M10 9l5 3-5 3z" fill="#000"/>
</svg>
<div class="label">Subscriptions</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="5" y="4" width="14" height="16" rx="2"/><rect x="7" y="7" width="10" height="2" fill="#000"/><rect x="7" y="11" width="10" height="2" fill="#000"/>
</svg>
<div class="label">Library</div>
</div>
</div>
</div>
</body>
</html>