AndroidCode / code /10165 /10165_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
11.4 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Page Mock</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: #1c2430;
}
/* Status bar */
.status-bar {
height: 90px;
background: #2f2f31;
color: #fff;
display: flex;
align-items: center;
padding: 0 40px;
font-weight: 600;
font-size: 38px;
letter-spacing: 1px;
}
.status-icons {
margin-left: auto;
display: flex;
align-items: center;
gap: 28px;
}
.status-dot {
width: 12px; height: 12px; background: #fff; border-radius: 50%;
}
/* Top nav */
.top-nav {
height: 120px;
background: #ffffff;
display: flex;
align-items: center;
padding: 0 28px;
border-bottom: 1px solid #e8e8ea;
}
.nav-left, .nav-right { display: flex; align-items: center; }
.nav-left { gap: 24px; }
.nav-right { margin-left: auto; gap: 36px; }
.icon-btn {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
border-radius: 14px;
}
.icon {
width: 48px; height: 48px;
}
/* Carousel */
.carousel {
width: 100%;
height: 520px;
background: #E0E0E0;
border-bottom: 1px solid #d6d6d6;
display: flex;
align-items: center;
justify-content: center;
color: #666;
font-size: 42px;
}
.dots {
display: flex;
gap: 14px;
justify-content: center;
margin: 18px 0 8px;
}
.dot {
width: 18px; height: 18px; border-radius: 50%; background: #cdd2db;
}
.dot.active { background: #2e3a56; }
.page {
padding: 0 32px 240px;
}
.row-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.tag-premium {
display: inline-flex;
background: #f2d048;
color: #1d2130;
padding: 10px 22px;
border-radius: 10px;
font-weight: 700;
font-size: 34px;
margin-top: 10px;
}
.title {
font-size: 54px;
font-weight: 800;
line-height: 1.2;
margin: 22px 0 16px;
color: #1f2a3b;
}
.rating {
display: flex;
align-items: center;
gap: 16px;
color: #2e3a56;
font-size: 36px;
margin-bottom: 16px;
}
.star {
width: 34px; height: 34px; color: #f0c419;
}
.wa-circle {
margin-left: auto;
width: 96px; height: 96px; border-radius: 50%;
border: 1px solid #d8dbe3;
display: flex; align-items: center; justify-content: center;
}
.card {
border: 1px solid #e5e7ed;
border-radius: 18px;
padding: 24px;
margin-top: 22px;
background: #fff;
}
.section-title {
font-size: 40px;
font-weight: 700;
color: #25314a;
margin-bottom: 16px;
}
.color-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}
.thumb {
height: 220px;
border: 2px solid #cfd4dd;
border-radius: 16px;
background: #E0E0E0;
display: flex; align-items: center; justify-content: center;
color: #6b6f76; font-size: 30px; text-align: center;
}
.thumb.selected {
border: 4px solid #d5b04c;
}
.sizes {
display: flex;
gap: 28px;
flex-wrap: wrap;
padding-top: 12px;
}
.size-pill {
width: 150px; height: 150px; border-radius: 50%;
border: 3px solid #bfc6d3; color: #1f2a3b;
display: flex; align-items: center; justify-content: center;
font-size: 46px; font-weight: 700; background: #fff;
}
.size-chart {
margin-left: auto;
color: #b28c1f;
font-weight: 800;
font-size: 40px;
}
.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
text-align: center;
padding: 16px 0;
}
.stat-item .num {
font-weight: 800; font-size: 50px; color: #0f1531;
}
.stat-item .label {
margin-top: 8px; font-size: 34px; color: #495269; display: flex; justify-content: center; align-items: center; gap: 12px;
}
.delivery-card .input-area {
border: 1px solid #e5e7ed;
border-radius: 16px;
padding: 26px;
margin-top: 10px;
font-size: 36px;
color: #8b90a1;
height: 110px;
display: flex; align-items: center;
}
/* Bottom bar */
.bottom-bar {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 220px;
background: #ffffff;
box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
display: flex;
align-items: center;
padding: 20px 28px 26px;
gap: 24px;
}
.fav-square {
width: 120px; height: 120px; border-radius: 26px; border: 1px solid #dfe3ea; display: flex; align-items: center; justify-content: center;
background: #f8f9fb;
}
.price-wrap {
flex: 1; display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap;
}
.price-now {
font-size: 60px; font-weight: 900; color: #0f1531;
}
.price-old {
font-size: 44px; color: #8b90a1; text-decoration: line-through;
}
.price-off {
font-size: 40px; color: #1a6ed2; font-weight: 700;
}
.free-delivery {
font-size: 42px; color: #0a8f42; font-weight: 800; margin-left: auto;
}
.btn {
height: 120px; min-width: 300px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; border: none;
}
.btn-dark { background: #0f1420; color: #fff; }
.btn-gold { background: #e9c047; color: #1c2430; }
/* Simple helpers */
.muted { color: #69738a; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
10:14
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<div class="status-dot"></div>
<svg class="icon" viewBox="0 0 24 24" fill="#fff"><rect x="3" y="7" width="16" height="10" rx="2"/><rect x="19" y="10" width="2" height="4"/></svg>
</div>
</div>
<!-- Top Navigation -->
<div class="top-nav">
<div class="nav-left">
<div class="icon-btn" title="Back">
<svg class="icon" viewBox="0 0 24 24" stroke="#1f2a3b" fill="none" stroke-width="2">
<path d="M15 18l-6-6 6-6"/>
</svg>
</div>
</div>
<div class="nav-right">
<div class="icon-btn" title="Search">
<svg class="icon" viewBox="0 0 24 24" stroke="#1f2a3b" fill="none" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M21 21l-4.3-4.3"></path>
</svg>
</div>
<div class="icon-btn" title="Wishlist">
<svg class="icon" viewBox="0 0 24 24" stroke="#1f2a3b" fill="none" stroke-width="2">
<path d="M12 21s-7-4.4-9-8.5C1 9 2.5 6 5.5 6A5 5 0 0 1 12 8a5 5 0 0 1 6.5-2c3 0 4.5 3 2.5 6.5C19 16.6 12 21 12 21z"/>
</svg>
</div>
<div class="icon-btn" title="Cart">
<svg class="icon" viewBox="0 0 24 24" stroke="#1f2a3b" fill="none" stroke-width="2">
<circle cx="9" cy="20" r="1.8"></circle>
<circle cx="17" cy="20" r="1.8"></circle>
<path d="M3 4h2l2.4 12.2a2 2 0 0 0 2 1.6h7.6a2 2 0 0 0 1.9-1.4L22 8H7.3"></path>
</svg>
</div>
</div>
</div>
<!-- Carousel -->
<div class="carousel">
[IMG: White sneaker close-up]
</div>
<div class="dots">
<div class="dot"></div>
<div class="dot active"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
<div class="page">
<div class="tag-premium">Premium</div>
<div class="row-between">
<div style="flex:1;">
<div class="title">Atom Men White Casual Sneaker</div>
<div class="rating">
<svg class="star" viewBox="0 0 24 24" fill="#f0c419"><path d="M12 2l3.1 6.5L22 9.2l-5 4.9L18.2 22 12 18.6 5.8 22 7 14.1 2 9.2l6.9-0.7z"/></svg>
<span>4.0</span>
<span class="muted">88 Reviews</span>
</div>
</div>
<div class="wa-circle">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#2bb741" stroke-width="2">
<path d="M4 19l1.5-4A8 8 0 1 1 20 12a8 8 0 0 1-11.5 6.9L4 19z"/>
<path d="M9.5 8.5c.2 1.6 1.2 3.2 2.8 4.3 1 .7 1.9 1 2.7.9l1-.9-1.1-1.8-1.3.4c-.8-.3-1.7-1.1-2.2-1.8l.2-1.3-2-1z"/>
</svg>
</div>
</div>
<div class="card">
<div class="section-title">Colors available</div>
<div class="color-grid">
<div class="thumb">[IMG: Grey & Green Sneaker]</div>
<div class="thumb">[IMG: Black Sneaker Set]</div>
<div class="thumb selected">[IMG: White & Blue Sneaker]</div>
<div class="thumb">[IMG: White & Green Sneaker]</div>
</div>
</div>
<div class="card">
<div class="row-between">
<div class="section-title" style="margin-bottom:0;">Available size</div>
<div class="size-chart">Size Chart</div>
</div>
<div class="sizes">
<div class="size-pill">6</div>
<div class="size-pill">7</div>
<div class="size-pill">8</div>
<div class="size-pill">9</div>
<div class="size-pill">10</div>
<div class="size-pill">11</div>
</div>
</div>
<div class="card">
<div class="stats">
<div class="stat-item">
<div class="num">0</div>
<div class="label">
<svg class="icon" viewBox="0 0 24 24" stroke="#5c6477" fill="none" stroke-width="2">
<path d="M12 21s-7-4.4-9-8.5C1 9 2.5 6 5.5 6A5 5 0 0 1 12 8a5 5 0 0 1 6.5-2c3 0 4.5 3 2.5 6.5C19 16.6 12 21 12 21z"/>
</svg>
Likes
</div>
</div>
<div class="stat-item">
<div class="num">0</div>
<div class="label">
<svg class="icon" viewBox="0 0 24 24" stroke="#5c6477" fill="none" stroke-width="2">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 3v9l6 3"></path>
</svg>
Coins Earned
</div>
</div>
<div class="stat-item">
<div class="num">0</div>
<div class="label">
<svg class="icon" viewBox="0 0 24 24" stroke="#5c6477" fill="none" stroke-width="2">
<path d="M4 12h8M12 12l-3-3M12 12l-3 3"></path>
<rect x="14" y="7" width="7" height="10" rx="2"></rect>
</svg>
Shares
</div>
</div>
</div>
</div>
<div class="card delivery-card">
<div class="section-title">Check Delivery</div>
<div class="input-area">Enter pincode</div>
</div>
</div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<div class="fav-square">
<svg class="icon" viewBox="0 0 24 24" stroke="#1f2a3b" fill="none" stroke-width="2">
<path d="M12 21s-7-4.4-9-8.5C1 9 2.5 6 5.5 6A5 5 0 0 1 12 8a5 5 0 0 1 6.5-2c3 0 4.5 3 2.5 6.5C19 16.6 12 21 12 21z"/>
</svg>
</div>
<div class="price-wrap">
<div class="price-now">₹ 1195</div>
<div class="price-old">₹ 3295</div>
<div class="price-off">64% Off</div>
<div class="free-delivery">Free Delivery</div>
</div>
<button class="btn btn-dark">ADD TO BAG</button>
<button class="btn btn-gold">BUY NOW</button>
</div>
</div>
</body>
</html>