AndroidCode / code /10044 /10044_6.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 - Toblerone</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: #ffffff;
}
.status-bar {
height: 120px; background: #167A3A; color: #fff; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
font-weight: 600; letter-spacing: 0.3px;
}
.status-left { display: flex; align-items: center; gap: 24px; }
.status-right { display: flex; align-items: center; gap: 22px; }
.sb-icon { width: 36px; height: 36px; opacity: 0.95; }
.appbar {
height: 140px; background: #ffffff; display: flex; align-items: center;
justify-content: space-between; padding: 0 36px; box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}
.back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.right-actions { display: flex; gap: 26px; }
.circle-icon {
width: 88px; height: 88px; border-radius: 50%; border: 1px solid #e3e3e3;
display: flex; align-items: center; justify-content: center;
}
.content { padding: 0 48px; }
.brand-row { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.brand-row .line { width: 4px; height: 40px; background: #5598ff; border-radius: 2px; }
.brand-row a { color: #2a79ff; font-size: 38px; text-decoration: none; }
.title { font-size: 52px; font-weight: 700; color: #333; margin: 24px 0 18px 0; }
.veg-symbol { width: 48px; height: 48px; border: 4px solid #e23b3b; display: flex; align-items: center; justify-content: center; margin: 12px 0 12px 6px; }
.veg-symbol .dot { width: 22px; height: 22px; background: #e23b3b; border-radius: 50%; }
.img-wrap { display: flex; justify-content: center; margin-top: 36px; }
.img-placeholder {
width: 800px; height: 190px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 32px;
}
.dots { display: flex; justify-content: center; gap: 20px; margin: 40px 0 20px 0; }
.dot { width: 20px; height: 20px; border-radius: 50%; background: #d2d2d2; }
.dot.active { background: #2ea24f; }
.price-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; margin-top: 24px; }
.offer { display: flex; align-items: center; gap: 18px; color: #ff8a00; font-size: 42px; font-weight: 700; }
.offer-note { color: #999; font-size: 28px; margin-top: 8px; }
.price-right { text-align: left; }
.price-right .dmart { color: #1f9d47; font-size: 48px; font-weight: 700; }
.price-right .mrp { color: #9b9b9b; font-size: 38px; text-decoration: line-through; margin-top: 10px; }
.price-right .tax { color: #9b9b9b; font-size: 28px; margin-top: 16px; }
.variant { margin-top: 54px; }
.variant h3 { font-size: 44px; color: #333; margin: 0 0 24px 0; }
.variant .btn {
width: 320px; height: 110px; border: 2px solid #1f9d47; border-radius: 16px;
display: flex; align-items: center; justify-content: center; color: #1f9d47; font-size: 40px; font-weight: 700;
}
.variant .unit-price { color: #9b9b9b; font-size: 30px; margin-top: 16px; }
.divider { height: 2px; background: #e6e6e6; margin: 40px 0; }
.tabs { display: flex; gap: 36px; padding: 0 4px; }
.tab { font-size: 40px; color: #777; padding-bottom: 18px; }
.tab.active { color: #1f9d47; border-bottom: 6px solid #1f9d47; }
.section { margin-top: 32px; }
.section h4 { font-size: 42px; color: #222; margin: 0 0 16px 0; }
.section p { font-size: 32px; color: #555; line-height: 1.6; }
.add-to-cart {
position: absolute; left: 24px; right: 24px; bottom: 120px;
height: 136px; background: #1f9d47; border-radius: 8px;
display: flex; align-items: center; justify-content: center; gap: 24px;
color: #fff; font-size: 44px; font-weight: 700;
}
.gesture { position: absolute; left: 50%; transform: translateX(-50%); bottom: 36px; width: 240px; height: 18px; background: #cfcfcf; border-radius: 10px; }
/* Utility */
.muted { color: #9b9b9b; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-size: 42px;">10:12</div>
<!-- simple placeholders mimicking status icons -->
<svg class="sb-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><circle cx="12" cy="12" r="9"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24" fill="#fff"><rect x="3" y="8" width="18" height="8" rx="2"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M3 12h18M12 3v18"/></svg>
</div>
<div class="status-right">
<svg class="sb-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M2 9l10-7 10 7v7a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3z"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"><path d="M3 6h18"/><path d="M12 6v14"/><path d="M6 20h12"/></svg>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="back-btn">
<svg width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"/>
</svg>
</div>
<div class="right-actions">
<div class="circle-icon">
<svg width="46" height="46" viewBox="0 0 24 24" fill="none" stroke="#1f9d47" stroke-width="2">
<circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/>
</svg>
</div>
<div class="circle-icon">
<svg width="46" height="46" viewBox="0 0 24 24" fill="none" stroke="#1f9d47" stroke-width="2">
<path d="M6 6h15l-2 8H7z"/><circle cx="9" cy="19" r="1.5"/><circle cx="17" cy="19" r="1.5"/>
</svg>
</div>
<div class="circle-icon">
<svg width="46" height="46" viewBox="0 0 24 24" fill="none" stroke="#1f9d47" stroke-width="2">
<circle cx="12" cy="8" r="4"/><path d="M4 20c1.5-4 6-6 8-6s6.5 2 8 6"/>
</svg>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="brand-row">
<div class="line"></div>
<a href="#">Toblerone</a>
</div>
<div class="title">Toblerone Milk Chocolate : 100 gms</div>
<div class="veg-symbol"><div class="dot"></div></div>
<div class="img-wrap">
<div class="img-placeholder">[IMG: Toblerone chocolate pack]</div>
</div>
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
<div class="price-section">
<div>
<div class="offer">
<svg width="48" height="48" viewBox="0 0 24 24" fill="#ff8a00">
<path d="M12 2l2.2 4.5 5 .7-3.6 3.5.9 5.1L12 14.8 6.5 16.8l.9-5.1L3.8 7.2l5-.7L12 2z"/>
</svg>
₹ 30.00 OFF
</div>
</div>
<div class="price-right">
<div class="dmart">DMart ₹ 245.00</div>
<div class="mrp">MRP ₹ 275.00</div>
<div class="tax">(MRP inclusive of all taxes)</div>
</div>
</div>
<div class="variant">
<h3>Variant</h3>
<div class="btn">100 gm</div>
<div class="unit-price">(₹ 2.45 / 1 gm)</div>
</div>
<div class="divider"></div>
<div class="tabs">
<div class="tab active">Description</div>
<div class="tab">Disclaimer</div>
<div class="tab">Country Of Origin</div>
</div>
<div class="section">
<h4>Overview</h4>
<p>
Toblerone Milk Chocolate is a classic Toblerone milk chocolate in the distinctive beige packaging.
Enjoy the unique honey and almond nougat blend in triangular pieces perfect for sharing or treating yourself.
</p>
</div>
</div>
<!-- Add to cart bar -->
<div class="add-to-cart">
<svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M6 6h15l-2 8H7z"/><circle cx="9" cy="19" r="1.5"/><circle cx="17" cy="19" r="1.5"/>
</svg>
ADD TO CART
</div>
<div class="gesture"></div>
</div>
</body>
</html>