AndroidCode / code /10145 /10145_11.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Item Detail Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #000; color: #fff;
}
/* Header */
.header { height: 120px; padding: 0 32px; display: flex; align-items: center; }
.burger { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.header-title { font-size: 44px; font-weight: 600; margin-left: 18px; }
.action-icons { margin-left: auto; display: flex; gap: 20px; }
.icon-btn { width: 92px; height: 92px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 40px; height: 40px; fill: #fff; }
/* Hero image area */
.hero { position: relative; margin: 8px 24px 0; }
.hero .img {
height: 980px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center; color: #757575; font-size: 36px; border-radius: 8px;
}
.ribbon {
position: absolute; left: 90px; top: 52px;
background: #C8102E; color: #fff; font-weight: 700; font-size: 32px;
padding: 18px 24px; border-radius: 12px;
}
.counter {
position: absolute; right: 30px; top: 58px;
background: #6B6B6B; color: #fff; font-size: 28px;
padding: 14px 20px; border-radius: 10px;
}
.fav {
position: absolute; right: 18px; bottom: 18px;
width: 120px; height: 120px; border-radius: 50%; background: #1f1f1f;
display: flex; align-items: center; justify-content: center;
}
.fav svg { width: 52px; height: 52px; stroke: #fff; fill: none; stroke-width: 3.5; }
.dots { display: flex; justify-content: center; gap: 12px; margin: 18px 0 10px; }
.dot { width: 14px; height: 14px; background: #555; border-radius: 50%; }
/* Content */
.content { padding: 0 40px; }
.title { font-size: 56px; font-weight: 800; line-height: 1.2; margin: 18px 0 26px; }
.seller { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.store-icon { width: 52px; height: 52px; background: #222; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.store-icon svg { width: 34px; height: 34px; fill: #fff; }
.seller-text { flex: 1; }
.seller-text .name { font-size: 32px; }
.seller-text .feedback { font-size: 30px; color: #9fd; text-decoration: underline; }
.arrow { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.arrow svg { width: 26px; height: 26px; fill: #fff; }
.price { font-size: 56px; font-weight: 800; margin: 20px 0 6px; }
.shipping { font-size: 32px; color: #ccc; font-weight: 500; }
.delivery { font-size: 34px; margin: 22px 0 24px; }
.row { display: flex; align-items: center; justify-content: space-between; margin: 16px 0; }
.label { color: #bdbdbd; font-size: 30px; }
.value { font-size: 32px; }
.info { width: 34px; height: 34px; border-radius: 50%; background: #2a2a2a; display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; color: #ddd; font-size: 20px; }
.quantity { margin-top: 22px; align-items: flex-start; }
.qty-left { width: 50%; }
.qty-left .small { color: #bdbdbd; font-size: 28px; margin-top: 6px; }
.qty-select {
width: 420px; height: 120px; border-radius: 16px; background: #111; border: 1px solid #333;
display: flex; align-items: center; justify-content: space-between; padding: 0 28px; color: #fff; font-size: 36px;
}
.caret { width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 16px solid #fff; }
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="header">
<div class="burger">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="2" fill="#fff"></rect>
<rect x="3" y="11" width="18" height="2" fill="#fff"></rect>
<rect x="3" y="17" width="18" height="2" fill="#fff"></rect>
</svg>
</div>
<div class="header-title">Item</div>
<div class="action-icons">
<div class="icon-btn">
<!-- Search -->
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7.5"></circle>
<rect x="17" y="17" width="6" height="2" transform="rotate(45 17 17)"></rect>
</svg>
</div>
<div class="icon-btn">
<!-- Cart -->
<svg viewBox="0 0 24 24">
<path d="M7 7h10l-1 10H8L7 7z"></path>
<circle cx="9" cy="20" r="2"></circle>
<circle cx="15" cy="20" r="2"></circle>
</svg>
</div>
<div class="icon-btn">
<!-- Share -->
<svg viewBox="0 0 24 24">
<path d="M18 8l-6-4v3H6v2h6v3z"></path>
<path d="M6 12h12v2H6z"></path>
</svg>
</div>
<div class="icon-btn">
<!-- More -->
<svg viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2"></circle>
<circle cx="12" cy="12" r="2"></circle>
<circle cx="19" cy="12" r="2"></circle>
</svg>
</div>
</div>
</div>
<!-- Main Image -->
<div class="hero">
<div class="img">[IMG: iPhone 14 Pro Max photo]</div>
<div class="ribbon">19 watched in the last 24 hours</div>
<div class="counter">1 of 2</div>
<div class="fav">
<svg viewBox="0 0 24 24">
<path d="M12 21s-7-4.35-7-9a4.5 4.5 0 019 0 4.5 4.5 0 019 0c0 4.65-7 9-7 9z"></path>
</svg>
</div>
</div>
<!-- Carousel dots -->
<div class="dots">
<div class="dot"></div>
<div class="dot"></div>
</div>
<!-- Details -->
<div class="content">
<div class="title">iPhone 14 Pro Max - Unlocked - 128GB - Black - Excellent</div>
<div class="seller">
<div class="store-icon">
<svg viewBox="0 0 24 24">
<path d="M3 10l3-5h12l3 5H3z"></path>
<path d="M4 10h16v10H4z"></path>
</svg>
</div>
<div class="seller-text">
<div class="name">buybackboss (11826)</div>
<div class="feedback">99.2% positive feedback</div>
</div>
<div class="arrow">
<svg viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6"></path>
</svg>
</div>
</div>
<div class="price">$975.00 <span class="shipping">+ $42.69 Shipping</span></div>
<div class="delivery">Est. delivery Mon, Jul 24 - Thu, Aug 10</div>
<div class="row">
<div class="label">Condition</div>
<div class="value">Excellent - Refurbished <span class="info">i</span></div>
</div>
<div class="row quantity">
<div class="qty-left">
<div class="label">Quantity</div>
<div class="small">4 available</div>
</div>
<div class="qty-select">
<span>1</span>
<span class="caret"></span>
</div>
</div>
</div>
</div>
</body>
</html>