AndroidCode / code /10044 /10044_7.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 - DMart Style</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #ffffff;
}
/* Top bars */
.status-bar {
height: 140px;
background: #0b7a3b;
color: #fff;
display: flex;
align-items: center;
padding: 0 40px;
font-weight: 600;
font-size: 38px;
letter-spacing: 1px;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 28px;
}
.app-bar {
height: 120px;
background: #fff;
display: flex;
align-items: center;
padding: 0 32px;
border-bottom: 1px solid #e6e6e6;
}
.app-bar .spacer { flex: 1; }
.icon-btn {
width: 92px;
height: 92px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.icon {
width: 56px;
height: 56px;
fill: #2f7d45;
}
.icon.gray { fill: #5f6368; }
.back {
width: 72px;
height: 72px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 8px;
}
/* Product image placeholder */
.image-area {
padding: 24px 40px 0;
}
.img-ph {
width: 100%;
height: 520px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 40px;
letter-spacing: 0.2px;
}
.dots {
display: flex;
gap: 18px;
padding: 24px 0 8px 0;
justify-content: center;
align-items: center;
}
.dot {
width: 16px;
height: 16px;
background: #d0d0d0;
border-radius: 50%;
}
.dot.active { background: #2f7d45; }
/* Offer and price */
.price-offer {
display: flex;
padding: 24px 40px;
align-items: flex-start;
}
.offer {
display: flex;
align-items: center;
gap: 18px;
color: #ff8a00;
font-size: 44px;
font-weight: 700;
}
.offer .badge {
width: 48px;
height: 48px;
}
.price-side {
margin-left: auto;
text-align: right;
}
.price-side .brand-price {
font-size: 48px;
color: #2f7d45;
font-weight: 800;
}
.price-side .mrp {
color: #9E9E9E;
font-size: 34px;
text-decoration: line-through;
margin-top: 8px;
}
.price-side .tax {
color: #9E9E9E;
font-size: 30px;
margin-top: 10px;
}
/* Variant */
.section {
padding: 24px 40px;
}
.section-title {
font-size: 44px;
font-weight: 800;
margin-bottom: 22px;
}
.variant-btn {
width: 260px;
height: 110px;
border: 4px solid #2f7d45;
color: #2f7d45;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
font-weight: 700;
}
.per-unit {
color: #9E9E9E;
font-size: 32px;
margin-top: 16px;
}
/* Tabs */
.tabs {
display: flex;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
margin-top: 28px;
}
.tab {
padding: 32px 40px;
font-size: 42px;
font-weight: 800;
color: #424242;
position: relative;
}
.tab.active {
color: #2f7d45;
}
.tab.active::after {
content: "";
position: absolute;
left: 40px;
right: 40px;
bottom: -2px;
height: 8px;
background: #2f7d45;
border-radius: 8px;
}
/* Description content */
.content {
padding: 32px 40px 280px;
line-height: 1.6;
}
.h3 {
font-size: 44px;
font-weight: 800;
margin: 26px 0 8px;
}
.p {
font-size: 38px;
color: #333;
margin: 4px 0 12px;
}
/* Bottom add-to-cart bar */
.bottom-bar {
position: absolute;
left: 0;
right: 0;
bottom: 90px;
height: 170px;
background: #ffffff;
border-top: 1px solid #e6e6e6;
display: flex;
align-items: center;
justify-content: center;
padding: 0 32px;
}
.cta {
width: 100%;
height: 120px;
background: #2f7d45;
color: #fff;
border: none;
border-radius: 10px;
font-size: 44px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
letter-spacing: 1px;
}
.cta .cart {
width: 56px;
height: 56px;
fill: #ffffff;
}
/* Gesture pill */
.gesture {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 24px;
width: 260px;
height: 14px;
background: #cfcfcf;
border-radius: 14px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
10:13
<div class="status-right">
<!-- tiny placeholders for status icons -->
<svg width="42" height="42" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="rgba(255,255,255,0.85)"/></svg>
<svg width="42" height="42" viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="12" rx="2" fill="rgba(255,255,255,0.85)"/></svg>
<svg width="42" height="42" viewBox="0 0 24 24"><path d="M3 18h18v2H3zM5 14h14v2H5zM7 10h10v2H7zM9 6h6v2H9z" fill="rgba(255,255,255,0.85)"/></svg>
<svg width="42" height="42" viewBox="0 0 24 24"><path d="M18 7V3H6v4H3v14h18V7h-3zM8 5h8v2H8V5z" fill="rgba(255,255,255,0.85)"/></svg>
<svg width="42" height="42" viewBox="0 0 24 24"><path d="M3 12l18-9-9 18-2-7z" fill="rgba(255,255,255,0.85)"/></svg>
<svg width="42" height="42" viewBox="0 0 24 24"><path d="M18 7h-2V5a4 4 0 10-8 0v2H6a2 2 0 00-2 2v9a2 2 0 002 2h12a2 2 0 002-2V9a2 2 0 00-2-2zm-8-2a2 2 0 114 0v2h-4V5z" fill="rgba(255,255,255,0.85)"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back">
<svg class="icon gray" viewBox="0 0 24 24"><path d="M15.5 5l-7 7 7 7" stroke="#5f6368" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="spacer"></div>
<div class="icon-btn">
<svg class="icon" viewBox="0 0 24 24"><path d="M21 21l-4.3-4.3M10.5 18a7.5 7.5 0 110-15 7.5 7.5 0 010 15z"/></svg>
</div>
<div class="icon-btn">
<svg class="icon" viewBox="0 0 24 24"><path d="M7 7h14l-2 10H7L5 3H2" stroke="#2f7d45" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9" cy="21" r="1.6" fill="#2f7d45"/><circle cx="17" cy="21" r="1.6" fill="#2f7d45"/></svg>
</div>
<div class="icon-btn">
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 20a8 8 0 0116 0" /></svg>
</div>
</div>
<!-- Product hero image -->
<div class="image-area">
<div class="img-ph">[IMG: Toblerone Milk Chocolate]</div>
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<!-- Offer and price -->
<div class="price-offer">
<div class="offer">
<svg class="badge" viewBox="0 0 24 24">
<path d="M12 2l2.1 3.9L18 7l-3 3 .7 4-3.7-2-3.7 2 .7-4-3-3 3.9-1.1L12 2z" fill="#ff8a00"/>
</svg>
₹ 30.00 OFF
</div>
<div class="price-side">
<div class="brand-price">DMart ₹ 245.00</div>
<div class="mrp">MRP ₹ 275.00</div>
<div class="tax">(MRP inclusive of all taxes)</div>
</div>
</div>
<!-- Variant -->
<div class="section">
<div class="section-title">Variant</div>
<div class="variant-btn">100 gm</div>
<div class="per-unit">(₹ 2.45 / 1 gm)</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">Description</div>
<div class="tab">Disclaimer</div>
<div class="tab">Country Of Origin</div>
</div>
<!-- Content -->
<div class="content">
<div class="h3">Overview</div>
<div class="p">
Toblerone Milk Chocolate is a classic Toblerone milk chocolate in the distinctive beige packaging is a combination of the finest Swiss milk chocolate with honey and almond nougat. Toblerone milk chocolate is available as a plate, mini, bundle and bar. This iconic triangular chocolate from Switzerland. It is an ideal treat for sharing and snacking while travelling or at home.
</div>
<div class="h3">Ingredients</div>
<div class="p">
Sugar, Whole Milk Powder, Cocoa Butter, Cocoa Mass, Honey, Milk Fat, Almonds, Emulsifier (Soya Lecithin), Egg White, Flavouring (Vanillin), Milk Chocolate, and Milk Solids.
</div>
<div class="h3">Disclaimer</div>
<div class="p">
- Allergen advice: Contains milk, tree nuts (almonds), soy and egg
</div>
</div>
<!-- Bottom Add to Cart -->
<div class="bottom-bar">
<button class="cta">
<svg class="cart" viewBox="0 0 24 24"><path d="M7 7h14l-2 10H7L5 3H2" stroke="#fff" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9" cy="21" r="1.6" fill="#fff"/><circle cx="17" cy="21" r="1.6" fill="#fff"/></svg>
ADD TO CART
</button>
</div>
<div class="gesture"></div>
</div>
</body>
</html>