AndroidCode / code /10169 /10169_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Item - Added to cart</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: #f6f6f6;
}
/* Top navigation */
.topbar {
position: relative;
height: 120px;
background: #ffffff;
display: flex;
align-items: center;
padding: 0 32px;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
z-index: 1;
}
.topbar .title {
font-size: 44px;
font-weight: 600;
margin-left: 16px;
}
.topbar .actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.icon-btn {
width: 72px;
height: 72px;
border-radius: 36px;
background: #f0f0f0;
display: flex; align-items: center; justify-content: center;
}
.cart { position: relative; }
.badge {
position: absolute;
top: 8px; right: 6px;
width: 32px; height: 32px;
border-radius: 16px;
background: #d32f2f; color: #fff;
font-size: 22px; line-height: 32px; text-align: center;
font-weight: 700;
}
/* Content area */
.content {
position: relative;
padding: 32px;
color: #111;
}
.seller-row {
display: flex; align-items: center; gap: 22px;
margin-top: 22px;
}
.avatar {
width: 84px; height: 84px; border-radius: 42px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 22px;
}
.seller-info .name { font-size: 38px; font-weight: 700; letter-spacing: 0.2px; }
.seller-info .meta { font-size: 28px; color: #666; margin-top: 2px; }
.price-hero {
margin-top: 28px;
}
.price-hero .price {
font-size: 90px; font-weight: 800;
}
.price-hero .per { font-size: 40px; color: #444; margin-left: 8px; }
.subtext { font-size: 32px; color: #666; margin-top: 10px; }
.save { font-size: 32px; color: #c62828; margin-top: 4px; }
.ship { font-size: 36px; color: #1b5e20; font-weight: 700; margin-top: 18px; }
.when { font-size: 32px; color: #222; margin-top: 6px; }
.ontime { font-size: 30px; color: #444; margin-top: 6px; }
.cond-row {
display: flex; justify-content: space-between; align-items: center;
font-size: 34px; color: #666; margin-top: 26px;
}
.cond-row .right { color: #222; font-weight: 600; display:flex; align-items:center; gap:10px; }
.info-dot {
width: 36px; height: 36px; border-radius: 18px; border: 2px solid #999;
display:flex; align-items:center; justify-content:center; color:#666; font-size: 22px; font-weight:700;
}
.bulk-header {
display: flex; justify-content: space-between; align-items: center;
margin-top: 26px; font-size: 32px; color: #333;
}
.bulk-options {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
margin-top: 18px;
}
.opt {
height: 140px; border: 3px solid #3b59d4; border-radius: 16px;
display: flex; align-items: center; justify-content: center; text-align: center;
font-size: 36px; font-weight: 700; color: #3b59d4; background: #ffffff;
}
.opt.gray {
border-color: #bdbdbd; color: #333;
}
.buy-now {
margin-top: 42px;
height: 120px; border-radius: 60px;
background: #3f61f2; color: #fff; font-size: 48px; font-weight: 800;
display:flex; align-items:center; justify-content:center;
}
/* Dimming overlay for modal */
.overlay {
position: absolute; left: 0; top: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.35);
z-index: 3;
pointer-events: none;
}
/* Bottom sheet */
.bottom-sheet {
position: absolute; left: 0; bottom: 0;
width: 1080px; height: 980px;
background: #ffffff;
border-top-left-radius: 40px; border-top-right-radius: 40px;
box-shadow: 0 -14px 30px rgba(0,0,0,0.25);
z-index: 5;
padding: 28px 36px 36px 36px;
}
.sheet-head {
display: flex; align-items: center; gap: 18px;
font-size: 40px; font-weight: 700; color: #111;
padding-bottom: 18px;
}
.check-circle {
width: 44px; height: 44px; border-radius: 22px; background: #e8f5e9;
display:flex; align-items:center; justify-content:center; border: 2px solid #2e7d32;
}
.divider {
height: 1px; background: #e0e0e0; margin: 6px 0 18px 0;
}
.cart-item {
display: grid; grid-template-columns: 180px 1fr 200px; align-items: center;
gap: 24px;
}
.thumb {
width: 180px; height: 180px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:24px; text-align:center; border-radius: 8px;
}
.item-title {
font-size: 34px; color: #111; line-height: 1.24;
}
.item-price {
text-align: right; font-size: 36px; color: #111; font-weight: 700;
}
.goto {
margin-top: 40px;
height: 120px; border-radius: 60px;
background: #3f61f2; color: #fff;
display:flex; align-items:center; justify-content:center;
font-size: 50px; font-weight: 800;
}
.sponsored {
margin-top: 40px;
}
.sponsored .title {
font-size: 52px; font-weight: 800; color: #111;
margin-bottom: 22px;
}
.category {
font-size: 36px; color: #555; margin-bottom: 16px;
}
.sponsor-row {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sponsor-img {
height: 220px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius: 16px;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:26px;
}
/* Small helper text styles */
.strike { text-decoration: line-through; color: #888; }
</style>
</head>
<body>
<div id="render-target">
<!-- Top bar -->
<div class="topbar">
<div class="icon-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Item</div>
<div class="actions">
<div class="icon-btn">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#111" stroke-width="2" fill="none"/>
<path d="M21 21l-5-5" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-btn cart">
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M6 6h14l-2 9H8L6 6z" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="9" cy="20" r="1.6" fill="#111"/>
<circle cx="18" cy="20" r="1.6" fill="#111"/>
</svg>
<div class="badge">2</div>
</div>
<div class="icon-btn">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2.2" fill="#111"/>
<circle cx="12" cy="8" r="2.2" fill="#111"/>
<circle cx="18" cy="5" r="2.2" fill="#111"/>
<path d="M7.8 11l3.6-2.6M13.8 7.2l3.7-2.1" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-btn">
<svg width="36" height="36" viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2" fill="#111"/>
<circle cx="12" cy="12" r="2" fill="#111"/>
<circle cx="19" cy="12" r="2" fill="#111"/>
</svg>
</div>
</div>
</div>
<!-- Page content (dimmed by overlay) -->
<div class="content">
<div class="seller-row">
<div class="avatar">rinuvo</div>
<div class="seller-info">
<div class="name">Kinuvo (4U48)</div>
<div class="meta">99.5% positive feedback</div>
</div>
</div>
<div class="price-hero">
<div class="price">$279.99<span class="per">/ea</span></div>
<div class="subtext">or Best Offer</div>
<div class="save"><span class="strike">Was $329.99</span> Save $50.00 (15% off)</div>
<div class="ship">Free 2-3 day shipping</div>
<div class="when">Get it between <b>Mon, Nov 27</b> and <b>Tue, Nov 28</b></div>
<div class="ontime">Get it on time if you order in the next 7h 17m</div>
</div>
<div class="cond-row">
<div>Condition</div>
<div class="right">Excellent - Refurbished <div class="info-dot">i</div></div>
</div>
<div class="bulk-header">
<div>Bulk savings: Qty 1</div>
<div>4 available</div>
</div>
<div class="bulk-options">
<div class="opt">Buy 1<br>$279.99/ea</div>
<div class="opt gray">Buy 2<br>$277.19/ea</div>
<div class="opt gray">Buy 3<br>$274.39/ea</div>
</div>
<div class="buy-now">Buy It Now</div>
<!-- Underlying sponsored section (partially visible under the sheet) -->
<div class="sponsored" style="padding-bottom: 340px;">
<div class="title">Related sponsored items</div>
<div class="category">PC Laptops & Netbooks</div>
<div class="sponsor-row">
<div class="sponsor-img">[IMG: Rugged Laptop]</div>
<div class="sponsor-img">[IMG: Colorful Laptop]</div>
<div class="sponsor-img">[IMG: Windows Laptop]</div>
</div>
</div>
</div>
<!-- Dark overlay covering the background -->
<div class="overlay"></div>
<!-- Bottom sheet: Added to cart -->
<div class="bottom-sheet">
<div class="sheet-head">
<div class="check-circle">
<svg width="26" height="26" viewBox="0 0 24 24">
<path d="M20 6l-11 11-5-5" stroke="#2e7d32" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div>Added to cart</div>
</div>
<div class="divider"></div>
<div class="cart-item">
<div class="thumb">[IMG: 14" Dell Latitude Laptop]</div>
<div class="item-title">14" Dell Latitude Laptop PC: Intel Core i7! Backlit Keyboard! Built in Webcam!</div>
<div class="item-price">$279.99/ea</div>
</div>
<div class="goto">Go to cart</div>
<div class="sponsored">
<div class="title">Related sponsored items</div>
<div class="category">PC Laptops & Netbooks</div>
<div class="sponsor-row">
<div class="sponsor-img">[IMG: Slim Laptop]</div>
<div class="sponsor-img">[IMG: Vibrant Display Laptop]</div>
<div class="sponsor-img">[IMG: Business Laptop]</div>
</div>
</div>
</div>
</div>
</body>
</html>