AndroidCode / code /10198 /10198_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
7.63 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Product Detail UI</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;
border-radius: 0;
box-shadow: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-weight: 600;
letter-spacing: 0.2px;
}
.status-left { font-size: 44px; }
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.status-icon svg { width: 48px; height: 48px; fill: #fff; }
/* Image area */
.image-area {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 1280px;
background: #fff;
}
.product-photo {
position: absolute;
left: 0;
top: 0;
width: 1080px;
height: 1280px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 40px;
text-align: center;
padding: 0 40px;
box-sizing: border-box;
}
/* Top overlay controls */
.top-controls {
position: absolute;
top: 140px; /* just below status bar */
left: 0;
width: 100%;
padding: 0 30px;
display: flex;
justify-content: space-between;
align-items: center;
pointer-events: none;
}
.icon-btn {
width: 96px;
height: 96px;
border-radius: 48px;
display: flex;
justify-content: center;
align-items: center;
pointer-events: auto;
}
.back-btn svg, .share-btn svg { width: 56px; height: 56px; fill: #333; }
/* Carousel dots */
.carousel-dots {
position: absolute;
bottom: 70px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 24px;
align-items: center;
}
.dot {
width: 28px;
height: 28px;
border-radius: 50%;
background: #CFCFCF;
opacity: 0.8;
}
.dot.active {
width: 36px;
height: 36px;
border: 4px solid #000;
background: #fff;
box-sizing: border-box;
}
/* Dark details panel */
.details {
position: absolute;
left: 0;
top: 1400px;
width: 1080px;
height: 1000px;
background: #141414;
color: #fff;
box-sizing: border-box;
padding: 60px 54px 40px 54px;
}
.likes-pill {
position: absolute;
right: 54px;
top: -60px;
background: #2A2A2A;
color: #fff;
border-radius: 60px;
padding: 22px 34px;
font-size: 44px;
display: flex;
align-items: center;
gap: 22px;
box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
.likes-pill svg { width: 44px; height: 44px; fill: #fff; }
.section-title {
font-size: 40px;
letter-spacing: 1px;
color: #BFBFBF;
margin-bottom: 24px;
}
.colour-value {
font-size: 44px;
color: #EAEAEA;
}
.thumbs {
display: flex;
gap: 30px;
margin-top: 34px;
margin-bottom: 50px;
}
.thumb {
width: 210px;
height: 270px;
background: #E0E0E0;
border: 2px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 32px;
}
.thumb.selected {
border: 6px solid #D0A36A;
}
.product-name {
font-size: 56px;
line-height: 72px;
margin-top: 12px;
margin-bottom: 24px;
color: #FFFFFF;
}
.price {
font-size: 56px;
font-weight: 700;
margin-bottom: 44px;
}
.size-row {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid #2A2A2A;
border-bottom: 1px solid #2A2A2A;
padding: 34px 8px;
margin-bottom: 40px;
}
.size-row .label {
font-size: 44px;
color: #EDEDED;
letter-spacing: 1px;
}
.chev svg { width: 40px; height: 40px; fill: #CFCFCF; }
.add-btn {
width: 972px;
height: 120px;
background: #2FA24B;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 50px;
font-weight: 700;
color: #ffffff;
margin: 0 auto;
}
.floating-fav {
position: absolute;
right: 42px;
bottom: 46px;
width: 120px;
height: 120px;
border-radius: 60px;
background: #2A2A2A;
display: flex;
justify-content: center;
align-items: center;
}
.floating-fav svg { width: 54px; height: 54px; fill: #fff; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">7:47</div>
<div class="status-right">
<div class="status-icon">
<!-- WiFi icon -->
<svg viewBox="0 0 24 24">
<path d="M12 18l-2 2 2 2 2-2-2-2zm-6-6l2 2a6 6 0 0 1 8 0l2-2a8 8 0 0 0-12 0zm-4-4l2 2a12 12 0 0 1 16 0l2-2a14 14 0 0 0-20 0z"/>
</svg>
</div>
<div class="status-icon">
<!-- Cellular icon -->
<svg viewBox="0 0 24 24">
<path d="M3 20h2V10H3v10zm4 0h2V6H7v14zm4 0h2V3h-2v17zm4 0h2V13h-2v7zm4 0h2V8h-2v12z"/>
</svg>
</div>
<div class="status-icon">
<!-- Battery icon -->
<svg viewBox="0 0 24 24">
<path d="M20 7h2v10h-2V7zm-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 12H4V7h14v10z"/>
</svg>
</div>
</div>
</div>
<!-- Product image and overlays -->
<div class="image-area">
<div class="product-photo">[IMG: Brown formal derby shoes on model with trousers]</div>
<!-- Top overlay controls -->
<div class="top-controls">
<div class="icon-btn back-btn">
<svg viewBox="0 0 24 24">
<path d="M15 19l-7-7 7-7v14z"/>
</svg>
</div>
<div class="icon-btn share-btn">
<!-- Simple share icon -->
<svg viewBox="0 0 24 24">
<path d="M18 16a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm-12-6a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm12-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM7.6 11.5l8.8 4.4M16.4 8.1L7.6 12.5" stroke="#333" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<!-- Carousel dots -->
<div class="carousel-dots">
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<!-- Likes pill -->
<div class="likes-pill" style="top: 1320px;">
<span>57</span>
<svg viewBox="0 0 24 24">
<path d="M12 21s-6.7-4.6-9.3-7.3A6 6 0 0 1 12 5a6 6 0 0 1 9.3 8.7C18.7 16.4 12 21 12 21z"/>
</svg>
</div>
<!-- Details panel -->
<div class="details">
<div class="section-title">COLOUR: <span class="colour-value">Mid Brown</span></div>
<div class="thumbs">
<div class="thumb">[IMG: Black shoe]</div>
<div class="thumb selected">[IMG: Brown shoe]</div>
</div>
<div class="product-name">New Look plain formal derby in brown</div>
<div class="price">£29.99</div>
<div class="size-row">
<div class="label">SIZE</div>
<div class="chev">
<svg viewBox="0 0 24 24">
<path d="M7 10l5 5 5-5H7z"/>
</svg>
</div>
</div>
<div class="add-btn">ADD TO BAG</div>
<div class="floating-fav">
<svg viewBox="0 0 24 24">
<path d="M12 21s-6.7-4.6-9.3-7.3A6 6 0 0 1 12 5a6 6 0 0 1 9.3 8.7C18.7 16.4 12 21 12 21z"/>
</svg>
</div>
</div>
</div>
</body>
</html>