AndroidCode / code /10074 /10074_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Detail - Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif; color: #212121; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #ffffff; border-radius: 28px; box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
/* Top status bar */
.statusbar {
height: 120px; background: #202020; color: #fff;
display: flex; align-items: center; padding: 0 40px; font-size: 38px;
}
.status-icons { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.status-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; opacity: 0.9; }
.status-geo { width: 40px; height: 40px; border: 2px solid #fff; border-radius: 50%; }
.status-battery { width: 60px; height: 36px; border: 3px solid #fff; border-radius: 8px; position: relative; }
.status-battery::after { content: ""; position: absolute; right: -10px; top: 10px; width: 8px; height: 16px; background: #fff; border-radius: 2px; }
.status-battery-fill { position: absolute; left: 4px; top: 4px; bottom: 4px; right: 14px; background: #4caf50; border-radius: 4px; }
/* Promo banner */
.promo {
height: 130px; background: #a9d6ea;
display: flex; align-items: center; padding: 0 32px; color: #0a2940; font-size: 36px; gap: 26px;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.promo .chev {
width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: center;
}
.promo a { color: #0077cc; text-decoration: none; margin-left: 12px; font-weight: 600; }
/* App bar */
.appbar {
height: 140px; background: #c62828; color: #fff; display: flex; align-items: center;
padding: 0 32px; gap: 22px; position: relative;
}
.appbar .title {
font-size: 42px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
flex: 1;
}
.icon-btn {
width: 84px; height: 84px; border-radius: 16px; border: 2px solid rgba(255,255,255,0.85);
display: flex; align-items: center; justify-content: center;
background: transparent;
}
.back-btn {
width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
border: none; background: transparent;
}
.cart-badge {
position: absolute; right: 36px; top: 16px; background: #fff; color: #c62828; border-radius: 24px;
width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
/* Product hero */
.hero {
position: relative; background: #ffffff; padding: 40px 40px 30px;
}
.product-img {
width: 100%; height: 900px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px; border-radius: 18px;
}
.floating-actions {
position: absolute; right: 32px; top: 80px; display: flex; flex-direction: column; gap: 22px;
}
.circle-action {
width: 130px; height: 130px; border-radius: 50%; background: #ffffff; box-shadow: 0 8px 22px rgba(0,0,0,0.18);
display: flex; align-items: center; justify-content: center;
}
/* Carousel indicator */
.pager {
height: 110px; background: #efefef; display: flex; align-items: center; justify-content: center; gap: 16px;
}
.dot-red { width: 160px; height: 36px; background: #c84a4a; border-radius: 18px; }
.dot-gray { width: 36px; height: 36px; background: #cfcfcf; border-radius: 18px; }
/* Details */
.details {
padding: 40px 40px 20px; border-top: 1px solid #ddd;
}
.brand { color: #b89b4d; font-size: 36px; font-weight: 700; margin-bottom: 18px; }
.prod-title { font-size: 52px; font-weight: 800; line-height: 1.18; margin: 0 0 20px; }
.meta { color: #616161; font-size: 34px; margin-bottom: 22px; }
.ratings { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.reviews { color: #757575; font-size: 34px; }
.price-line { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.tax-note { color: #757575; font-size: 32px; margin-bottom: 20px; }
.stock {
display: inline-block; background: #4caf50; color: #fff; font-weight: 700; font-size: 34px;
padding: 16px 28px; border-radius: 10px;
}
.section-title {
margin-top: 36px; font-size: 40px; font-weight: 700; border-top: 1px solid #eee; padding-top: 26px;
}
/* Sticky View Bag */
.viewbag-wrap {
position: absolute; left: 0; right: 0; bottom: 160px; display: flex; justify-content: center; pointer-events: none;
}
.viewbag {
width: 960px; height: 120px; border-radius: 60px; background: #ffffff; border: 10px solid #c62828;
display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 44px; font-weight: 800; color: #212121;
box-shadow: 0 10px 18px rgba(198,40,40,0.25); pointer-events: auto;
}
/* Simple bottom gesture indicator */
.gesture {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 40px; width: 300px; height: 14px; background: #000; border-radius: 7px; opacity: 0.2;
}
/* Utility */
.svg-white path, .svg-white circle, .svg-white rect { stroke: #fff; fill: none; }
.svg-white-fill path, .svg-white-fill circle, .svg-white-fill rect { fill: #fff; }
.svg-red-stroke path { stroke: #c62828; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div>1:59</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-geo"></div>
<div class="status-battery"><div class="status-battery-fill"></div></div>
</div>
</div>
<!-- Promo banner -->
<div class="promo">
<div class="chev">
<svg width="28" height="28" viewBox="0 0 24 24"><path d="M15 6 L9 12 L15 18" stroke="#0a2940" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div>Use code NEW10 and get addn. 10% off on cart value Rs. 2099 and above!!</div>
<a href="#">SHOP NOW</a>
<div class="chev">
<svg width="28" height="28" viewBox="0 0 24 24"><path d="M9 6 L15 12 L9 18" stroke="#0a2940" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<button class="back-btn" aria-label="Back">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M15 6 L9 12 L15 18" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<div class="title">Marvel Captain America Toy On Bag Plush Accessories for Kids a...</div>
<div class="icon-btn" aria-label="Search">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="6" stroke="#fff" stroke-width="2" fill="none"/>
<path d="M20 20 L16 16" stroke="#fff" stroke-width="2" />
</svg>
</div>
<div class="icon-btn" aria-label="Wishlist">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 20 C10 18,4 14,4 9 C4 6.5,6 5,8 5 C9.5 5,11 6,12 7 C13 6,14.5 5,16 5 C18 5,20 6.5,20 9 C20 14,14 18,12 20 Z" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="icon-btn" aria-label="Cart">
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="6" y="8" width="12" height="10" rx="2" stroke="#fff" stroke-width="2" fill="none"/>
<path d="M8 8 C8 6,10 5,12 5 C14 5,16 6,16 8" stroke="#fff" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="cart-badge">1</div>
</div>
<!-- Product hero -->
<div class="hero">
<div class="floating-actions">
<div class="circle-action" aria-label="Share">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2.5" fill="#212121"/>
<circle cx="18" cy="6" r="2.5" fill="#212121"/>
<circle cx="18" cy="18" r="2.5" fill="#212121"/>
<path d="M8.5 11 L15.2 7.3" stroke="#212121" stroke-width="2"/>
<path d="M8.5 13 L15.2 16.7" stroke="#212121" stroke-width="2"/>
</svg>
</div>
<div class="circle-action" aria-label="Like">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="11" fill="#fff" stroke="#111" stroke-width="2"/>
<path d="M12 18 C10.5 16.7,6 14,6 9.5 C6 7.5,7.5 6.5,9 6.5 C10.2 6.5,11.3 7.2,12 8.1 C12.7 7.2,13.8 6.5,15 6.5 C16.5 6.5,18 7.5,18 9.5 C18 14,13.5 16.7,12 18 Z" fill="#000"/>
</svg>
</div>
</div>
<div class="product-img">[IMG: Captain America plush on bag]</div>
</div>
<!-- Pager -->
<div class="pager">
<div class="dot-red"></div>
<div class="dot-gray"></div>
<div class="dot-gray"></div>
</div>
<!-- Details -->
<div class="details">
<div class="brand">Disney</div>
<h1 class="prod-title">Marvel Captain America Toy On Bag Plush Accessories for Kids age 3Y+ - 25 Cm (Blue)</h1>
<div class="meta">3 to 5 Years | Unisex | 149</div>
<div class="ratings">
<div style="display:flex; gap:10px;">
<svg width="44" height="44" viewBox="0 0 24 24"><path d="M12 2 L15 8 L22 9 L17 14 L18 21 L12 18 L6 21 L7 14 L2 9 L9 8 Z" stroke="#888" stroke-width="2" fill="none"/></svg>
<svg width="44" height="44" viewBox="0 0 24 24"><path d="M12 2 L15 8 L22 9 L17 14 L18 21 L12 18 L6 21 L7 14 L2 9 L9 8 Z" stroke="#888" stroke-width="2" fill="none"/></svg>
<svg width="44" height="44" viewBox="0 0 24 24"><path d="M12 2 L15 8 L22 9 L17 14 L18 21 L12 18 L6 21 L7 14 L2 9 L9 8 Z" stroke="#888" stroke-width="2" fill="none"/></svg>
<svg width="44" height="44" viewBox="0 0 24 24"><path d="M12 2 L15 8 L22 9 L17 14 L18 21 L12 18 L6 21 L7 14 L2 9 L9 8 Z" stroke="#888" stroke-width="2" fill="none"/></svg>
<svg width="44" height="44" viewBox="0 0 24 24"><path d="M12 2 L15 8 L22 9 L17 14 L18 21 L12 18 L6 21 L7 14 L2 9 L9 8 Z" stroke="#888" stroke-width="2" fill="none"/></svg>
</div>
<div class="reviews">0 Reviews</div>
</div>
<div class="price-line">MRP ₹1499</div>
<div class="tax-note">Price inclusive of all taxes</div>
<div class="stock">In Stock</div>
<div class="section-title">Check Availability</div>
</div>
<!-- Sticky View Bag -->
<div class="viewbag-wrap">
<div class="viewbag">
<span>View Bag</span>
<svg width="52" height="52" viewBox="0 0 24 24">
<rect x="6" y="8" width="12" height="10" rx="2" stroke="#212121" stroke-width="2" fill="none"/>
<path d="M8 8 C8 6,10 5,12 5 C14 5,16 6,16 8" stroke="#212121" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>