AndroidCode / code /10044 /10044_5.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>Toblerone milk chocolate - Listing</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;
color: #222;
}
/* Header (status + app bar) */
.header {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 240px;
background: #0a7a3b;
color: #fff;
}
.status {
height: 98px;
display: flex;
align-items: center;
padding: 0 36px;
font-weight: 600;
font-size: 36px;
}
.status .spacer { flex: 1; }
.status .icon-dot { width: 12px; height: 12px; background: #fff; border-radius: 50%; margin: 0 18px; opacity: 0.8; }
.status .wifi, .status .battery {
width: 48px; height: 30px; margin-left: 22px;
}
.status .wifi svg, .status .battery svg { width: 100%; height: 100%; }
.appbar {
height: 142px;
display: flex;
align-items: center;
padding: 0 32px;
}
.appbar .title {
font-size: 46px;
font-weight: 700;
margin-left: 22px;
}
.appbar .actions { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.icon-btn { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 5; }
/* Search results bar */
.subbar {
position: absolute;
top: 240px;
left: 0;
width: 1080px;
height: 120px;
background: #efefef;
display: flex;
align-items: center;
padding: 0 32px;
font-size: 38px;
color: #777;
box-sizing: border-box;
}
.subbar .more { margin-left: auto; color: #9a9a9a; }
/* List area */
.list {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: calc(2400px - 360px);
overflow: hidden;
box-sizing: border-box;
}
.item {
padding: 30px 32px 24px 32px;
box-sizing: border-box;
border-bottom: 1px solid #eee;
}
.row {
display: flex;
gap: 26px;
}
.left-col { width: 420px; }
.mark {
width: 48px;
height: 48px;
border: 3px solid #ff3b30;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 26px;
}
.mark .dot {
width: 20px; height: 20px; background: #ff3b30; border-radius: 50%;
}
.product-img {
width: 420px;
height: 140px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
}
.right-col { flex: 1; }
.title-txt {
font-size: 44px;
font-weight: 700;
line-height: 1.3;
margin: 8px 0 18px 0;
}
.qty-box {
width: 520px;
height: 92px;
border: 2px solid #d7d7d7;
border-radius: 12px;
display: flex;
align-items: center;
padding: 0 22px;
font-size: 36px;
color: #666;
box-sizing: border-box;
background: #fff;
}
.price-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-top: 22px;
}
.price-info {
display: flex;
flex-direction: column;
gap: 6px;
}
.dmart-price {
font-size: 46px;
font-weight: 700;
color: #0a7a3b;
}
.mrp {
font-size: 34px;
color: #9a9a9a;
text-decoration: line-through;
}
.tax {
font-size: 28px;
color: #9a9a9a;
}
.off-pill {
width: 210px;
height: 118px;
border: 4px solid #ff9c3b;
color: #ff8a1c;
border-radius: 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #fff;
font-weight: 700;
}
.off-pill .amt { font-size: 42px; }
.off-pill .lbl { font-size: 30px; font-weight: 700; }
.add-btn {
margin-top: 22px;
width: 560px;
height: 120px;
background: #1ca245;
color: #fff;
font-size: 44px;
font-weight: 800;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
}
.add-btn svg { width: 54px; height: 54px; fill: none; stroke: #fff; stroke-width: 5; }
.out-stock {
margin-top: 20px;
width: 360px;
height: 110px;
border-radius: 60px;
border: 4px solid #ff3b30;
color: #ff3b30;
display: flex;
align-items: center;
justify-content: center;
font-size: 38px;
font-weight: 800;
background: #fff;
}
.add-btn.disabled {
background: #d0d0d0;
color: #888;
}
/* bottom home indicator */
.home-indicator {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 420px;
height: 14px;
border-radius: 10px;
background: #000;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<div class="header">
<div class="status">
<div>10:11</div>
<div class="icon-dot"></div>
<div class="spacer"></div>
<div class="wifi">
<svg viewBox="0 0 64 40">
<path d="M4 14c8-8 48-8 56 0" stroke="#fff" fill="none" stroke-width="4" />
<path d="M12 22c6-6 34-6 40 0" stroke="#fff" fill="none" stroke-width="4" />
<circle cx="32" cy="30" r="3" fill="#fff" />
</svg>
</div>
<div class="battery">
<svg viewBox="0 0 64 32">
<rect x="4" y="6" width="48" height="20" rx="4" stroke="#fff" fill="none" stroke-width="4"/>
<rect x="8" y="10" width="36" height="12" fill="#fff"/>
<rect x="54" y="12" width="6" height="8" rx="2" fill="#fff"/>
</svg>
</div>
</div>
<div class="appbar">
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<path d="M30 8 L14 24 L30 40" />
</svg>
</div>
<div class="title">Toblerone milk chocolate</div>
<div class="actions">
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<circle cx="20" cy="20" r="12" />
<path d="M32 32 L44 44" />
</svg>
</div>
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<path d="M6 10h6l4 22h20l4-16H16" />
<circle cx="20" cy="40" r="3" />
<circle cx="34" cy="40" r="3" />
</svg>
</div>
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<circle cx="24" cy="16" r="10" />
<path d="M8 44c4-10 28-10 32 0" />
</svg>
</div>
</div>
</div>
</div>
<div class="subbar">
<div>Search results</div>
<div class="more">209 &amp; more</div>
</div>
<div class="list">
<!-- Item 1 -->
<div class="item">
<div class="row">
<div class="left-col">
<div class="mark"><div class="dot"></div></div>
<div class="product-img">[IMG: Toblerone Bar - Milk]</div>
</div>
<div class="right-col">
<div class="title-txt">Toblerone Milk Chocolate : 100 gms</div>
<div class="qty-box">100 gm (₹ 2.45 / 1 gm)</div>
<div class="price-row">
<div class="price-info">
<div class="dmart-price">DMart ₹245</div>
<div class="mrp">MRP ₹275</div>
<div class="tax">Incl. of all taxes</div>
</div>
<div class="off-pill">
<div class="amt">₹30</div>
<div class="lbl">OFF</div>
</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 48 48">
<path d="M6 10h6l4 22h20l4-16H16" />
<circle cx="20" cy="40" r="3" />
<circle cx="34" cy="40" r="3" />
</svg>
ADD
</div>
</div>
</div>
</div>
<!-- Item 2 -->
<div class="item">
<div class="row">
<div class="left-col">
<div class="mark"><div class="dot"></div></div>
<div class="product-img">[IMG: Toblerone Bar - White]</div>
</div>
<div class="right-col">
<div class="title-txt">Toblerone White Chocolate : 100 gms</div>
<div class="qty-box">100 gm (₹ 2.49 / 1 gm)</div>
<div class="price-row">
<div class="price-info">
<div class="dmart-price">DMart ₹249</div>
<div class="mrp">MRP ₹275</div>
<div class="tax">Incl. of all taxes</div>
</div>
<div class="off-pill">
<div class="amt">₹26</div>
<div class="lbl">OFF</div>
</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 48 48">
<path d="M6 10h6l4 22h20l4-16H16" />
<circle cx="20" cy="40" r="3" />
<circle cx="34" cy="40" r="3" />
</svg>
ADD
</div>
</div>
</div>
</div>
<!-- Item 3 -->
<div class="item">
<div class="row">
<div class="left-col">
<div class="mark"><div class="dot"></div></div>
<div class="product-img">[IMG: Toblerone Bar - Fruit &amp; Nut]</div>
</div>
<div class="right-col">
<div class="title-txt">Toblerone Fruit &amp; Nut Chocolate : 100 gms</div>
<div class="qty-box">100 gm (₹ 2.45 / 1 gm)</div>
<div class="price-row">
<div class="price-info">
<div class="dmart-price">DMart ₹245</div>
<div class="mrp">MRP ₹275</div>
<div class="tax">Incl. of all taxes</div>
</div>
<div class="off-pill">
<div class="amt">₹30</div>
<div class="lbl">OFF</div>
</div>
</div>
<div class="add-btn">
<svg viewBox="0 0 48 48">
<path d="M6 10h6l4 22h20l4-16H16" />
<circle cx="20" cy="40" r="3" />
<circle cx="34" cy="40" r="3" />
</svg>
ADD
</div>
</div>
</div>
</div>
<!-- Item 4 -->
<div class="item">
<div class="row">
<div class="left-col">
<div class="mark"><div class="dot"></div></div>
<div class="product-img">[IMG: Toblerone Bar - Crunchy Almonds]</div>
</div>
<div class="right-col">
<div class="title-txt">Toblerone Crunchy Almonds Chocolate : 100 gms</div>
<div class="qty-box">100 gm (₹ 1.85 / 1 gm)</div>
<div class="price-row">
<div class="price-info">
<div class="dmart-price">DMart ₹185</div>
<div class="mrp">MRP ₹225</div>
<div class="tax">Incl. of all taxes</div>
</div>
<div class="off-pill">
<div class="amt">₹40</div>
<div class="lbl">OFF</div>
</div>
</div>
<div style="display:flex; gap:24px; align-items:center; margin-top:22px;">
<div class="out-stock">Out Of Stock</div>
<div class="add-btn disabled">
<svg viewBox="0 0 48 48">
<path d="M6 10h6l4 22h20l4-16H16" />
<circle cx="20" cy="40" r="3" />
<circle cx="34" cy="40" r="3" />
</svg>
ADD
</div>
</div>
</div>
</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>