AndroidCode / code /10198 /10198_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
7.73 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Page - Derby Shoes</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: #0f0f10; color: #f3f3f3;
}
/* Global helpers */
.row { display: flex; align-items: center; }
.space { height: 24px; }
.label { color: #bdbdbd; font-size: 34px; letter-spacing: 1px; }
.text { font-size: 40px; }
.title { font-size: 56px; line-height: 1.25; font-weight: 600; margin-top: 20px; }
.price { font-size: 56px; font-weight: 700; margin: 24px 0; }
.divider { height: 1px; background: #252527; margin: 0 -40px; }
/* Status bar */
.status-bar {
height: 120px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
color: #ffffff; font-weight: 600; font-size: 42px;
}
.status-icons { display: flex; align-items: center; gap: 24px; }
.icon-rect { width: 34px; height: 34px; border: 2px solid #eaeaea; border-radius: 6px; opacity: 0.85; }
.battery { width: 70px; height: 32px; border: 2px solid #eaeaea; border-radius: 6px; position: relative; }
.battery::after { content: ""; position: absolute; right: -10px; top: 8px; width: 8px; height: 16px; background: #eaeaea; border-radius: 2px; }
.battery-fill { position: absolute; left: 3px; top: 4px; height: 24px; width: 48px; background: #7fd772; border-radius: 4px; }
.percent { font-size: 34px; margin-left: 8px; }
/* Page content */
.page {
padding: 24px 40px 36px 40px;
}
/* Colour selector */
.colour-line { margin-top: 12px; font-size: 36px; }
.chip { color: #cfcfcf; }
.thumbs { display: flex; gap: 28px; margin-top: 24px; }
.thumb {
width: 220px; height: 220px; background: #e0e0e0;
border: 1px solid #bdbdbd; display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 28px; border-radius: 8px;
}
.thumb.active { outline: 6px solid #cfcfcf; }
/* Size dropdown */
.dropdown {
margin-top: 30px; background: #141416; border: 1px solid #2a2a2d;
border-radius: 10px; height: 110px; padding: 0 28px;
display: flex; align-items: center; justify-content: space-between;
font-size: 42px;
}
.chev {
width: 26px; height: 26px; border-right: 4px solid #cfcfcf; border-bottom: 4px solid #cfcfcf; transform: rotate(-45deg);
margin-right: 10px;
}
/* Add to bag */
.cta-row { display: flex; align-items: center; gap: 26px; margin-top: 26px; }
.cta { flex: 1; height: 120px; background: #2f8e44; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700; letter-spacing: 1px; }
.fav {
width: 120px; height: 120px; border-radius: 60px; background: #1b1c1f; border: 1px solid #2a2a2d;
display: flex; align-items: center; justify-content: center;
}
.fav svg { width: 50px; height: 50px; fill: none; stroke: #f1f1f1; stroke-width: 6; }
/* Free delivery card */
.card {
margin-top: 28px; border: 1px solid #2a2a2d; border-radius: 12px; padding: 26px 28px; background: #121214;
}
.truck { width: 60px; height: 40px; margin-right: 18px; }
.policy { margin-top: 18px; color: #cfcfcf; font-size: 38px; }
.policy span { color: #ffffff; font-weight: 600; }
/* Accordion */
.accordion { margin-top: 34px; border-top: 1px solid #222; }
.acc-row {
height: 120px; display: flex; align-items: center; justify-content: space-between;
border-bottom: 1px solid #222; font-size: 48px; padding: 0 4px;
}
.plus {
width: 48px; height: 48px; position: relative;
}
.plus::before, .plus::after {
content: ""; position: absolute; background: #eaeaea;
}
.plus::before { width: 48px; height: 6px; top: 21px; left: 0; }
.plus::after { width: 6px; height: 48px; top: 0; left: 21px; }
/* Recommendation section */
.recommend { margin-top: 26px; }
.recommend .head { display: flex; align-items: baseline; justify-content: space-between; }
.recommend .head .left { font-size: 46px; font-weight: 700; }
.recommend .head .right { font-size: 36px; color: #cfcfcf; }
.carousel { margin-top: 18px; display: flex; gap: 24px; }
.card-item { width: 420px; height: 520px; border-radius: 12px; background: #e0e0e0; border: 1px solid #bdbdbd; display: flex; align-items: center; justify-content: center; color: #757575; font-size: 32px; overflow: hidden; }
/* Bottom gesture bar */
.gesture {
position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
width: 640px; height: 12px; background: #d9d9d9; border-radius: 8px; opacity: 0.6;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="row" style="gap:14px;">
<div style="font-size:42px;">7:49</div>
<div class="icon-rect"></div>
<div class="icon-rect"></div>
<div class="icon-rect"></div>
<div class="icon-rect"></div>
</div>
<div class="status-icons">
<div class="battery"><div class="battery-fill"></div></div>
<div class="percent">72%</div>
</div>
</div>
<!-- Content -->
<div class="page">
<div class="colour-line">
<span class="chip">COLOUR:</span>
<span class="text" style="margin-left: 14px;">Mid Brown</span>
</div>
<div class="thumbs">
<div class="thumb">[IMG: Black formal shoe]</div>
<div class="thumb active">[IMG: Brown derby on legs]</div>
</div>
<div class="title">New Look plain formal derby in brown</div>
<div class="price">£29.99</div>
<div class="dropdown">
<div>SIZE</div>
<div class="row">
<div class="chev"></div>
</div>
</div>
<div class="cta-row">
<div class="cta">ADD TO BAG</div>
<div class="fav">
<svg viewBox="0 0 24 24">
<path d="M12 21s-6-4.35-8.5-7.05C1.5 12.1 2.2 9.2 4.6 8c2.1-1.1 4.1-.4 5.4 1.1 1.3-1.5 3.3-2.2 5.4-1.1 2.4 1.2 3.1 4.1 1.1 5.95C18 16.65 12 21 12 21z"/>
</svg>
</div>
</div>
<div class="card">
<div class="row">
<svg class="truck" viewBox="0 0 64 40">
<rect x="2" y="10" width="34" height="18" fill="none" stroke="#eaeaea" stroke-width="3"></rect>
<rect x="38" y="16" width="18" height="12" fill="none" stroke="#eaeaea" stroke-width="3"></rect>
<circle cx="14" cy="32" r="4" fill="#eaeaea"></circle>
<circle cx="48" cy="32" r="4" fill="#eaeaea"></circle>
</svg>
<div class="text" style="font-size: 42px;">Free Delivery</div>
</div>
<div class="policy">View our <span>Delivery & Returns Policy</span></div>
</div>
<div class="accordion">
<div class="acc-row">
<div>Product details</div>
<div class="plus"></div>
</div>
<div class="acc-row">
<div>Brand</div>
<div class="plus"></div>
</div>
<div class="acc-row">
<div>Look after me</div>
<div class="plus"></div>
</div>
<div class="acc-row">
<div>About me</div>
<div class="plus"></div>
</div>
</div>
<div class="recommend">
<div class="head">
<div class="left">YOU MIGHT ALSO LIKE</div>
<div class="right">16 items</div>
</div>
<div class="carousel">
<div class="card-item">[IMG: Casual outfit close-up]</div>
<div class="card-item">[IMG: Black trousers product]</div>
<div class="card-item">[IMG: More recommendations]</div>
</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>