AndroidCode / code /10087 /10087_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Product Detail Mock</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color: #222; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 120px;
background: #ECECEC;
display: flex;
align-items: center;
padding: 0 40px;
font-size: 36px;
color: #5a5a5a;
}
.status-icons {
margin-left: auto;
display: flex;
gap: 28px;
align-items: center;
}
.dot { width: 10px; height: 10px; background: #6b6b6b; border-radius: 50%; display: inline-block; }
/* Header search */
.header {
background: #fff;
padding: 28px 24px;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 20px;
}
.icon-btn {
width: 80px;
height: 80px;
display: flex; align-items: center; justify-content: center;
}
.search-bar {
flex: 1;
height: 96px;
background: #F5F5F7;
border: 1px solid #E0E0E0;
border-radius: 60px;
display: flex; align-items: center;
padding: 0 30px;
gap: 20px;
box-sizing: border-box;
}
.search-placeholder { color: #8d8d8d; font-size: 36px; }
.actions { display: flex; align-items: center; gap: 20px; }
.cart-wrap { position: relative; width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; }
.badge {
position: absolute;
top: 6px; right: 8px;
background: #E53935;
color: #fff; font-size: 28px; line-height: 36px;
padding: 4px 12px; border-radius: 20px;
border: 2px solid #fff;
}
/* Image banner */
.media {
width: 100%;
height: 720px;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #616161;
font-size: 40px;
}
.dots {
height: 80px;
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
}
.dots span {
width: 20px; height: 20px; background: #C7C7C7; border-radius: 50%;
}
.dots span.active { background: #8E8E8E; }
.divider { height: 2px; background: #EEEEEE; }
/* Info notice */
.notice {
display: flex; align-items: center; gap: 16px;
padding: 22px 32px;
font-size: 36px;
}
.notice .up {
width: 46px; height: 46px; border-radius: 50%;
background: #e8f5e9; display: flex; align-items: center; justify-content: center;
color: #2e7d32; font-weight: bold;
}
/* Product section */
.product {
padding: 24px 32px;
}
.title {
font-size: 42px;
line-height: 54px;
font-weight: 700;
color: #1f1f1f;
}
.subtitle {
font-weight: 400;
}
.rating-row {
margin-top: 18px;
display: flex; align-items: center; gap: 16px;
}
.stars { display: flex; gap: 6px; }
.stars svg { width: 34px; height: 34px; fill: #2E7D32; }
.ratings-link { color: #2a69ff; font-size: 34px; }
.assured {
margin-left: auto;
display: flex; align-items: center; gap: 10px;
color: #444;
font-size: 32px;
}
.assured .badge-star { width: 34px; height: 34px; fill: #FBC02D; }
.price-row {
margin-top: 24px;
display: flex; align-items: baseline; gap: 24px;
}
.discount { color: #1B5E20; font-weight: 800; font-size: 60px; }
.old-price { color: #9E9E9E; text-decoration: line-through; font-size: 46px; }
.new-price { font-size: 64px; font-weight: 800; }
.delivery {
margin-top: 36px;
display: flex; align-items: center; justify-content: space-between;
padding: 24px 0;
border-top: 2px solid #F0F0F0; border-bottom: 2px solid #F0F0F0;
}
.delivery .to { font-size: 36px; }
.delivery .bold { font-weight: 700; }
.btn-outline {
padding: 18px 36px; border: 2px solid #DADADA; border-radius: 12px; font-size: 34px; background: #fff;
}
.shipping-bar {
display: flex; align-items: center; gap: 18px;
padding: 26px 32px;
border-bottom: 2px solid #F0F0F0;
font-size: 36px;
}
.shipping-bar .sep {
width: 2px; height: 38px; background: #DADADA;
margin: 0 16px;
}
.shipping-bar .green { color: #1B5E20; font-weight: 700; }
.features {
display: flex; justify-content: space-around; align-items: center;
padding: 30px 20px;
border-bottom: 2px solid #F0F0F0;
text-align: center;
}
.feat {
width: 360px;
}
.feat .ic {
width: 140px; height: 140px; background: #F4F6FF; border-radius: 50%;
margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
border: 1px solid #E0E0E0;
}
.feat .label { font-size: 34px; color: #444; }
/* Floating help */
.floating {
position: absolute; right: 36px; bottom: 380px;
width: 140px; height: 140px; border-radius: 50%;
background: #2A62FF; color: #FFD54F;
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
display: flex; align-items: center; justify-content: center;
font-weight: 800; font-size: 60px;
border: 6px solid #6EA1FF;
}
/* Bottom bar */
.bottom-bar {
position: absolute; left: 0; bottom: 70px;
width: 100%; height: 150px; background: #fff;
border-top: 2px solid #EAEAEA;
display: flex;
}
.btn-cart {
flex: 1; display: flex; align-items: center; justify-content: center;
font-size: 46px; font-weight: 700; background: #F5F5F5; color: #222;
}
.btn-buy {
flex: 1; display: flex; align-items: center; justify-content: center;
font-size: 46px; font-weight: 700; background: #FFC107; color: #111;
}
/* Home indicator */
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 18px; width: 340px; height: 18px; background: #000; opacity: 0.85;
border-radius: 10px;
}
/* Simple SVG icon defaults */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>10:32</div>
<div class="status-icons">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
</div>
<!-- Search Header -->
<div class="header">
<div class="icon-btn" aria-label="Back">
<svg width="48" height="48" viewBox="0 0 24 24"><path fill="#333" d="M15.5 3.5L7 12l8.5 8.5-1.4 1.4L4.2 12l9.9-9.9 1.4 1.4z"/></svg>
</div>
<div class="search-bar">
<svg width="42" height="42" viewBox="0 0 24 24"><path fill="#8d8d8d" d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>
<div class="search-placeholder">Search for products</div>
<div style="margin-left:auto; display:flex; align-items:center; gap:20px;">
<svg width="42" height="42" viewBox="0 0 24 24"><path fill="#8d8d8d" d="M12 14a2 2 0 002-2V7a2 2 0 10-4 0v5a2 2 0 002 2zm5-2a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/></svg>
</div>
</div>
<div class="actions">
<div class="cart-wrap" aria-label="Cart">
<svg width="48" height="48" viewBox="0 0 24 24"><path fill="#333" d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.2 6l.82 2h8.91c.75 0 1.24.79.9 1.46l-2.24 4.49a1.5 1.5 0 01-1.34.85H9.04a1.5 1.5 0 01-1.41-.96L5.11 4H2V2h3.6c.64 0 1.2.41 1.41 1.02L7.2 6z"/></svg>
<span class="badge">2</span>
</div>
</div>
</div>
<!-- Product Image -->
<div class="media">[IMG: Toy close-up - Dancing Spinning Monkey]</div>
<!-- Slider dots -->
<div class="dots">
<span class="active"></span><span></span><span></span><span></span><span></span>
</div>
<div class="divider"></div>
<!-- Notice -->
<div class="notice">
<div class="up"></div>
<div><strong>14</strong> people ordered this in the last 30 days</div>
</div>
<div class="divider"></div>
<!-- Product Details -->
<div class="product">
<div class="title">
Lakshita <span class="subtitle">Rotation Dancing &amp; Spinning Rolling Monkey with Light &amp; Sound Toy for Kids (Blue)</span>
</div>
<div class="rating-row">
<div class="stars" aria-label="4 stars">
<svg viewBox="0 0 24 24"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
<svg viewBox="0 0 24 24" style="fill:#A5D6A7;"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
</div>
<div class="ratings-link">59 ratings</div>
<div class="assured">
<svg class="badge-star" viewBox="0 0 24 24"><path d="M12 17.3l-5.4 3.2 1.5-6.1L3 9.8l6.2-.5L12 3l2.8 6.3 6.2.5-5.1 4.6 1.5 6.1z"/></svg>
<span>Plus F-ASSURED</span>
</div>
</div>
<div class="price-row">
<div class="discount">−70%</div>
<div class="old-price">999</div>
<div class="new-price">₹299</div>
</div>
<div class="delivery">
<div class="to">Deliver to: <span class="bold">New Delhi - 110004</span></div>
<button class="btn-outline">Change</button>
</div>
</div>
<!-- Shipping info -->
<div class="shipping-bar">
<svg width="46" height="46" viewBox="0 0 24 24"><path fill="#333" d="M3 7h11v7H3V7zm11 0h3l3 3v4h-6V7zM6 18.5A1.5 1.5 0 104.5 17 1.5 1.5 0 006 18.5zm10 0A1.5 1.5 0 1014.5 17 1.5 1.5 0 0016 18.5z"/></svg>
<span class="green">FREE Delivery</span>
<span style="color:#9E9E9E; margin-left:8px;">₹40</span>
<div class="sep"></div>
<span>Delivery in 2 Days, Saturday</span>
<div style="margin-left:auto;">
<svg width="34" height="34" viewBox="0 0 24 24"><path fill="#777" d="M9 6l6 6-6 6-1.4-1.4L12.2 12 7.6 7.4 9 6z"/></svg>
</div>
</div>
<!-- Features -->
<div class="features">
<div class="feat">
<div class="ic">
<div style="width:80px; height:80px; background:#E0E0E0; border:1px solid #BDBDBD; display:flex; align-items:center; justify-content:center; color:#757575; font-size:22px;">[IMG]</div>
</div>
<div class="label">7 Days Replacement</div>
</div>
<div class="feat">
<div class="ic">
<div style="width:80px; height:80px; background:#E0E0E0; border:1px solid #BDBDBD; display:flex; align-items:center; justify-content:center; color:#757575; font-size:22px;">[IMG]</div>
</div>
<div class="label">Cash on Delivery</div>
</div>
</div>
<!-- Floating support -->
<div class="floating">f</div>
<!-- Bottom sticky bar -->
<div class="bottom-bar">
<div class="btn-cart">Go to cart</div>
<div class="btn-buy">Buy now</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>