AndroidCode / code /10145 /10145_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>eBay Mobile UI Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
color: #fff;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000;
}
/* Utility */
.row { display: flex; align-items: center; }
.space-between { justify-content: space-between; }
.pill { border-radius: 999px; }
.muted { color: #BDBDBD; }
.section-title { font-weight: 800; }
/* Status bar */
.statusbar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 40px;
color: #fff;
box-sizing: border-box;
}
.status-icons { display: flex; gap: 26px; align-items: center; }
.status-dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; opacity: 0.9; }
.battery {
width: 48px; height: 26px; border: 3px solid #fff; border-radius: 6px; position: relative;
}
.battery:after {
content: ""; position: absolute; right: -10px; top: 7px; width: 8px; height: 12px; background: #fff; border-radius: 2px;
}
/* Top bar */
.topbar {
height: 120px;
padding: 0 36px;
display: flex;
align-items: center;
gap: 28px;
box-sizing: border-box;
}
.icon-btn {
width: 64px; height: 64px; border-radius: 32px; background: rgba(255,255,255,0.08);
display: flex; align-items: center; justify-content: center;
}
.logo {
font-size: 64px; font-weight: 800; letter-spacing: -2px; display: flex; align-items: baseline; gap: 6px;
}
.logo span { font-weight: 800; }
.logo .e { color: #e53238; }
.logo .b { color: #0064d2; }
.logo .a { color: #f5af02; }
.logo .y { color: #86b817; }
.floating-cart {
position: absolute;
right: 36px;
top: 220px;
width: 88px; height: 88px; border-radius: 44px;
background: rgba(255,255,255,0.12);
display: flex; align-items: center; justify-content: center;
}
/* Search */
.search-wrap {
padding: 24px 36px 16px 36px;
box-sizing: border-box;
}
.search {
height: 110px;
background: #2b2b2b;
border-radius: 55px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 26px;
box-sizing: border-box;
}
.search .placeholder {
flex: 1;
margin-left: 18px;
font-size: 40px;
color: #e0e0e0;
}
.search-actions {
display: flex; gap: 16px; align-items: center;
}
.search-actions .mini {
width: 78px; height: 78px; border-radius: 39px;
background: rgba(255,255,255,0.08);
display: flex; align-items: center; justify-content: center;
}
/* Filter pills */
.filters {
padding: 18px 36px 28px 36px; box-sizing: border-box;
display: flex; gap: 16px; flex-wrap: nowrap;
}
.filter-pill {
border: 1px solid #555;
background: rgba(255,255,255,0.06);
height: 72px; padding: 0 26px;
display: flex; align-items: center; gap: 16px;
border-radius: 36px; color: #fff; font-size: 34px;
}
.filter-pill svg { width: 32px; height: 32px; }
/* Yellow hero banner */
.hero-yellow {
background: #F2C94C;
color: #0b0b28;
padding: 48px 36px 56px 36px;
}
.hero-yellow h1 {
margin: 0 0 14px 0;
font-size: 64px; font-weight: 800; letter-spacing: -0.5px;
}
.hero-yellow p { margin: 0 0 32px 0; font-size: 36px; color: #1f1f3a; }
.cta-dark {
display: inline-flex; align-items: center; justify-content: center;
background: #0b0b28; color: #fff;
height: 100px; padding: 0 44px; border-radius: 50px; font-size: 40px; font-weight: 700;
}
.divider { height: 26px; background: #000; }
/* Teal section */
.teal-section {
background: #7BD4D3;
padding: 48px 36px 40px 36px;
color: #0b0b28;
}
.teal-section h2 {
font-size: 60px; font-weight: 800; margin: 0 0 30px 0; max-width: 880px;
}
.cta-outline {
display: inline-flex; align-items: center; justify-content: center;
background: #0b0b28; color: #fff;
height: 100px; padding: 0 44px; border-radius: 50px; font-size: 40px; font-weight: 700;
}
.card-grid {
margin-top: 36px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.img-card {
height: 300px;
border-radius: 28px;
overflow: hidden;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 34px; text-align: center; padding: 10px;
}
/* Daily deals */
.deals-section {
background: #000;
padding: 36px;
}
.deals-header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 24px;
}
.deals-header .title { font-size: 54px; font-weight: 800; }
.deals-header .link { font-size: 36px; color: #BDBDBD; }
.product-list { display: flex; gap: 24px; overflow: hidden; }
.product-card {
width: 320px;
background: #111;
border-radius: 24px;
padding: 16px;
box-sizing: border-box;
}
.product-card .image {
width: 100%; height: 220px; border-radius: 18px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 28px; text-align: center;
}
.product-card .name {
margin-top: 16px; font-size: 32px; color: #fff;
}
.product-card .price {
margin-top: 6px; font-size: 30px; color: #9EE29E;
}
/* Bottom gesture bar */
.gesture {
position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
width: 240px; height: 12px; background: #fff; border-radius: 6px; opacity: 0.85;
}
/* SVG defaults */
svg { fill: none; stroke: #fff; stroke-width: 4; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div>8:21</div>
<div class="status-icons">
<svg width="36" height="36" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="#fff"/></svg>
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M3 12h18M7 8h10M9 4h6" stroke="#fff"/></svg>
<div class="status-dot"></div>
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M5 18l7-12 7 12" stroke="#fff"/></svg>
<svg width="30" height="30" viewBox="0 0 24 24"><path d="M3 17h18" stroke="#fff"/></svg>
<svg width="32" height="32" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" stroke="#fff"/></svg>
<svg width="34" height="34" viewBox="0 0 24 24"><path d="M12 3v18M3 12h18" stroke="#fff"/></svg>
<svg width="34" height="34" viewBox="0 0 24 24"><path d="M6 6h12v12H6z" stroke="#fff"/></svg>
<svg width="34" height="34" viewBox="0 0 24 24"><path d="M3 12h18" stroke="#fff"/></svg>
<svg width="34" height="34" viewBox="0 0 24 24"><path d="M6 6h12v12H6z" stroke="#fff"/></svg>
<div class="battery"></div>
</div>
</div>
<!-- Top bar with menu and logo -->
<div class="topbar">
<div class="icon-btn">
<svg width="32" height="32" viewBox="0 0 24 24"><path d="M3 6h18M3 12h18M3 18h18" stroke="#fff" stroke-width="3"/></svg>
</div>
<div class="logo">
<span class="e">e</span><span class="b">b</span><span class="a">a</span><span class="y">y</span>
</div>
</div>
<!-- Floating cart -->
<div class="floating-cart">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M4 6h2l2 10h10l2-8H7" stroke="#fff" stroke-width="3" />
<circle cx="10" cy="20" r="1.5" fill="#fff" stroke="none"></circle>
<circle cx="18" cy="20" r="1.5" fill="#fff" stroke="none"></circle>
</svg>
</div>
<!-- Search -->
<div class="search-wrap">
<div class="search">
<div class="row" style="gap:18px;">
<svg width="44" height="44" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="M20 20l-5-5"/></svg>
<div class="placeholder">Search on eBay</div>
</div>
<div class="search-actions">
<div class="mini">
<svg width="30" height="30" viewBox="0 0 24 24">
<path d="M12 4c2 0 3 1.5 3 3.5v4.5c0 2-1 3.5-3 3.5s-3-1.5-3-3.5V7.5C9 5.5 10 4 12 4z"/>
<path d="M9 18h6" />
</svg>
</div>
<div class="mini">
<svg width="34" height="34" viewBox="0 0 24 24">
<rect x="4" y="7" width="16" height="12" rx="2"/>
<path d="M9 7l2-3h2l2 3"/>
<circle cx="12" cy="13" r="3"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Filter pills -->
<div class="filters">
<div class="filter-pill">
<svg viewBox="0 0 24 24"><path d="M4 4h8l8 8-8 8H4l8-8z"/></svg>
<span>Selling</span>
</div>
<div class="filter-pill">
<svg viewBox="0 0 24 24"><path d="M12 3v9l6 3" /></svg>
<span>Deals</span>
</div>
<div class="filter-pill">
<svg viewBox="0 0 24 24"><path d="M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z"/></svg>
<span>Categories</span>
</div>
<div class="filter-pill">
<svg viewBox="0 0 24 24"><path d="M12 20s-7-4.5-7-9a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4.5-7 9-7 9z"/></svg>
<span>Saved</span>
</div>
</div>
<!-- Yellow Hero -->
<div class="hero-yellow">
<h1>What's Trending on eBay?</h1>
<p>Save on deals you really want</p>
<div class="cta-dark">Buy it now</div>
</div>
<div class="divider"></div>
<!-- Teal section -->
<div class="teal-section">
<h2>Shop millions of items for you and your home.</h2>
<div class="cta-outline">Shop Now</div>
<div class="card-grid">
<div class="img-card">[IMG: Warehouse packing and handheld scanner]</div>
<div class="img-card">[IMG: Yellow banner with sports bag visual]</div>
</div>
</div>
<!-- Daily Deals -->
<div class="deals-section">
<div class="deals-header">
<div class="title">Daily Deals</div>
<div class="link">See all</div>
</div>
<div class="product-list">
<div class="product-card">
<div class="image">[IMG: Replacement phone screens]</div>
<div class="name">Phone Screen Set</div>
<div class="price">$14.99</div>
</div>
<div class="product-card">
<div class="image">[IMG: Smartwatch front]</div>
<div class="name">Smart Watch</div>
<div class="price">$29.99</div>
</div>
<div class="product-card">
<div class="image">[IMG: Tablet device]</div>
<div class="name">Tablet 10"</div>
<div class="price">$119.00</div>
</div>
<div class="product-card">
<div class="image">[IMG: Headphones]</div>
<div class="name">Wireless Headphones</div>
<div class="price">$39.00</div>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>