AndroidCode / code /1017 /1017_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.8 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>eBay Item UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #111;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 104px;
padding: 24px 32px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #2c2c2c;
font-weight: 600;
}
.status-icons {
display: flex;
align-items: center;
gap: 22px;
}
.status-dot {
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid #777;
}
.wifi {
width: 36px; height: 24px;
}
.battery {
width: 38px; height: 22px; border: 2px solid #555; border-radius: 4px; position: relative;
}
.battery::after {
content: "";
position: absolute;
right: -8px; top: 6px;
width: 6px; height: 10px; background: #555; border-radius: 2px;
}
/* Header */
.header {
position: absolute;
top: 104px;
left: 0; right: 0;
height: 112px;
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
gap: 20px;
}
.back-btn {
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
}
.header-title {
font-size: 52px; font-weight: 700; letter-spacing: -0.5px;
}
.more-btn {
margin-left: auto;
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
}
.dots svg { width: 28px; height: 28px; }
/* Action buttons (blue outline pills) */
.actions {
position: absolute;
top: 236px;
left: 32px; right: 32px;
}
.outline-btn {
height: 110px;
border: 3px solid #2F5BFF;
border-radius: 58px;
margin-bottom: 26px;
display: flex; align-items: center;
padding: 0 36px;
box-sizing: border-box;
color: #2F5BFF; font-size: 44px; font-weight: 600;
}
.outline-btn .heart {
margin-right: 18px;
}
/* Dropdown menu card */
.menu-card {
position: absolute;
top: 176px;
right: 32px;
width: 540px;
background: #EEF2FF;
border-radius: 22px;
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
padding: 28px 32px;
box-sizing: border-box;
}
.menu-item {
font-size: 44px; color: #222;
padding: 24px 10px;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.menu-item:last-child { border-bottom: none; }
/* Section titles */
.section-title {
position: absolute;
top: 740px;
left: 32px;
font-size: 56px; font-weight: 800;
}
/* About list */
.about-list {
position: absolute;
top: 840px;
left: 32px; right: 32px;
}
.about-row {
display: flex; justify-content: space-between; align-items: center;
padding: 22px 0;
font-size: 40px;
border-bottom: 1px solid #eee;
}
.about-label { color: #666; }
.about-value { font-weight: 600; }
.chev {
margin-left: 12px; width: 28px; height: 28px;
}
/* Description */
.desc-title {
position: absolute;
top: 1220px;
left: 32px; right: 32px;
font-size: 56px; font-weight: 800;
}
.desc-text {
position: absolute;
top: 1320px;
left: 32px; right: 32px;
font-size: 40px; line-height: 1.5; color: #222;
}
.see-full {
position: absolute;
top: 1540px; left: 32px;
color: #2F5BFF; font-size: 44px; font-weight: 700; text-decoration: none;
}
/* More like this */
.mlt-head {
position: absolute;
top: 1640px; left: 32px;
font-size: 60px; font-weight: 800;
}
.mlt-sub {
position: absolute;
top: 1720px; left: 32px; right: 360px;
color: #666; font-size: 40px;
}
.see-all-btn {
position: absolute;
top: 1700px; right: 32px;
height: 110px; width: 300px;
border: 2px solid #cfcfcf; border-radius: 60px;
display: flex; align-items: center; justify-content: center;
font-size: 44px; color: #222;
background: #fff;
}
.cards {
position: absolute;
top: 1840px; left: 32px; right: 32px;
display: flex; gap: 32px;
}
.card {
width: 492px; height: 420px; border-radius: 28px; overflow: hidden;
background: #fff; border: 1px solid #e6e6e6; position: relative;
}
.img {
width: 100%; height: 100%;
background: #E0E0E0;
border-top-left-radius: 28px; border-top-right-radius: 28px;
border-bottom: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 36px; text-align: center;
}
.fav {
position: absolute; top: 22px; right: 22px;
width: 78px; height: 78px; border-radius: 50%;
background: #fff; border: 1px solid #ddd;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Bottom navigation */
.nav {
position: absolute; bottom: 0; left: 0; right: 0;
height: 168px; border-top: 1px solid #e5e5e5; background: #fafafa;
display: flex; justify-content: space-around; align-items: center;
}
.nav-item {
width: 180px; height: 140px; display: flex; flex-direction: column;
align-items: center; justify-content: center; color: #333; font-size: 32px;
}
.nav-item .icon {
width: 72px; height: 72px; margin-bottom: 10px; color: #333;
}
.nav-item.active .icon-wrap {
width: 120px; height: 120px; border-radius: 60px; background: #E7EDFF;
display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.nav-item.active .label { color: #2F5BFF; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div style="display:flex;align-items:center;gap:18px;">
<div style="font-size:44px;">10:47</div>
<div class="status-dot"></div>
</div>
<div class="status-icons">
<svg class="wifi" viewBox="0 0 48 32">
<path d="M24 28c-2 0-4 2-4 4s2 4 4 4 4-2 4-4-2-4-4-4zm0-8c-6 0-12 3-16 8l4 3c3-4 7-6 12-6s9 2 12 6l4-3c-4-5-10-8-16-8zm0-8c-10 0-18 4-24 12l4 3c5-6 12-10 20-10s15 4 20 10l4-3C42 8 34 4 24 4z" fill="#4b4b4b"/>
</svg>
<div class="battery"></div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn">
<svg viewBox="0 0 48 48" width="48" height="48">
<path d="M28 6 L10 24 L28 42" stroke="#222" stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="header-title">Item</div>
<div class="more-btn dots">
<svg viewBox="0 0 20 60">
<circle cx="10" cy="10" r="6" fill="#222"></circle>
<circle cx="10" cy="30" r="6" fill="#222"></circle>
<circle cx="10" cy="50" r="6" fill="#222"></circle>
</svg>
</div>
</div>
<!-- Dropdown menu -->
<div class="menu-card">
<div class="menu-item">Watch this item</div>
<div class="menu-item">Share this item</div>
<div class="menu-item">Report this item</div>
<div class="menu-item">Help & Contact</div>
</div>
<!-- Blue outline actions -->
<div class="actions">
<div class="outline-btn">Add to basket</div>
<div class="outline-btn">Make offer</div>
<div class="outline-btn">
<span class="heart">
<svg viewBox="0 0 48 48" width="48" height="48">
<path d="M24 42s-14-9-18-16c-3-6 1-14 8-14 5 0 8 4 10 7 2-3 5-7 10-7 7 0 11 8 8 14-4 7-18 16-18 16z" fill="none" stroke="#2F5BFF" stroke-width="4"/>
</svg>
</span>
Add to watchlist
</div>
</div>
<!-- About this item -->
<div class="section-title">About this item</div>
<div class="about-list">
<div class="about-row">
<div class="about-label">Condition</div>
<div class="about-value">Used</div>
</div>
<div class="about-row">
<div class="about-label">Quantity</div>
<div class="about-value">1 available</div>
</div>
<div class="about-row">
<div class="about-label">Item Number</div>
<div style="display:flex; align-items:center;">
<div class="about-value">304796314833</div>
<svg class="chev" viewBox="0 0 24 24">
<path d="M8 4 L16 12 L8 20" stroke="#666" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="about-row">
<div class="about-label">UK Shoe Size</div>
<div class="about-value">7</div>
</div>
<div class="about-row" style="border-bottom:none;">
<div class="about-label">Shoe Shaft Style</div>
<div class="about-value">Low Top</div>
</div>
</div>
<!-- Description -->
<div class="desc-title">Item description from the seller</div>
<div class="desc-text">
New Balance 420 Size 9 Athletic shoes for women WL420DFU Mint. Good pre-owned conditions, look at all over the pictures for details.
</div>
<a href="#" class="see-full">See full description</a>
<!-- More like this -->
<div class="mlt-head">More like this</div>
<div class="mlt-sub">Sponsored · UK Shoe Size 7 and similar styles</div>
<div class="see-all-btn">See all →</div>
<div class="cards">
<div class="card">
<div class="img">[IMG: Mint New Balance Sneakers]</div>
<div class="fav">
<svg viewBox="0 0 48 48" width="40" height="40">
<path d="M24 40s-12-8-16-14c-3-5 1-12 7-12 4 0 7 3 9 6 2-3 5-6 9-6 6 0 10 7 7 12-4 6-16 14-16 14z" fill="none" stroke="#777" stroke-width="3"/>
</svg>
</div>
</div>
<div class="card">
<div class="img">[IMG: Similar Running Shoes]</div>
<div class="fav">
<svg viewBox="0 0 48 48" width="40" height="40">
<path d="M24 40s-12-8-16-14c-3-5 1-12 7-12 4 0 7 3 9 6 2-3 5-6 9-6 6 0 10 7 7 12-4 6-16 14-16 14z" fill="none" stroke="#777" stroke-width="3"/>
</svg>
</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="nav">
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 48 48" width="72" height="72">
<path d="M6 22 L24 6 L42 22 V42 H28 V30 H20 V42 H6 Z" fill="#333"/>
</svg>
</div>
<div class="label">Home</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 48 48" width="72" height="72">
<circle cx="24" cy="16" r="10" fill="#333"></circle>
<path d="M6 44c4-10 14-14 18-14s14 4 18 14" stroke="#333" stroke-width="4" fill="none"/>
</svg>
</div>
<div class="label">My eBay</div>
</div>
<div class="nav-item active">
<div class="icon-wrap">
<svg class="icon" viewBox="0 0 48 48">
<circle cx="20" cy="20" r="14" stroke="#2F5BFF" stroke-width="4" fill="none"></circle>
<path d="M32 32 L44 44" stroke="#2F5BFF" stroke-width="4" stroke-linecap="round"/>
</svg>
</div>
<div class="label">Search</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 48 48" width="72" height="72">
<path d="M8 20 C8 12 14 6 24 6s16 6 16 14v8l-6 6v8H14v-8l-6-6z" fill="#333"/>
</svg>
</div>
<div class="label">Inbox</div>
</div>
<div class="nav-item">
<div class="icon">
<svg viewBox="0 0 48 48" width="72" height="72">
<path d="M12 38 L36 14" stroke="#333" stroke-width="4"/>
<path d="M34 10 L42 18 L18 42 L10 34 Z" fill="none" stroke="#333" stroke-width="4"/>
</svg>
</div>
<div class="label">Selling</div>
</div>
</div>
</div>
</body>
</html>